| /openbsd/src/sys/dev/pci/drm/ |
| D | drm_vblank_work.c | 78 drm_WARN_ONCE(vblank->dev, !list_empty(&vblank->pending_work), in drm_vblank_cancel_pending_works() 131 if (list_empty(&work->node)) { in drm_vblank_work_schedule() 194 if (!list_empty(&work->node)) { in drm_vblank_work_cancel_sync() 229 wait_event_lock_irq(vblank->work_wait_queue, list_empty(&work->node), in drm_vblank_work_flush() 251 list_empty(&vblank->pending_work), in drm_vblank_work_flush_all()
|
| D | drm_flip_work.c | 116 if (list_empty(&tasks)) in flip_worker() 155 WARN_ON(!list_empty(&work->queued) || !list_empty(&work->commited)); in drm_flip_work_cleanup()
|
| D | drm_suballoc.c | 100 if (!list_empty(&sa_manager->olist)) { in drm_suballoc_manager_fini() 103 if (!list_empty(&sa_manager->olist)) in drm_suballoc_manager_fini() 193 if (!list_empty(&sa_manager->flist[i])) in __drm_suballoc_event() 250 if (list_empty(&sa_manager->flist[i])) in drm_suballoc_next_hole()
|
| D | drm_file.c | 266 WARN_ON(!list_empty(&file->event_list)); in drm_file_free() 568 if (!list_empty(&file_priv->event_list)) { in drm_read() 587 !list_empty(&file_priv->event_list)); in drm_read() 646 if (!list_empty(&file_priv->event_list)) in drm_poll()
|
| D | drm_modeset_lock.c | 283 while (!list_empty(&ctx->locked)) { in drm_modeset_drop_locks() 321 WARN_ON(!list_empty(&lock->head)); in modeset_lock()
|
| D | drm_framebuffer.c | 385 while (!list_empty(&arg->fbs)) { in drm_mode_rmfb_work_fn() 464 drm_WARN_ON(dev, !list_empty(&fb->filp_head)); in drm_mode_rmfb() 816 if (!list_empty(&arg.fbs)) { in drm_fb_release() 831 drm_WARN_ON(dev, !list_empty(&fb->filp_head)); in drm_framebuffer_free() 1129 drm_WARN_ON(dev, !list_empty(&fb->filp_head)); in drm_framebuffer_remove()
|
| D | drm_buddy.c | 58 if (list_empty(head)) { in list_insert_sorted() 664 if (!list_empty(&mm->free_list[tmp])) { in alloc_from_freelist() 827 if (list_empty(list)) in __alloc_contig_try_harder() 1120 if (!list_empty(&temp)) in drm_buddy_alloc_blocks()
|
| /openbsd/src/sys/dev/pci/drm/ttm/ |
| D | ttm_execbuf_util.c | 47 if (list_empty(list)) in ttm_eu_backoff_reservation() 81 if (list_empty(list)) in ttm_eu_reserve_buffers() 147 if (list_empty(list)) in ttm_eu_fence_buffer_objects()
|
| /openbsd/src/sys/dev/pci/drm/include/linux/ |
| D | list.h | 55 list_empty(const struct list_head *head) { in list_empty() function 61 return !list_empty(head) && ((head)->next == (head)->prev); in list_is_singular() 246 (list_empty(ptr) ? NULL : list_first_entry(ptr, type, member)) 268 if (list_empty(list)) in list_splice() 277 if (list_empty(list)) in list_splice_init() 287 if (list_empty(list)) in list_splice_tail() 296 if (list_empty(list)) in list_splice_tail_init()
|
| /openbsd/src/sys/dev/pci/drm/i915/ |
| D | i915_scheduler.c | 232 GEM_BUG_ON(!list_empty(&node->link)); in __i915_schedule() 278 if (list_empty(&node->link)) in __i915_schedule() 319 GEM_BUG_ON(!list_empty(&node->signalers_list)); in i915_sched_node_reinit() 320 GEM_BUG_ON(!list_empty(&node->waiters_list)); in i915_sched_node_reinit() 321 GEM_BUG_ON(!list_empty(&node->link)); in i915_sched_node_reinit() 403 GEM_BUG_ON(!list_empty(&dep->dfs_link)); in i915_sched_node_fini() 414 GEM_BUG_ON(!list_empty(&dep->dfs_link)); in i915_sched_node_fini()
|
| D | i915_gem_evict.c | 511 if (list_empty(&eviction_list) && list_empty(&locked_eviction_list)) in i915_gem_evict_vm()
|
| /openbsd/src/sys/dev/pci/drm/i915/gt/ |
| D | intel_breadcrumbs.c | 102 if (!list_empty(&ce->signals)) in remove_signaling_context() 208 if (!signal && READ_ONCE(b->irq_armed) && list_empty(&b->signalers)) in signal_irq_work() 269 if (!READ_ONCE(b->irq_armed) && !list_empty(&b->signalers)) in signal_irq_work() 333 GEM_BUG_ON(!list_empty(&b->signalers)); in intel_breadcrumbs_free() 369 if (list_empty(&ce->signals)) { in insert_breadcrumb() 470 if (list_empty(&ce->signals)) in intel_context_remove_breadcrumbs() 524 if (!list_empty(&b->signalers)) in intel_engine_print_breadcrumbs()
|
| D | intel_gt_buffer_pool.c | 47 if (list_empty(list)) in pool_free_older_than() 76 active |= !list_empty(list); in pool_free_older_than() 247 GEM_BUG_ON(!list_empty(&pool->cache_list[n])); in intel_gt_fini_buffer_pool()
|
| /openbsd/src/sys/dev/pci/drm/amd/display/amdgpu_dm/ |
| D | amdgpu_dm_irq.c | 462 if (!list_empty(lh)) { in amdgpu_dm_irq_fini() 496 if (!list_empty(hnd_list_l) || !list_empty(hnd_list_h)) in amdgpu_dm_irq_suspend() 501 if (!list_empty(hnd_list_l)) { in amdgpu_dm_irq_suspend() 531 if (!list_empty(hnd_list_l) || !list_empty(hnd_list_h)) in amdgpu_dm_irq_resume_early() 557 if (!list_empty(hnd_list_l) || !list_empty(hnd_list_h)) in amdgpu_dm_irq_resume_late() 576 if (list_empty(handler_list)) in amdgpu_dm_irq_schedule_work()
|
| /openbsd/src/sys/dev/pci/drm/amd/amdgpu/ |
| D | amdgpu_aca.c | 83 if (list_empty(&banks->list)) in aca_banks_release() 337 if (list_empty(&mgr->list)) in aca_dispatch_bank() 363 if (list_empty(&mgr->list) || list_empty(&banks->list)) in aca_dispatch_banks() 405 if (list_empty(&aca->mgr.list)) in aca_banks_update() 424 if (list_empty(&banks.list)) { in aca_banks_update() 482 if (list_empty(&aerr->list)) in aca_log_aca_error() 524 if (!handle->mask || !list_empty(&handle->node)) in aca_handle_is_valid() 568 if (list_empty(&aerr->list)) in aca_error_fini() 677 if (!handle || list_empty(&handle->node)) in amdgpu_aca_remove_handle() 696 if (list_empty(&mgr->list)) in aca_manager_fini()
|
| D | amdgpu_vm.c | 541 while (!list_empty(&vm->evicted)) { in amdgpu_vm_validate() 561 while (ticket && !list_empty(&vm->evicted_user)) { in amdgpu_vm_validate() 618 empty = list_empty(&vm->evicted); in amdgpu_vm_ready() 890 if (list_empty(&relocated)) in amdgpu_vm_update_pdes() 921 while (!list_empty(&relocated)) { in amdgpu_vm_update_pdes() 1509 while (!list_empty(&vm->freed)) { in amdgpu_vm_clear_freed() 1561 while (!list_empty(&vm->moved)) { in amdgpu_vm_handle_moved() 1573 while (!list_empty(&vm->invalidated)) { in amdgpu_vm_handle_moved() 2024 if (!list_empty(&before->list)) { in amdgpu_vm_bo_clear_mappings() 2039 if (!list_empty(&after->list)) { in amdgpu_vm_bo_clear_mappings()
|
| /openbsd/src/sys/dev/pci/drm/i915/selftests/ |
| D | mock_request.c | 51 was_queued = !list_empty(&request->mock.link); in mock_cancel_request()
|
| /openbsd/src/sys/dev/pci/drm/i915/gvt/ |
| D | sched_policy.c | 43 if (!list_empty(workload_q_head(vgpu, engine))) in vgpu_has_pending_workload() 219 if (list_empty(&sched_data->lru_runq_head) || scheduler->next_vgpu) in tbs_sched_func() 347 if (!list_empty(&vgpu_data->lru_list)) in tbs_sched_start_schedule()
|
| D | scheduler.c | 660 if (list_empty(&workload->shadow_bb)) in release_shadow_batch_buffer() 703 if (!list_empty(&workload->lri_shadow_mm)) { in intel_vgpu_shadow_mm_pin() 729 if (!list_empty(&workload->lri_shadow_mm)) { in intel_vgpu_shadow_mm_unpin() 871 list_empty(workload_q_head(scheduler->current_vgpu, engine))) in pick_next_workload() 1021 if (!list_empty(&workload->lri_shadow_mm)) { in update_guest_context() 1525 if (!list_empty(&workload->lri_shadow_mm)) { in intel_vgpu_destroy_workload() 1534 GEM_BUG_ON(!list_empty(&workload->lri_shadow_mm)); in intel_vgpu_destroy_workload() 1753 if (list_empty(q)) { in intel_vgpu_create_workload()
|
| /openbsd/src/sys/dev/pci/drm/amd/amdkfd/ |
| D | kfd_process_queue_manager.c | 361 if (list_empty(&pdd->qpd.queues_list) && in pqm_create_queue() 362 list_empty(&pdd->qpd.priv_queue_list)) in pqm_create_queue() 474 if (list_empty(&pdd->qpd.queues_list) && in pqm_create_queue() 475 list_empty(&pdd->qpd.priv_queue_list)) in pqm_create_queue() 543 if (list_empty(&pdd->qpd.queues_list) && in pqm_destroy_queue() 544 list_empty(&pdd->qpd.priv_queue_list)) in pqm_destroy_queue()
|
| /openbsd/src/sys/dev/pci/drm/include/drm/ |
| D | drm_modeset_lock.h | 114 WARN_ON(!list_empty(&lock->head)); in drm_modeset_lock_fini()
|
| /openbsd/src/sys/dev/usb/dwc2/ |
| D | dwc2_hcdqueue.c | 1265 if (WARN_ON(!list_empty(&qh->qh_list_entry))) in dwc2_do_unreserve() 1738 if (!list_empty(&qh->qh_list_entry)) in dwc2_hcd_qh_add() 1790 if (list_empty(&qh->qh_list_entry)) in dwc2_hcd_qh_unlink() 1999 if (!list_empty(&qh->qtd_list)) in dwc2_hcd_qh_deactivate() 2025 if (list_empty(&qh->qtd_list)) { in dwc2_hcd_qh_deactivate()
|
| D | list.h | 64 list_empty(const struct list_head *head) { in list_empty() function
|
| /openbsd/src/sys/dev/pci/drm/scheduler/ |
| D | sched_main.c | 224 if (!list_empty(&entity->list)) in drm_sched_rq_add_entity() 246 if (list_empty(&entity->list)) in drm_sched_rq_remove_entity() 452 !list_empty(&sched->pending_list)) in drm_sched_start_timeout() 540 if (list_empty(&sched->pending_list)) in drm_sched_resume_timeout()
|
| /openbsd/src/sys/dev/pci/drm/i915/gem/ |
| D | i915_gem_shrinker.c | 506 !list_empty(&obj->mm.link)) { in i915_gem_object_make_unshrinkable() 529 GEM_BUG_ON(!list_empty(&obj->mm.link)); in ___i915_gem_object_make_shrinkable()
|