/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_slab.c | 149 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/ |
D | u_dirty_surfaces.h | 88 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()
|
D | u_cache.c | 276 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/ |
D | u_trace.c | 293 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/ |
D | list.h | 87 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/ |
D | vk_log.c | 117 (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/ |
D | vn_renderer_internal.c | 76 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/ |
D | nouveau_mm.c | 194 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/ |
D | v3dv_bo.c | 55 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/ |
D | buffer9.h | 124 if ((buf->managed.dirty) && list_is_empty(&buf->managed.list)) in NineBindBufferToDevice() 142 if (list_is_empty(&(b)->managed.list)) \
|
D | basetexture9.h | 145 if ((tex->managed.dirty | tex->dirty_mip) && list_is_empty(&tex->list)) in NineBindTextureToDevice() 169 if (list_is_empty(&(t)->list)) \
|
D | nine_memory_helper.c | 642 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/ |
D | brw_nir_opt_peephole_ffma.c | 39 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/ |
D | nir_opt_ray_queries.c | 121 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()
|
D | nir_lower_regs_to_ssa.c | 286 assert(list_is_empty(®->uses)); in nir_lower_regs_to_ssa_impl() 287 assert(list_is_empty(®->if_uses)); in nir_lower_regs_to_ssa_impl() 288 assert(list_is_empty(®->defs)); in nir_lower_regs_to_ssa_impl()
|
D | nir_search_helpers.h | 338 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/ |
D | etnaviv_bo_cache.c | 78 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/ |
D | etnaviv_query_acc.c | 94 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/ |
D | optimize.c | 84 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/ |
D | v3d_bufmgr.c | 60 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/ |
D | ppir.h | 457 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()
|
D | liveness.c | 196 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/ |
D | bir.c | 158 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/ |
D | tu_autotune.c | 332 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/ |
D | freedreno_query_acc.c | 111 assert(list_is_empty(&aq->node)); in fd_acc_begin_query() 148 assert(list_is_empty(&aq->node)); in fd_acc_get_query_result()
|