Home
last modified time | relevance | path

Searched refs:cap_data (Results 1 – 4 of 4) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dandroid.c105 struct vfs_cap_data cap_data; in set_caps() local
106 memset(&cap_data, 0, sizeof(cap_data)); in set_caps()
109 return cap_data; in set_caps()
111 cap_data.magic_etc = VFS_CAP_REVISION_2 | VFS_CAP_FLAGS_EFFECTIVE; in set_caps()
112 cap_data.data[0].permitted = (uint32_t) capabilities; in set_caps()
113 cap_data.data[0].inheritable = 0; in set_caps()
114 cap_data.data[1].permitted = (uint32_t) (capabilities >> 32); in set_caps()
115 cap_data.data[1].inheritable = 0; in set_caps()
117 return cap_data; in set_caps()
/external/e2fsprogs/contrib/android/
Dperms.c123 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/
Digt_frame.c307 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/
Dpci_configuration.rs426 pub fn add_capability(&mut self, cap_data: &dyn PciCapability) -> Result<usize> { in add_capability()
427 let total_len = cap_data.bytes().len(); in add_capability()
429 if cap_data.bytes().is_empty() { in add_capability()
444 self.write_byte_internal(cap_offset, cap_data.id() as u8, false); in add_capability()
446 for (i, byte) in cap_data.bytes().iter().enumerate().skip(2) { in add_capability()