/system/extras/tests/crypto/ |
get_dm_versions.c | 11 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) 15 io->data_start = sizeof(struct dm_ioctl); 28 struct dm_ioctl *io; 39 io = (struct dm_ioctl *) buffer; 49 v = (struct dm_target_versions *) &buffer[sizeof(struct dm_ioctl)];
|
/system/vold/ |
Devmapper.cpp | 65 struct dm_ioctl *io = (struct dm_ioctl *) buffer; 89 struct dm_ioctl *io2 = (struct dm_ioctl *) buffer2; 117 void Devmapper::ioctlInit(struct dm_ioctl *io, size_t dataSize, 121 io->data_start = sizeof(struct dm_ioctl); 147 struct dm_ioctl *io = (struct dm_ioctl *) buffer; 181 struct dm_ioctl *io = (struct dm_ioctl *) buffer [all...] |
Devmapper.h | 35 static void ioctlInit(struct dm_ioctl *io, size_t data_size,
|
cryptfs.cpp | 219 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) 223 io->data_start = sizeof(struct dm_ioctl); 820 alignas(struct dm_ioctl) char buffer[DM_CRYPT_BUF_SIZE]; 821 struct dm_ioctl *io; 828 io = (struct dm_ioctl *) buffer; 831 tgt = (struct dm_target_spec *) &buffer[sizeof(struct dm_ioctl)]; 840 crypt_params = buffer + sizeof(struct dm_ioctl) + sizeof(struct dm_target_spec); 870 struct dm_ioctl *io; 873 io = (struct dm_ioctl *) buffer; 884 v = (struct dm_target_versions *) &buffer[sizeof(struct dm_ioctl)]; [all...] |
/external/strace/ |
dm.c | 45 # define DM_LIST_VERSIONS _IOWR(DM_IOCTL, 0xd, struct dm_ioctl) 48 # define DM_TARGET_MSG _IOWR(DM_IOCTL, 0xe, struct dm_ioctl) 51 # define DM_DEV_SET_GEOMETRY _IOWR(DM_IOCTL, 0xf, struct dm_ioctl) 56 dm_decode_device(const unsigned int code, const struct dm_ioctl *ioc) 84 const struct dm_ioctl *ioc) 129 dm_decode_flags(const struct dm_ioctl *ioc) 137 const struct dm_ioctl *const ioc 553 dm_ioctl(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg) function 581 dm_ioctl(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg) function [all...] |
ioctl.c | 285 return dm_ioctl(tcp, code, arg);
|
/external/strace/tests/ |
ioctl_dm.c | 66 offsetof(struct dm_ioctl, data); 69 struct dm_ioctl ioc; 84 struct dm_ioctl ioc; 108 struct dm_ioctl ioc; 121 init_s(struct dm_ioctl *s, size_t size, size_t offs) 165 _IOC(_IOC_READ, DM_IOCTL, 0, 0x1fff); 167 _IOC(_IOC_READ|_IOC_WRITE, DM_IOCTL, 0xed, 0); 186 struct dm_ioctl *unaligned_dm_arg = 187 tail_alloc(offsetof(struct dm_ioctl, data)); 188 struct dm_ioctl *dm_arg [all...] |
/external/strace/tests-m32/ |
ioctl_dm.c | 66 offsetof(struct dm_ioctl, data); 69 struct dm_ioctl ioc; 84 struct dm_ioctl ioc; 108 struct dm_ioctl ioc; 121 init_s(struct dm_ioctl *s, size_t size, size_t offs) 165 _IOC(_IOC_READ, DM_IOCTL, 0, 0x1fff); 167 _IOC(_IOC_READ|_IOC_WRITE, DM_IOCTL, 0xed, 0); 186 struct dm_ioctl *unaligned_dm_arg = 187 tail_alloc(offsetof(struct dm_ioctl, data)); 188 struct dm_ioctl *dm_arg [all...] |
/external/strace/tests-mx32/ |
ioctl_dm.c | 66 offsetof(struct dm_ioctl, data); 69 struct dm_ioctl ioc; 84 struct dm_ioctl ioc; 108 struct dm_ioctl ioc; 121 init_s(struct dm_ioctl *s, size_t size, size_t offs) 165 _IOC(_IOC_READ, DM_IOCTL, 0, 0x1fff); 167 _IOC(_IOC_READ|_IOC_WRITE, DM_IOCTL, 0xed, 0); 186 struct dm_ioctl *unaligned_dm_arg = 187 tail_alloc(offsetof(struct dm_ioctl, data)); 188 struct dm_ioctl *dm_arg [all...] |
/system/core/fs_mgr/ |
fs_mgr_avb.cpp | 283 static bool hashtree_load_verity_table(struct dm_ioctl* io, const std::string& dm_device_name, 289 // The buffer consists of [dm_ioctl][dm_target_spec][verity_params]. 293 struct dm_target_spec* dm_target = (struct dm_target_spec*)&buffer[sizeof(struct dm_ioctl)]; 301 char* verity_params = buffer + sizeof(struct dm_ioctl) + sizeof(struct dm_target_spec); 350 alignas(dm_ioctl) char buffer[DM_BUF_SIZE]; 351 struct dm_ioctl* io = (struct dm_ioctl*)buffer;
|
fs_mgr_verity.cpp | 253 static int load_verity_table(struct dm_ioctl *io, const std::string &name, 263 struct dm_target_spec *tgt = (struct dm_target_spec *) &buffer[sizeof(struct dm_ioctl)]; 273 verity_params = buffer + sizeof(struct dm_ioctl) + sizeof(struct dm_target_spec); 732 alignas(dm_ioctl) char buffer[DM_BUF_SIZE]; 733 struct dm_ioctl *io = (struct dm_ioctl *) buffer;
|
fs_mgr.cpp | [all...] |