Searched refs:cap_data (Results 1 – 7 of 7) sorted by relevance
/external/squashfs-tools/squashfs-tools/ |
D | android.c | 106 struct vfs_cap_data cap_data; in set_caps() local 107 memset(&cap_data, 0, sizeof(cap_data)); in set_caps() 110 return cap_data; in set_caps() 112 cap_data.magic_etc = VFS_CAP_REVISION_2 | VFS_CAP_FLAGS_EFFECTIVE; in set_caps() 113 cap_data.data[0].permitted = (uint32_t) capabilities; in set_caps() 114 cap_data.data[0].inheritable = 0; in set_caps() 115 cap_data.data[1].permitted = (uint32_t) (capabilities >> 32); in set_caps() 116 cap_data.data[1].inheritable = 0; in set_caps() 118 return cap_data; in set_caps()
|
/external/tpm2-tss/test/integration/ |
D | esys-tr-fromTpmPublic-session.int.c | 39 TPMS_CAPABILITY_DATA *cap_data = NULL; in test_esys_tr_fromTpmPublic_session() local 54 &cap_data); in test_esys_tr_fromTpmPublic_session() 57 if (cap_data->data.handles.count != 1) { in test_esys_tr_fromTpmPublic_session() 59 cap_data->data.handles.count); in test_esys_tr_fromTpmPublic_session() 63 TPM2_HANDLE tpm2_handle = cap_data->data.handles.handle[0]; in test_esys_tr_fromTpmPublic_session() 85 free(cap_data); in test_esys_tr_fromTpmPublic_session() 86 cap_data = NULL; in test_esys_tr_fromTpmPublic_session() 93 &cap_data); in test_esys_tr_fromTpmPublic_session() 106 free(cap_data); in test_esys_tr_fromTpmPublic_session()
|
D | fapi-nv-authorizenv-cphash.int.c | 31 TPMS_CAPABILITY_DATA *cap_data; in check_tpm_cmd() local 41 TPM2_CAP_COMMANDS, command_code, 1, NULL, &cap_data); in check_tpm_cmd() 45 if ((cap_data->data.command.commandAttributes[0] & TPMA_CC_COMMANDINDEX_MASK) == in check_tpm_cmd() 47 free(cap_data); in check_tpm_cmd() 50 free(cap_data); in check_tpm_cmd()
|
D | fapi-key-create-policy-authorize-nv-sign.int.c | 40 TPMS_CAPABILITY_DATA *cap_data; in check_tpm_cmd() local 50 TPM2_CAP_COMMANDS, command_code, 1, NULL, &cap_data); in check_tpm_cmd() 54 if ((cap_data->data.command.commandAttributes[0] & TPMA_CC_COMMANDINDEX_MASK) == in check_tpm_cmd() 56 free(cap_data); in check_tpm_cmd() 59 free(cap_data); in check_tpm_cmd()
|
/external/e2fsprogs/contrib/android/ |
D | perms.c | 123 struct vfs_cap_data cap_data; in set_perms_and_caps() local 160 memset(&cap_data, 0, sizeof(cap_data)); in set_perms_and_caps() 161 cap_data.magic_etc = VFS_CAP_REVISION_2 | VFS_CAP_FLAGS_EFFECTIVE; in set_perms_and_caps() 162 cap_data.data[0].permitted = (uint32_t) (capabilities & 0xffffffff); in set_perms_and_caps() 163 cap_data.data[1].permitted = (uint32_t) (capabilities >> 32); in set_perms_and_caps() 165 &cap_data, sizeof(cap_data)); in set_perms_and_caps()
|
/external/igt-gpu-tools/lib/ |
D | igt_frame.c | 307 void *ref_data, *cap_data; in igt_check_checkerboard_frame_match() local 326 cap_data = cairo_image_surface_get_data(capture); in igt_check_checkerboard_frame_match() 327 igt_assert(cap_data); in igt_check_checkerboard_frame_match() 368 XR24_COLOR_VALUE(cap_data, cap_stride, x, y, c)); in igt_check_checkerboard_frame_match()
|
/external/crosvm/devices/src/pci/ |
D | pci_configuration.rs | 558 pub fn add_capability(&mut self, cap_data: &dyn PciCapability) -> Result<usize> { in add_capability() 559 let total_len = cap_data.bytes().len(); in add_capability() 561 if cap_data.bytes().is_empty() { in add_capability() 576 self.write_byte_internal(cap_offset, cap_data.id() as u8, false); in add_capability() 578 for (i, byte) in cap_data.bytes().iter().enumerate().skip(2) { in add_capability()
|