Home | History | Annotate | Download | only in gralloc

Lines Matching defs:hnd

41     private_handle_t* hnd = (private_handle_t*)handle;
42 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) {
43 size_t size = hnd->size;
45 PROT_READ|PROT_WRITE, MAP_SHARED, hnd->fd, 0);
50 hnd->base = uintptr_t(mappedAddress) + hnd->offset;
52 // hnd->fd, hnd->offset, hnd->size, mappedAddress);
54 *vaddr = (void*)hnd->base;
61 private_handle_t* hnd = (private_handle_t*)handle;
62 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) {
63 void* base = (void*)hnd->base;
64 size_t size = hnd->size;
70 hnd->base = 0;
117 private_handle_t* hnd = (private_handle_t*)handle;
118 ALOGD_IF(hnd->pid == getpid(),
132 private_handle_t* hnd = (private_handle_t*)handle;
133 if (hnd->base)
140 private_handle_t* hnd)
143 return gralloc_map(module, hnd, &vaddr);
147 private_handle_t* hnd)
149 if (hnd->base) {
151 gralloc_unmap(module, hnd);
173 private_handle_t* hnd = (private_handle_t*)handle;
174 *vaddr = (void*)hnd->base;