Home
last modified time | relevance | path

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

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0490/
Dpoc.cpp322 union ion_ioctl_arg iia; in alloc_handle() local
323 memset(&iia, 0, sizeof(iia)); in alloc_handle()
325 iia.allocation.len = MMAP_SIZE; in alloc_handle()
326 iia.allocation.align = kernel_obj_addr; in alloc_handle()
327 iia.allocation.heap_id_mask = 1 << type; in alloc_handle()
328 iia.allocation.flags = ION_FLAG_CACHED | ION_FLAG_CACHED_NEEDS_SYNC; in alloc_handle()
330 FAIL_CHECK_ALOGE(ioctl(g_fd, ION_IOC_ALLOC, (unsigned long)&iia) >= 0, ION_IOC_ALLOC); in alloc_handle()
332 return iia.allocation.handle; in alloc_handle()
345 union ion_ioctl_arg iia; in poc_write_kernel() local
346 memset(&iia, 0, sizeof(iia)); in poc_write_kernel()
[all …]