HomeSort by relevance Sort by last modified time
    Searched full:cpu_ptr (Results 1 - 3 of 3) sorted by null

  /device/linaro/hikey/gralloc/
alloc_device.cpp 105 unsigned char *cpu_ptr; local
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; local
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,
    [all...]
  /external/libdrm/amdgpu/
amdgpu_bo.c 435 if (bo->cpu_ptr) {
439 *cpu = bo->cpu_ptr;
467 bo->cpu_ptr = ptr;
495 r = drm_munmap(bo->cpu_ptr, bo->alloc_size) == 0 ? 0 : -errno;
496 bo->cpu_ptr = NULL;
amdgpu_internal.h 102 void *cpu_ptr; member in struct:amdgpu_bo

Completed in 78 milliseconds