Lines Matching refs:handle
27 ibuf_handle_t *handle = NULL; in getHandle() local
30 handle = &ibuf_rsrc.handles[index]; in getHandle()
31 return handle; in getHandle()
53 ibuf_handle_t *handle = NULL; in ia_css_isys_ibuf_rmgr_acquire() local
66 handle = getHandle(i); in ia_css_isys_ibuf_rmgr_acquire()
67 if (!handle->active) { in ia_css_isys_ibuf_rmgr_acquire()
68 if (handle->size >= aligned_size) { in ia_css_isys_ibuf_rmgr_acquire()
69 handle->active = true; in ia_css_isys_ibuf_rmgr_acquire()
84 handle = getHandle(ibuf_rsrc.num_allocated); in ia_css_isys_ibuf_rmgr_acquire()
85 handle->start_addr = ibuf_rsrc.free_start_addr; in ia_css_isys_ibuf_rmgr_acquire()
86 handle->size = aligned_size; in ia_css_isys_ibuf_rmgr_acquire()
87 handle->active = true; in ia_css_isys_ibuf_rmgr_acquire()
98 if (input_buffer_found && handle) { in ia_css_isys_ibuf_rmgr_acquire()
99 *start_addr = handle->start_addr; in ia_css_isys_ibuf_rmgr_acquire()
110 ibuf_handle_t *handle = NULL; in ia_css_isys_ibuf_rmgr_release() local
115 handle = getHandle(i); in ia_css_isys_ibuf_rmgr_release()
116 if (handle->active && handle->start_addr == *start_addr) { in ia_css_isys_ibuf_rmgr_release()
117 handle->active = false; in ia_css_isys_ibuf_rmgr_release()