Home | History | Annotate | Download | only in gralloc

Lines Matching refs:cpu_ptr

106 		unsigned char *cpu_ptr;
152 cpu_ptr = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, shared_fd, 0);
154 if (MAP_FAILED == cpu_ptr)
162 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);
176 ret = munmap(cpu_ptr, size);
180 AERR("munmap failed for base:%p size: %lu", cpu_ptr, (unsigned long)size);
191 void *cpu_ptr;
220 cpu_ptr = ump_mapped_pointer_get(ump_mem_handle);
222 if (NULL != cpu_ptr)
228 private_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_USES_UMP, usage, size, cpu_ptr,