Home
last modified time | relevance | path

Searched refs:list_empty (Results 1 – 25 of 58) sorted by relevance

123

/netbsd/src/external/cddl/osnet/dist/uts/common/os/
Dlist.c44 #define list_empty(a) ((a)->list_head.list_next == &(a)->list_head) macro
132 ASSERT(!list_empty(list)); in list_remove()
160 if (list_empty(list)) in list_head()
168 if (list_empty(list)) in list_tail()
207 if (list_empty(src)) in list_move_tail()
248 return (list_empty(list)); in list_is_empty()
/netbsd/src/sys/external/bsd/drm2/dist/drm/i915/
Di915_scheduler.c77 if (list_empty(&p->requests[i])) in assert_priolists()
378 GEM_BUG_ON(!list_empty(&node->link)); in __i915_schedule()
416 if (list_empty(&node->link)) in __i915_schedule()
477 GEM_BUG_ON(!list_empty(&node->signalers_list)); in i915_sched_node_reinit()
478 GEM_BUG_ON(!list_empty(&node->waiters_list)); in i915_sched_node_reinit()
479 GEM_BUG_ON(!list_empty(&node->link)); in i915_sched_node_reinit()
566 GEM_BUG_ON(!list_empty(&dep->dfs_link)); in i915_sched_node_fini()
577 GEM_BUG_ON(!list_empty(&dep->dfs_link)); in i915_sched_node_fini()
Di915_request.c163 if (list_empty(&rq->execute_cb)) in __notify_execute_cb()
281 GEM_BUG_ON(!list_empty(&rq->execute_cb)); in i915_request_retire()
570 if (list_empty(&tl->requests)) in request_alloc_slow()
715 GEM_BUG_ON(!list_empty(&rq->execute_cb)); in __i915_request_create()
753 GEM_BUG_ON(!list_empty(&rq->sched.signalers_list)); in __i915_request_create()
754 GEM_BUG_ON(!list_empty(&rq->sched.waiters_list)); in __i915_request_create()
1372 if (list_empty(&rq->sched.signalers_list)) in i915_request_add()
Di915_sw_fence.c149 BUG_ON(!list_empty(&fence->wait.head)); in i915_sw_fence_fini()
239 if (list_empty(&extra)) in __i915_sw_fence_wake_up_all()
313 I915_SW_FENCE_BUG_ON(!list_empty(&fence->wait.head)); in i915_sw_fence_reinit()
/netbsd/src/sys/external/bsd/common/include/linux/
Dlist.h92 list_empty(const struct list_head *head) in list_empty() function
101 if (list_empty(head)) in list_is_singular()
190 if (!list_empty(list)) in list_splice()
197 if (!list_empty(list)) { in list_splice_init()
206 if (!list_empty(list)) in list_splice_tail()
213 if (!list_empty(list)) { in list_splice_tail_init()
275 (list_empty((PTR)) ? NULL : list_entry(list_first((PTR)), TYPE, FIELD))
/netbsd/src/sys/external/bsd/drm2/dist/drm/
Ddrm_flip_work.c134 if (list_empty(&tasks)) in flip_worker()
173 WARN_ON(!list_empty(&work->queued) || !list_empty(&work->commited)); in drm_flip_work_cleanup()
Ddrm_file.c300 WARN_ON(!list_empty(&file->event_list)); in drm_file_free()
562 if (!list_empty(&file_priv->event_list)) { in drm_read()
581 … !list_empty(&file_priv->event_list)); in drm_read()
640 if (!list_empty(&file_priv->event_list)) in drm_poll()
Ddrm_modeset_lock.c234 while (!list_empty(&ctx->locked)) { in drm_modeset_drop_locks()
271 WARN_ON(!list_empty(&lock->head)); in modeset_lock()
Ddrm_framebuffer.c412 while (!list_empty(&arg->fbs)) { in drm_mode_rmfb_work_fn()
687 if (!list_empty(&arg.fbs)) { in drm_fb_release()
981 WARN_ON(!list_empty(&fb->filp_head)); in drm_framebuffer_remove()
/netbsd/src/sys/external/bsd/drm2/dist/drm/ttm/
Dttm_execbuf_util.c56 if (list_empty(list)) in ttm_eu_backoff_reservation()
92 if (list_empty(list)) in ttm_eu_reserve_buffers()
167 if (list_empty(list)) in ttm_eu_fence_buffer_objects()
Dttm_bo.c183 BUG_ON(!list_empty(&bo->lru)); in ttm_bo_release_list()
184 BUG_ON(!list_empty(&bo->ddestroy)); in ttm_bo_release_list()
202 if (!list_empty(&bo->lru)) in ttm_bo_add_mem_to_lru()
230 if (!list_empty(&bo->swap)) { in ttm_bo_del_from_lru()
235 if (!list_empty(&bo->lru)) { in ttm_bo_del_from_lru()
559 if (unlikely(list_empty(&bo->ddestroy))) in ttm_bo_cleanup_refs()
601 if (ret || unlikely(list_empty(&bo->ddestroy))) { in ttm_bo_cleanup_refs()
634 while (!list_empty(&bdev->ddestroy)) { in ttm_bo_delayed_delete()
659 empty = list_empty(&bdev->ddestroy); in ttm_bo_delayed_delete()
801 || !list_empty(&bo->ddestroy)) in ttm_bo_evict_swapout_allowable()
[all …]
/netbsd/src/sys/external/bsd/drm2/dist/drm/vmwgfx/
Dvmwgfx_fence.c265 if (!list_empty(&cb.base.node)) in vmw_fence_wait()
321 if (list_empty(&list)) in vmw_fence_work_func()
369 lists_empty = list_empty(&fman->fence_list) && in vmw_fence_manager_takedown()
370 list_empty(&fman->cleanup_list); in vmw_fence_manager_takedown()
455 if (!list_empty(&fence->seq_passed_actions)) { in vmw_fence_goal_new_locked()
540 if (!list_empty(&fman->cleanup_list)) in __vmw_fences_update()
769 while (!list_empty(&fman->fence_list)) { in vmw_fence_fifo_down()
788 BUG_ON(!list_empty(&fence->head)); in vmw_fence_fifo_down()
Dvmwgfx_marker.c87 if (list_empty(&queue->head)) { in vmw_marker_pull()
141 if (list_empty(&queue->head)) in vmw_wait_lag()
Dvmwgfx_ldu.c112 if (!list_empty(&lds->active)) { in vmw_ldu_commit_list()
150 if (list_empty(&ldu->active)) in vmw_ldu_del_active()
183 if (!list_empty(&ldu->active)) in vmw_ldu_add_active()
541 BUG_ON(!list_empty(&dev_priv->ldu_priv->active)); in vmw_kms_ldu_close_display()
Dvmwgfx_cmdbuf.c354 !list_empty(&ctx->submitted) && in vmw_cmdbuf_ctx_submit()
433 if (!list_empty(&ctx->submitted)) in vmw_cmdbuf_ctx_process()
655 if (!list_empty(&ctx->submitted) || in vmw_cmdbuf_man_idle()
656 !list_empty(&ctx->hw_submitted) || in vmw_cmdbuf_man_idle()
657 (check_preempted && !list_empty(&ctx->preempted))) in vmw_cmdbuf_man_idle()
661 idle = list_empty(&man->error); in vmw_cmdbuf_man_idle()
Dvmwgfx_validation.h130 return !list_empty(&ctx->bo_list); in vmw_validation_has_bos()
Dvmwgfx_resource.c495 if (!list_empty(&res->lru_head)) in vmw_resource_unreserve()
735 if (list_empty(lru_list) || !res->func->may_evict) { in vmw_resource_validate()
937 if (list_empty(lru_list)) in vmw_resource_evict_type()
/netbsd/src/sys/external/bsd/drm2/drm/
Ddrm_cdevsw.c344 if (list_empty(&file->event_list)) in drm_dequeue_event()
348 !list_empty(&file->event_list)); in drm_dequeue_event()
412 if (list_empty(&file->event_list)) in drm_poll()
476 if (list_empty(&file->event_list)) { in filt_drm_event()
/netbsd/src/sys/external/bsd/dwc2/dist/
Ddwc2_hcdqueue.c671 if (!list_empty(&qh->qh_list_entry)) in dwc2_hcd_qh_add()
729 if (list_empty(&qh->qh_list_entry)) in dwc2_hcd_qh_unlink()
808 if (!list_empty(&qh->qtd_list)) in dwc2_hcd_qh_deactivate()
826 if (list_empty(&qh->qtd_list)) { in dwc2_hcd_qh_deactivate()
Ddwc2_hcd.c245 if (!list_empty(&channel->hc_list_entry)) in dwc2_hcd_cleanup_channels()
258 if (!list_empty(&channel->hc_list_entry)) in dwc2_hcd_cleanup_channels()
532 } else if (list_empty(&qh->qtd_list)) { in dwc2_hcd_urb_dequeue()
788 if (list_empty(&qh->qtd_list)) { in dwc2_assign_and_init_hc()
793 if (list_empty(&hsotg->free_hc_list)) { in dwc2_assign_and_init_hc()
921 if (list_empty(&hsotg->free_hc_list)) in dwc2_hcd_select_transactions()
953 if (list_empty(&hsotg->free_hc_list)) in dwc2_hcd_select_transactions()
1183 if (!list_empty(&hsotg->periodic_sched_assigned) || in dwc2_process_periodic_channels()
1352 !list_empty(&hsotg->periodic_sched_assigned)) in dwc2_hcd_queue_transactions()
1358 if (!list_empty(&hsotg->non_periodic_sched_active)) { in dwc2_hcd_queue_transactions()
/netbsd/src/external/cddl/osnet/dist/tools/ctf/common/
Dlist.h50 int list_empty(list_t *);
Dlist.c154 list_empty(list_t *list) in list_empty() function
/netbsd/src/sys/external/bsd/drm2/dist/include/drm/
Ddrm_modeset_lock.h108 WARN_ON(!list_empty(&lock->head)); in drm_modeset_lock_fini()
/netbsd/src/sys/external/bsd/drm/dist/shared-core/
Dmach64_drv.h724 if (list_empty(&dev_priv->pending)) { in mach64_find_pending_buf_entry()
809 if (list_empty(&dev_priv->placeholders)) { \
851 if (list_empty(&dev_priv->placeholders)) { \
/netbsd/src/sys/external/bsd/drm/dist/bsd-core/
Ddrm_linux_list.h49 list_empty(struct list_head *head) { in list_empty() function

123