Home
last modified time | relevance | path

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

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-1906/
Dpoc.c51 int gpu_sharedmem_free(int fd, unsigned long gpu_addr) { in gpu_sharedmem_free() argument
54 addr.gpuaddr = gpu_addr; in gpu_sharedmem_free()
96 unsigned int flags, unsigned long *gpu_addr) { in gpu_map_user_mem() argument
109 if (gpu_addr) { in gpu_map_user_mem()
110 *gpu_addr = user_mem.gpuaddr; in gpu_map_user_mem()
116 unsigned long *gpu_addr) { in create_code_page() argument
139 *gpu_addr = info.gpuaddr; in create_code_page()
155 unsigned long gpu_addr = 0; in main() local
169 gpu_addr = gpu_mem_alloc(kgsl_fd, 0x600000, 0); in main()
172 return (gpu_addr == EXPLOIT_VULN_ADDR) ? EXIT_VULNERABLE : EXIT_SUCCESS; in main()