Home
last modified time | relevance | path

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

123456

/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_slab.c149 if (list_is_empty(&group->slabs) || in pb_slab_alloc_reclaimed()
150 list_is_empty(&list_entry(group->slabs.next, struct pb_slab, head)->free)) { in pb_slab_alloc_reclaimed()
158 while (!list_is_empty(&group->slabs)) { in pb_slab_alloc_reclaimed()
160 if (!list_is_empty(&slab->free)) in pb_slab_alloc_reclaimed()
166 if (list_is_empty(&group->slabs)) { in pb_slab_alloc_reclaimed()
288 while (!list_is_empty(&slabs->reclaim)) { in pb_slabs_deinit()
/third_party/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()
Du_cache.c276 assert(list_is_empty(&cache->lru.list)); in util_cache_clear()
364 assert (list_is_empty(&cache->lru.list)); in ensure_sanity()
371 assert (!list_is_empty(&cache->lru.list)); in ensure_sanity()
/third_party/mesa3d/src/util/perf/
Du_trace.c293 while (!list_is_empty(chunks)) { in free_chunks()
308 if (!list_is_empty(&ut->trace_chunks)) { in get_chunk()
570 if (list_is_empty(chunks)) in u_trace_context_process()
577 while (!list_is_empty(chunks)) { in u_trace_context_process()
613 return !list_is_empty(&ut->trace_chunks); in u_trace_has_points()
622 if (list_is_empty(&ut->trace_chunks)) in u_trace_begin_iterator()
637 if (list_is_empty(&ut->trace_chunks)) in u_trace_end_iterator()
652 if (iter.ut && !iter.chunk && !list_is_empty(&iter.ut->trace_chunks)) { in sanitize_iterator()
786 if (free_data && !list_is_empty(&ut->trace_chunks)) { in u_trace_flush()
/third_party/mesa3d/src/util/
Dlist.h87 static inline bool list_is_empty(const struct list_head *list);
91 if (list_is_empty(from)) { in list_replace()
116 static inline bool list_is_empty(const struct list_head *list) in list_is_empty() function
134 return list_is_linked(list) && !list_is_empty(list) && list->next->next == list; in list_is_singular()
148 if (list_is_empty(src)) in list_splice()
159 if (list_is_empty(src)) in list_splicetail()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_log.c117 (likely(list_is_empty(&instance->debug_utils.callbacks)) && in __vk_log_impl()
118 likely(list_is_empty(&instance->debug_report.callbacks)))) in __vk_log_impl()
170 if (!list_is_empty(&instance->debug_utils.callbacks)) { in __vk_log_impl()
234 if (!list_is_empty(&instance->debug_report.callbacks)) { in __vk_log_impl()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_renderer_internal.c76 assert(!list_is_empty(&bucket->shmems)); in vn_renderer_shmem_cache_remove_expired_locked()
138 assert(!list_is_empty(&bucket->shmems)); in vn_renderer_shmem_cache_get()
143 if (list_is_empty(&bucket->shmems)) in vn_renderer_shmem_cache_get()
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_mm.c194 if (!list_is_empty(&bucket->used)) { in nouveau_mm_allocate()
197 if (list_is_empty(&bucket->free)) { in nouveau_mm_allocate()
296 if (!list_is_empty(&cache->bucket[i].used) || in nouveau_mm_destroy()
297 !list_is_empty(&cache->bucket[i].full)) in nouveau_mm_destroy()
/third_party/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()
237 if (!list_is_empty(&device->bo_cache.time_list) && in v3dv_bo_alloc()
362 if (list_is_empty(old_head)) { in reallocate_size_list()
/third_party/mesa3d/src/gallium/frontends/nine/
Dbuffer9.h124 if ((buf->managed.dirty) && list_is_empty(&buf->managed.list)) in NineBindBufferToDevice()
142 if (list_is_empty(&(b)->managed.list)) \
Dbasetexture9.h145 if ((tex->managed.dirty | tex->dirty_mip) && list_is_empty(&tex->list)) in NineBindTextureToDevice()
169 if (list_is_empty(&(t)->list)) \
Dnine_memory_helper.c642 if (list_is_empty(&allocator->pending_releases)) { in nine_memfd_files_unmap()
952 if (list_is_empty(&allocation->list_release)) in nine_pointer_delayedstrongrelease()
1042 assert(list_is_empty(&allocator->pending_frees)); in nine_allocator_destroy()
1043 assert(list_is_empty(&allocator->pending_releases)); in nine_allocator_destroy()
1046 assert(list_is_empty(&allocator->memfd_pool[i].locked_mapped_allocated_regions)); in nine_allocator_destroy()
1047 assert(list_is_empty(&allocator->memfd_pool[i].weak_unlocked_mapped_allocated_regions)); in nine_allocator_destroy()
1048 assert(list_is_empty(&allocator->memfd_pool[i].unlocked_mapped_allocated_regions)); in nine_allocator_destroy()
/third_party/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()
256 assert(list_is_empty(&add->dest.dest.ssa.uses)); in brw_nir_opt_peephole_ffma_instr()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_ray_queries.c121 assert(list_is_empty(&intrin->dest.ssa.uses)); in nir_replace_unread_queries_instr()
122 assert(list_is_empty(&intrin->dest.ssa.if_uses)); in nir_replace_unread_queries_instr()
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_search_helpers.h338 bool zero_if_use = list_is_empty(&instr->dest.dest.ssa.if_uses); in is_used_once()
339 bool zero_use = list_is_empty(&instr->dest.dest.ssa.uses); in is_used_once()
360 return !list_is_empty(&instr->dest.dest.ssa.if_uses); in is_used_by_if()
366 return list_is_empty(&instr->dest.dest.ssa.if_uses); in is_not_used_by_if()
/third_party/mesa3d/src/etnaviv/drm/
Detnaviv_bo_cache.c78 while (!list_is_empty(&bucket->list)) { in etna_bo_cache_cleanup()
117 if (list_is_empty(&bucket->list)) in find_in_bucket()
/third_party/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()
/third_party/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()
/third_party/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()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dppir.h457 return list_is_empty(&node->succ_list); in ppir_node_is_root()
462 return list_is_empty(&node->pred_list); in ppir_node_is_leaf()
726 return list_is_empty(&instr->succ_list); in ppir_instr_is_root()
731 return list_is_empty(&instr->pred_list); in ppir_instr_is_leaf()
Dliveness.c196 if (list_is_empty(&block->instr_list)) in ppir_liveness_compute_live_sets()
222 while (list_is_empty(&succ->instr_list)) { in ppir_liveness_compute_live_sets()
/third_party/mesa3d/src/panfrost/bifrost/
Dbir.c158 if (!clause && !list_is_empty(&block->clauses)) in bi_next_clause()
169 if (!list_is_empty(&block->clauses)) in bi_next_clause()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_autotune.c332 if (!list_is_empty(&cmdbuf->renderpass_autotune_results)) { in tu_autotune_on_submit()
343 if (list_is_empty(&cmdbuf->renderpass_autotune_results)) in tu_autotune_on_submit()
410 while (!list_is_empty(&at->pending_results)) { in tu_autotune_fini()
447 if (!list_is_empty(&cmdbuf->renderpass_autotune_results)) in tu_autotune_submit_requires_fence()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_query_acc.c111 assert(list_is_empty(&aq->node)); in fd_acc_begin_query()
148 assert(list_is_empty(&aq->node)); in fd_acc_get_query_result()

123456