Lines Matching defs:cpu_ptr
105 unsigned char *cpu_ptr;
131 cpu_ptr = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, shared_fd, 0);
133 if (MAP_FAILED == cpu_ptr)
146 private_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_USES_ION, usage, size, cpu_ptr, private_handle_t::LOCK_STATE_MAPPED);
161 ret = munmap(cpu_ptr, size);
165 AERR("munmap failed for base:%p size: %lu", cpu_ptr, (unsigned long)size);
183 void *cpu_ptr;
212 cpu_ptr = ump_mapped_pointer_get(ump_mem_handle);
214 if (NULL != cpu_ptr)
220 private_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_USES_UMP, usage, size, cpu_ptr,