Home
last modified time | relevance | path

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

/cts/hostsidetests/security/securityPatch/CVE-2016-9120/
Dpoc.c98 struct ion_allocation_data* g_allocation = NULL; variable
117 g_allocation = (struct ion_allocation_data*)data; in prepare_data()
119 g_allocation->len = 0x1000; in prepare_data()
120 g_allocation->align = 8; in prepare_data()
121 g_allocation->heap_id_mask = 1 << 25; in prepare_data()
122 g_allocation->flags = ION_FLAG_CACHED; in prepare_data()
123 g_allocation->handle = -1; in prepare_data()
132 ioctl(g_fd, ION_IOC_ALLOC, g_allocation); in trigger_ion_alloc()
/cts/hostsidetests/security/securityPatch/CVE-2016-8429/
Dpoc.c91 struct nvmap_create_handle* g_allocation = NULL; variable
106 ioctl(g_fd, NVMAP_IOC_CREATE, g_allocation); in trigger_nvmap_create()
119 alloc.handle = g_allocation->handle; in trigger_nvmap_alloc()
139 g_allocation = (struct nvmap_create_handle*)data; in prepare_data()
140 g_allocation->size = 1024; in prepare_data()
141 g_allocation->handle = -1; in prepare_data()
/cts/hostsidetests/security/securityPatch/CVE-2016-8428/
Dpoc.c107 struct nvmap_create_handle* g_allocation = NULL; variable
126 g_allocation->handle = -1; in trigger_nvmap_create()
127 ioctl(g_fd, NVMAP_IOC_CREATE, g_allocation); in trigger_nvmap_create()
129 return g_allocation->handle; in trigger_nvmap_create()
157 g_allocation = (struct nvmap_create_handle*)data; in prepare_data()
158 g_allocation->size = 0x40; in prepare_data()
/cts/hostsidetests/security/securityPatch/CVE-2016-8424/
Dpoc.c64 struct nvmap_create_handle* g_allocation = NULL; variable
78 ioctl(g_fd, NVMAP_IOC_CREATE, g_allocation); in trigger_nvmap_create()
101 g_allocation = (struct nvmap_create_handle*)data; in prepare_data()
102 g_allocation->size = 1024; in prepare_data()