Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/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()
Ddisk_cache_os.c242 if (!list_is_empty(lru_file_list)) in choose_lru_file_matching()
291 if (list_is_empty(lru_file_list)) { in choose_lru_file_matching()
337 assert(!list_is_empty(lru_file_list)); in unlink_lru_file_from_directory()
476 assert(!list_is_empty(lru_file_list)); in disk_cache_evict_lru_item()
Dralloc.c818 if (list_is_empty(&ctx->slabs[bucket].free_slabs) && !create_slab(ctx, bucket)) in gc_alloc_size()
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_command_pool.c78 assert(list_is_empty(&pool->command_buffers)); in vk_command_pool_finish()
84 assert(list_is_empty(&pool->free_command_buffers)); in vk_command_pool_finish()
179 if (list_is_empty(&pool->free_command_buffers)) in vk_command_pool_find_free()
255 assert(list_is_empty(&pool->free_command_buffers)); in vk_command_pool_trim()
Dvk_log.c116 (likely(list_is_empty(&instance->debug_utils.callbacks)) && in __vk_log_impl()
117 likely(list_is_empty(&instance->debug_report.callbacks)))) in __vk_log_impl()
169 if (!list_is_empty(&instance->debug_utils.callbacks)) { in __vk_log_impl()
233 if (!list_is_empty(&instance->debug_report.callbacks)) { in __vk_log_impl()
Dvk_queue.h181 return list_is_empty(&queue->submit.submits); in vk_queue_is_empty()
Dvk_debug_report.c107 if (!instance || list_is_empty(&instance->debug_report.callbacks)) in debug_report()
Dvk_instance.c232 if (unlikely(!list_is_empty(&instance->debug_utils.callbacks))) { in vk_instance_finish()
240 if (unlikely(!list_is_empty(&instance->debug_utils.instance_callbacks))) { in vk_instance_finish()
Dvk_queue.c272 while (!list_is_empty(&queue->submit.submits)) { in vk_queue_drain()
406 while (!list_is_empty(&queue->submit.submits)) { in vk_queue_flush()
466 if (list_is_empty(&queue->submit.submits)) { in vk_queue_submit_thread_func()
550 assert(list_is_empty(&queue->submit.submits)); in vk_queue_stop_submit_thread()
1116 while (!list_is_empty(&queue->submit.submits)) { in vk_queue_finish()
Dvk_sync_timeline.c140 if (list_is_empty(&timeline->free_points)) { in vk_sync_timeline_alloc_point_locked()
380 assert(list_is_empty(&timeline->pending_points)); in vk_sync_timeline_signal_locked()
Dvk_debug_utils.c67 if (list_is_empty(&instance->debug_utils.instance_callbacks)) in vk_debug_message_instance()
Dvk_device.c192 assert(list_is_empty(&device->queues)); in vk_device_finish()
213 assert(list_is_empty(&device->queues)); in vk_device_enable_threaded_submit()
/hardware/google/gfxstream/guest/mesa/src/util/perf/
Du_trace.c301 while (!list_is_empty(chunks)) { in free_chunks()
316 if (!list_is_empty(&ut->trace_chunks)) { in get_chunk()
646 if (list_is_empty(chunks)) in u_trace_context_process()
653 while (!list_is_empty(chunks)) { in u_trace_context_process()
686 return !list_is_empty(&ut->trace_chunks); in u_trace_has_points()
692 if (list_is_empty(&ut->trace_chunks)) in u_trace_begin_iterator()
704 if (list_is_empty(&ut->trace_chunks)) in u_trace_end_iterator()
720 if (iter.ut && !iter.chunk && !list_is_empty(&iter.ut->trace_chunks)) { in sanitize_iterator()
859 if (free_data && !list_is_empty(&ut->trace_chunks)) { in u_trace_flush()
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/
Doverlay.cpp522 struct overlay_draw *draw = list_is_empty(&data->draws) ? in get_overlay_draw()
2459 if (list_is_empty(&cmd_buffer_data->link)) { in overlay_QueueSubmit()
2499 if (list_is_empty(&cmd_buffer_data->link)) { in overlay_QueueSubmit2KHR()