/openbsd/sys/dev/pci/drm/ttm/tests/ |
H A D | ttm_pool_test.c | 252 KUNIT_ASSERT_FALSE(test, list_empty(&pt->pages)); in ttm_pool_alloc_order_caching_match() 260 KUNIT_ASSERT_TRUE(test, list_empty(&pt->pages)); in ttm_pool_alloc_order_caching_match() 286 KUNIT_ASSERT_FALSE(test, list_empty(&pt_pool->pages)); in ttm_pool_alloc_caching_mismatch() 287 KUNIT_ASSERT_TRUE(test, list_empty(&pt_tt->pages)); in ttm_pool_alloc_caching_mismatch() 296 KUNIT_ASSERT_FALSE(test, list_empty(&pt_tt->pages)); in ttm_pool_alloc_caching_mismatch() 321 KUNIT_ASSERT_TRUE(test, list_empty(&pt_tt->pages)); in ttm_pool_alloc_order_mismatch() 330 KUNIT_ASSERT_FALSE(test, list_empty(&pt_tt->pages)); in ttm_pool_alloc_order_mismatch() 356 KUNIT_ASSERT_TRUE(test, list_empty(&pt->pages)); in ttm_pool_free_dma_alloc() 361 KUNIT_ASSERT_FALSE(test, list_empty(&pt->pages)); in ttm_pool_free_dma_alloc() 408 KUNIT_ASSERT_FALSE(test, list_empty(&pt->pages)); in ttm_pool_fini_basic() [all …]
|
H A D | ttm_device_test.c | 93 KUNIT_ASSERT_TRUE(test, list_empty(&man->lru[0])); in ttm_device_fini_basic() 186 list_empty(&pt.pages)); in ttm_device_init_pools()
|
/openbsd/sys/dev/pci/drm/ |
H A D | drm_flip_work.c | 129 if (list_empty(&tasks)) in flip_worker() 168 WARN_ON(!list_empty(&work->queued) || !list_empty(&work->commited)); in drm_flip_work_cleanup()
|
H A D | drm_vblank_work.c | 128 if (list_empty(&work->node)) { in drm_vblank_work_schedule() 191 if (!list_empty(&work->node)) { in drm_vblank_work_cancel_sync() 226 wait_event_lock_irq(vblank->work_wait_queue, list_empty(&work->node), in drm_vblank_work_flush()
|
H A 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()
|
H A 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()
|
H A D | drm_file.c | 300 WARN_ON(!list_empty(&file->event_list)); in drm_file_free() 644 if (!list_empty(&file_priv->event_list)) { in drm_read() 663 !list_empty(&file_priv->event_list)); in drm_read() 723 if (!list_empty(&file_priv->event_list)) in drm_poll()
|
H A D | drm_buddy.c | 58 if (list_empty(head)) { in list_insert_sorted() 434 if (!list_empty(&mm->free_list[i])) { in get_maxblock() 469 if (!list_empty(&mm->free_list[tmp])) { in alloc_from_freelist()
|
/openbsd/sys/dev/pci/drm/ttm/ |
H A 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/sys/dev/pci/drm/include/linux/ |
H A 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/sys/dev/pci/drm/i915/gt/ |
H A D | intel_breadcrumbs.c | 97 if (!list_empty(&ce->signals)) in remove_signaling_context() 203 if (!signal && READ_ONCE(b->irq_armed) && list_empty(&b->signalers)) in signal_irq_work() 264 if (!READ_ONCE(b->irq_armed) && !list_empty(&b->signalers)) in signal_irq_work() 328 GEM_BUG_ON(!list_empty(&b->signalers)); in intel_breadcrumbs_free() 364 if (list_empty(&ce->signals)) { in insert_breadcrumb() 465 if (list_empty(&ce->signals)) in intel_context_remove_breadcrumbs() 519 if (!list_empty(&b->signalers)) in intel_engine_print_breadcrumbs()
|
H A 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/sys/dev/pci/drm/i915/ |
H A 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()
|
H A D | i915_gem_evict.c | 511 if (list_empty(&eviction_list) && list_empty(&locked_eviction_list)) in i915_gem_evict_vm()
|
/openbsd/sys/dev/pci/drm/amd/display/amdgpu_dm/ |
H A 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/sys/dev/pci/drm/i915/selftests/ |
H A D | mock_request.c | 51 was_queued = !list_empty(&request->mock.link); in mock_cancel_request()
|
/openbsd/sys/dev/pci/drm/i915/gvt/ |
H A 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()
|
H A 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/sys/dev/pci/drm/amd/amdkfd/ |
H A D | kfd_process_queue_manager.c | 329 if (list_empty(&pdd->qpd.queues_list) && in pqm_create_queue() 330 list_empty(&pdd->qpd.priv_queue_list)) in pqm_create_queue() 441 if (list_empty(&pdd->qpd.queues_list) && in pqm_create_queue() 442 list_empty(&pdd->qpd.priv_queue_list)) in pqm_create_queue() 506 if (list_empty(&pdd->qpd.queues_list) && in pqm_destroy_queue() 507 list_empty(&pdd->qpd.priv_queue_list)) in pqm_destroy_queue()
|
/openbsd/sys/dev/pci/drm/include/drm/ |
H A D | drm_modeset_lock.h | 114 WARN_ON(!list_empty(&lock->head)); in drm_modeset_lock_fini()
|
/openbsd/sys/dev/pci/drm/scheduler/ |
H A D | sched_main.c | 150 if (!list_empty(&entity->list)) in drm_sched_rq_add_entity() 172 if (list_empty(&entity->list)) in drm_sched_rq_remove_entity() 305 !list_empty(&sched->pending_list)) in drm_sched_start_timeout() 370 if (list_empty(&sched->pending_list)) in drm_sched_resume_timeout()
|
/openbsd/sys/dev/usb/dwc2/ |
H A 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()
|
H A D | list.h | 64 list_empty(const struct list_head *head) { in list_empty() function
|
/openbsd/sys/dev/pci/drm/i915/gem/ |
H A D | i915_gem_shrinker.c | 495 !list_empty(&obj->mm.link)) { in i915_gem_object_make_unshrinkable() 518 GEM_BUG_ON(!list_empty(&obj->mm.link)); in ___i915_gem_object_make_shrinkable()
|
/openbsd/sys/dev/pci/drm/amd/amdgpu/ |
H A D | amdgpu_vm.c | 522 while (!list_empty(&vm->evicted)) { in amdgpu_vm_validate_pt_bos() 577 empty = list_empty(&vm->evicted); in amdgpu_vm_ready() 842 if (list_empty(&relocated)) in amdgpu_vm_update_pdes() 873 while (!list_empty(&relocated)) { in amdgpu_vm_update_pdes() 1398 while (!list_empty(&vm->freed)) { in amdgpu_vm_clear_freed() 1451 while (!list_empty(&vm->moved)) { in amdgpu_vm_handle_moved() 1463 while (!list_empty(&vm->invalidated)) { in amdgpu_vm_handle_moved() 1853 if (!list_empty(&before->list)) { in amdgpu_vm_bo_clear_mappings() 1868 if (!list_empty(&after->list)) { in amdgpu_vm_bo_clear_mappings()
|