Searched refs:g_allocation (Results 1 – 4 of 4) sorted by relevance
98 struct ion_allocation_data* g_allocation = NULL; variable117 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()
91 struct nvmap_create_handle* g_allocation = NULL; variable106 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()
107 struct nvmap_create_handle* g_allocation = NULL; variable126 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()
64 struct nvmap_create_handle* g_allocation = NULL; variable78 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()