Home | History | Annotate | Download | only in gralloc

Lines Matching defs:hnd

50     private_handle_t* hnd = (private_handle_t*)handle;
51 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) {
52 size_t size = hnd->size;
54 PROT_READ|PROT_WRITE, MAP_SHARED, hnd->fd, 0);
59 hnd->base = intptr_t(mappedAddress) + hnd->offset;
61 // hnd->fd, hnd->offset, hnd->size, mappedAddress);
63 *vaddr = (void*)hnd->base;
70 private_handle_t* hnd = (private_handle_t*)handle;
71 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) {
72 void* base = (void*)hnd->base;
73 size_t size = hnd->size;
79 hnd->base = 0;
130 private_handle_t* hnd = (private_handle_t*)handle;
131 ALOGD_IF(hnd->pid == getpid(),
145 private_handle_t* hnd = (private_handle_t*)handle;
146 if (hnd->base)
153 private_handle_t* hnd)
156 return gralloc_map(module, hnd, &vaddr);
160 private_handle_t* hnd)
162 if (hnd->base) {
164 gralloc_unmap(module, hnd);
186 private_handle_t* hnd = (private_handle_t*)handle;
187 *vaddr = (void*)hnd->base;