Lines Matching refs:flags
50 static IMemAlloc* getAllocator(int flags) in getAllocator() argument
54 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator()
61 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_metadata()
64 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map_metadata()
89 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map()
94 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) && in gralloc_map()
95 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) { in gralloc_map()
132 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap()
229 if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION and in gralloc_map_and_invalidate()
230 hnd->flags & private_handle_t::PRIV_FLAGS_CACHED) { in gralloc_map_and_invalidate()
235 (hnd->flags & private_handle_t::PRIV_FLAGS_NON_CPU_WRITER)) in gralloc_map_and_invalidate()
237 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_and_invalidate()
244 hnd->flags |= private_handle_t::PRIV_FLAGS_NEEDS_FLUSH; in gralloc_map_and_invalidate()
288 IMemAlloc* memalloc = getAllocator(hnd->flags); in gralloc_unlock()
289 if (hnd->flags & private_handle_t::PRIV_FLAGS_NEEDS_FLUSH) { in gralloc_unlock()
293 hnd->flags &= ~private_handle_t::PRIV_FLAGS_NEEDS_FLUSH; in gralloc_unlock()
326 hnd->flags = private_handle_t::PRIV_FLAGS_USES_ION; in gralloc_perform()