Searched defs:io (Results 1 - 8 of 8) sorted by relevance

/system/core/debuggerd/arm64/
H A Dmachine.cpp35 struct iovec io; local
36 io.iov_base = &regs;
37 io.iov_len = sizeof(regs);
39 if (ptrace(PTRACE_GETREGSET, backtrace->Tid(), reinterpret_cast<void*>(NT_PRSTATUS), &io) == -1) {
57 struct iovec io; local
58 io.iov_base = &r;
59 io.iov_len = sizeof(r);
61 if (ptrace(PTRACE_GETREGSET, tid, (void*) NT_PRSTATUS, (void*) &io) == -1) {
82 io.iov_base = &f;
83 io
[all...]
/system/extras/tests/crypto/
H A Dget_dm_versions.c11 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) argument
13 memset(io, 0, dataSize);
14 io->data_size = dataSize;
15 io->data_start = sizeof(struct dm_ioctl);
16 io->version[0] = 4;
17 io->version[1] = 0;
18 io->version[2] = 0;
19 io->flags = flags;
21 strncpy(io->name, name, sizeof(io
28 struct dm_ioctl *io; local
[all...]
/system/tpm/attestation/server/
H A Ddatabase_impl.h68 void set_io(DatabaseIO* io) { argument
69 io_ = io;
/system/vold/
H A DDevmapper.cpp65 struct dm_ioctl *io = (struct dm_ioctl *) buffer; local
66 ioctlInit(io, (1024 * 64), NULL, 0);
68 if (ioctl(fd, DM_LIST_DEVICES, io)) {
76 struct dm_name_list *n = (struct dm_name_list *) (((char *) buffer) + io->data_start);
117 void Devmapper::ioctlInit(struct dm_ioctl *io, size_t dataSize, argument
119 memset(io, 0, dataSize);
120 io->data_size = dataSize;
121 io->data_start = sizeof(struct dm_ioctl);
122 io->version[0] = 4;
123 io
147 struct dm_ioctl *io = (struct dm_ioctl *) buffer; local
181 struct dm_ioctl *io = (struct dm_ioctl *) buffer; local
278 struct dm_ioctl *io = (struct dm_ioctl *) buffer; local
[all...]
H A Dcryptfs.c465 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) argument
467 memset(io, 0, dataSize);
468 io->data_size = dataSize;
469 io->data_start = sizeof(struct dm_ioctl);
470 io->version[0] = 4;
471 io->version[1] = 0;
472 io->version[2] = 0;
473 io->flags = flags;
475 strlcpy(io->name, name, sizeof(io
1067 struct dm_ioctl *io; local
1121 struct dm_ioctl *io; local
1158 struct dm_ioctl *io; local
1230 struct dm_ioctl *io; local
[all...]
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Ddd.c284 getfdtype(IO *io) argument
289 if (io->ops->op_fstat(io->fd, &sb)) {
290 err(EXIT_FAILURE, "%s", io->name);
294 io->flags |= io->ops->op_ioctl(io->fd, MTIOCGET, &mt)
296 else if (io->ops->op_lseek(io->fd, (off_t)0, SEEK_CUR) == -1
298 io
308 redup_clean_fd(IO *io) argument
586 bwrite(IO *io, const void *buf, size_t len) argument
[all...]
/system/extras/libfec/include/fec/
H A Dio.h121 class io { class in namespace:fec
123 io() : handle_(nullptr, fec_close) {} function in class:fec::io
125 io(const std::string& fn, int mode = O_RDONLY, int flags = 0, function in class:fec::io
/system/core/fs_mgr/
H A Dfs_mgr_verity.cpp41 #include "fec/io.h"
192 static void verity_ioctl_init(struct dm_ioctl *io, const char *name, unsigned flags) argument
194 memset(io, 0, DM_BUF_SIZE);
195 io->data_size = DM_BUF_SIZE;
196 io->data_start = sizeof(struct dm_ioctl);
197 io->version[0] = 4;
198 io->version[1] = 0;
199 io->version[2] = 0;
200 io->flags = flags | DM_READONLY_FLAG;
202 strlcpy(io
206 create_verity_device(struct dm_ioctl *io, char *name, int fd) argument
216 get_verity_device_name(struct dm_ioctl *io, char *name, int fd, char **dev_name) argument
299 load_verity_table(struct dm_ioctl *io, char *name, uint64_t device_size, int fd, const struct verity_table_params *params, format_verity_table_func format) argument
342 resume_verity_table(struct dm_ioctl *io, char *name, int fd) argument
804 struct dm_ioctl *io = (struct dm_ioctl *) buffer; local
913 struct dm_ioctl *io = (struct dm_ioctl *) buffer; local
[all...]

Completed in 347 milliseconds