Home
last modified time | relevance | path

Searched refs:list_is_empty (Results 1 – 25 of 102) sorted by relevance

12345

/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_slab.c77 while (!list_is_empty(&slabs->reclaim)) { in pb_slabs_reclaim_locked()
117 if (list_is_empty(&group->slabs) || in pb_slab_alloc()
118 list_is_empty(&LIST_ENTRY(struct pb_slab, group->slabs.next, head)->free)) in pb_slab_alloc()
122 while (!list_is_empty(&group->slabs)) { in pb_slab_alloc()
124 if (!list_is_empty(&slab->free)) in pb_slab_alloc()
130 if (list_is_empty(&group->slabs)) { in pb_slab_alloc()
244 while (!list_is_empty(&slabs->reclaim)) { in pb_slabs_deinit()
/external/mesa3d/src/gallium/auxiliary/util/
Du_dirty_surfaces.h88 if(!list_is_empty(&dss->dirty_list)) in util_dirty_surfaces_use_for_sampling_with()
102 return !list_is_empty(&ds->dirty_list); in util_dirty_surface_is_dirty()
108 if(list_is_empty(&ds->dirty_list)) in util_dirty_surface_set_dirty()
115 if(!list_is_empty(&ds->dirty_list)) in util_dirty_surface_set_clean()
/external/mesa3d/src/compiler/nir/
Dnir_lower_to_source_mods.c130 if (list_is_empty(&parent->dest.dest.ssa.uses) && in nir_lower_to_source_mods_block()
131 list_is_empty(&parent->dest.dest.ssa.if_uses)) in nir_lower_to_source_mods_block()
157 if (!list_is_empty(&alu->dest.dest.ssa.if_uses)) in nir_lower_to_source_mods_block()
Dnir_search_helpers.h271 bool zero_if_use = list_is_empty(&instr->dest.dest.ssa.if_uses); in is_used_once()
272 bool zero_use = list_is_empty(&instr->dest.dest.ssa.uses); in is_used_once()
293 return !list_is_empty(&instr->dest.dest.ssa.if_uses); in is_used_by_if()
299 return list_is_empty(&instr->dest.dest.ssa.if_uses); in is_not_used_by_if()
Dnir_lower_regs_to_ssa.c286 assert(list_is_empty(&reg->uses)); in nir_lower_regs_to_ssa_impl()
287 assert(list_is_empty(&reg->if_uses)); in nir_lower_regs_to_ssa_impl()
288 assert(list_is_empty(&reg->defs)); in nir_lower_regs_to_ssa_impl()
Dnir_opt_vectorize.c272 assert(list_is_empty(&alu1->dest.dest.ssa.uses)); in instr_try_combine()
273 assert(list_is_empty(&alu1->dest.dest.ssa.if_uses)); in instr_try_combine()
309 assert(list_is_empty(&alu2->dest.dest.ssa.uses)); in instr_try_combine()
310 assert(list_is_empty(&alu2->dest.dest.ssa.if_uses)); in instr_try_combine()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_mm.c184 if (!list_is_empty(&bucket->used)) { in nouveau_mm_allocate()
187 if (list_is_empty(&bucket->free)) { in nouveau_mm_allocate()
287 if (!list_is_empty(&cache->bucket[i].used) || in nouveau_mm_destroy()
288 !list_is_empty(&cache->bucket[i].full)) in nouveau_mm_destroy()
/external/mesa3d/src/util/
Dlist.h80 static inline bool list_is_empty(const struct list_head *list);
84 if (list_is_empty(from)) { in list_replace()
109 static inline bool list_is_empty(const struct list_head *list) in list_is_empty() function
133 if (list_is_empty(src)) in list_splice()
144 if (list_is_empty(src)) in list_splicetail()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_log.c82 if (!list_is_empty(&batch->log_chunks)) { in get_chunk()
174 while (!list_is_empty(&ctx->log_chunks)) { in fd_log_process()
251 if (list_is_empty(&ctx->log_chunks)) { in fd_log_eof()
Dfreedreno_query_acc.c109 assert(list_is_empty(&aq->node)); in fd_acc_begin_query()
142 assert(list_is_empty(&aq->node)); in fd_acc_get_query_result()
Dfreedreno_query_hw.c150 assert(list_is_empty(&hq->list)); in fd_hw_begin_query()
185 if (list_is_empty(&hq->periods)) in fd_hw_get_query_result()
188 assert(list_is_empty(&hq->list)); in fd_hw_get_query_result()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_bo.c55 if (!list_is_empty(&cache->time_list)) { in bo_dump_stats()
77 if (list_is_empty(&cache->size_list[i])) in bo_dump_stats()
106 if (!list_is_empty(&cache->size_list[page_index])) { in bo_from_cache()
238 if (!list_is_empty(&device->bo_cache.time_list) && in v3dv_bo_alloc()
360 if (list_is_empty(old_head)) { in reallocate_size_list()
/external/mesa3d/src/gallium/frontends/nine/
Dbuffer9.h125 if ((buf->managed.dirty) && list_is_empty(&buf->managed.list)) in NineBindBufferToDevice()
143 if (list_is_empty(&(b)->managed.list)) \
Dbasetexture9.h142 if ((tex->managed.dirty | tex->dirty_mip) && list_is_empty(&tex->list)) in NineBindTextureToDevice()
166 if (list_is_empty(&(t)->list)) \
/external/mesa3d/src/intel/compiler/
Dbrw_nir_opt_peephole_ffma.c39 if (!list_is_empty(&def->if_uses)) in are_all_uses_fadd()
156 list_is_empty(&load_const->def.if_uses)) { in any_alu_src_is_a_constant()
259 assert(list_is_empty(&add->dest.dest.ssa.uses)); in brw_nir_opt_peephole_ffma_block()
/external/mesa3d/src/etnaviv/drm/
Detnaviv_bo_cache.c80 while (!list_is_empty(&bucket->list)) { in etna_bo_cache_cleanup()
127 if (list_is_empty(&bucket->list)) in find_in_bucket()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_query_acc.c94 assert(list_is_empty(&aq->node)); in etna_acc_begin_query()
119 assert(list_is_empty(&aq->node)); in etna_acc_get_query_result()
/external/mesa3d/src/freedreno/drm/
Dfreedreno_bo_cache.c91 while (!list_is_empty(&bucket->list)) { in fd_bo_cache_cleanup()
144 if (!list_is_empty(&bucket->list)) { in find_in_bucket()
/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Doptimize.c84 if (list_is_empty(&prev_block->node_list)) in optimize_branches()
169 list_is_empty(&node->succ_list)) { in dead_code_eliminate()
Dgpir.h457 return list_is_empty(&node->succ_list); in gpir_node_is_root()
462 return list_is_empty(&node->pred_list); in gpir_node_is_leaf()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_bufmgr.c60 if (!list_is_empty(&cache->time_list)) { in v3d_bo_dump_stats()
98 if (!list_is_empty(&cache->size_list[page_index])) { in v3d_bo_from_cache()
165 if (!list_is_empty(&screen->bo_cache.time_list) && in v3d_bo_alloc()
295 if (list_is_empty(old_head)) in v3d_bo_last_unreference_locked_timed()
/external/mesa3d/src/gallium/drivers/lima/ir/pp/
Dppir.h421 return list_is_empty(&node->succ_list); in ppir_node_is_root()
426 return list_is_empty(&node->pred_list); in ppir_node_is_leaf()
688 return list_is_empty(&instr->succ_list); in ppir_instr_is_root()
693 return list_is_empty(&instr->pred_list); in ppir_instr_is_leaf()
/external/mesa3d/src/panfrost/midgard/
Dnir_fuse_io_16.c78 if (!list_is_empty(&intr->dest.ssa.if_uses)) in nir_fuse_io_16()
/external/mesa3d/src/panfrost/util/
Dnir_mod_helpers.c93 if (!list_is_empty(&dest->ssa.if_uses)) in pan_has_dest_mod()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_query.c82 assert(!list_is_empty(&sctx->shader_query_buffers)); in emit_shader_query()
122 if (!list_is_empty(&sctx->shader_query_buffers)) { in gfx10_alloc_query_buffer()
499 while (!list_is_empty(&sctx->shader_query_buffers)) { in gfx10_destroy_query()

12345