Searched refs:curr_buf (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_bufmgr_cache.c | 266 struct pb_cache_buffer *curr_buf; in pb_cache_manager_create_buffer() local 280 curr_buf = LIST_ENTRY(struct pb_cache_buffer, curr, head); in pb_cache_manager_create_buffer() 281 if(!buf && (ret = pb_cache_is_buffer_compat(curr_buf, size, desc) > 0)) in pb_cache_manager_create_buffer() 282 buf = curr_buf; in pb_cache_manager_create_buffer() 283 else if(os_time_timeout(curr_buf->start, curr_buf->end, now)) in pb_cache_manager_create_buffer() 284 _pb_cache_buffer_destroy(curr_buf); in pb_cache_manager_create_buffer() 297 curr_buf = LIST_ENTRY(struct pb_cache_buffer, curr, head); in pb_cache_manager_create_buffer() 298 ret = pb_cache_is_buffer_compat(curr_buf, size, desc); in pb_cache_manager_create_buffer() 300 buf = curr_buf; in pb_cache_manager_create_buffer()
|