Home
last modified time | relevance | path

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

12345

/openbsd/sys/dev/pci/drm/ttm/tests/
H A Dttm_pool_test.c252 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 Dttm_device_test.c93 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 Ddrm_flip_work.c129 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 Ddrm_vblank_work.c128 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 Ddrm_suballoc.c100 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 Ddrm_modeset_lock.c283 while (!list_empty(&ctx->locked)) { in drm_modeset_drop_locks()
321 WARN_ON(!list_empty(&lock->head)); in modeset_lock()
H A Ddrm_file.c300 WARN_ON(!list_empty(&file->event_list)); in drm_file_free()
646 if (!list_empty(&file_priv->event_list)) { in drm_read()
665 !list_empty(&file_priv->event_list)); in drm_read()
725 if (!list_empty(&file_priv->event_list)) in drm_poll()
H A Ddrm_buddy.c58 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 Dttm_execbuf_util.c47 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/i915/
H A Di915_scheduler.c232 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 Di915_gem_evict.c511 if (list_empty(&eviction_list) && list_empty(&locked_eviction_list)) in i915_gem_evict_vm()
/openbsd/sys/dev/pci/drm/i915/gt/
H A Dintel_breadcrumbs.c97 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()
263 if (!READ_ONCE(b->irq_armed) && !list_empty(&b->signalers)) in signal_irq_work()
329 GEM_BUG_ON(!list_empty(&b->signalers)); in intel_breadcrumbs_free()
365 if (list_empty(&ce->signals)) { in insert_breadcrumb()
466 if (list_empty(&ce->signals)) in intel_context_remove_breadcrumbs()
520 if (!list_empty(&b->signalers)) in intel_engine_print_breadcrumbs()
H A Dintel_gt_buffer_pool.c47 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/include/linux/
H A Dlist.h55 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/amd/display/amdgpu_dm/
H A Damdgpu_dm_irq.c462 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 Dmock_request.c51 was_queued = !list_empty(&request->mock.link); in mock_cancel_request()
/openbsd/sys/dev/pci/drm/i915/gvt/
H A Dsched_policy.c43 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 Dscheduler.c660 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 Dkfd_process_queue_manager.c324 if (list_empty(&pdd->qpd.queues_list) && in pqm_create_queue()
325 list_empty(&pdd->qpd.priv_queue_list)) in pqm_create_queue()
436 if (list_empty(&pdd->qpd.queues_list) && in pqm_create_queue()
437 list_empty(&pdd->qpd.priv_queue_list)) in pqm_create_queue()
501 if (list_empty(&pdd->qpd.queues_list) && in pqm_destroy_queue()
502 list_empty(&pdd->qpd.priv_queue_list)) in pqm_destroy_queue()
/openbsd/sys/dev/pci/drm/include/drm/
H A Ddrm_modeset_lock.h114 WARN_ON(!list_empty(&lock->head)); in drm_modeset_lock_fini()
/openbsd/sys/dev/pci/drm/scheduler/
H A Dsched_main.c150 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 Ddwc2_hcdqueue.c1265 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 Dlist.h64 list_empty(const struct list_head *head) { in list_empty() function
/openbsd/sys/dev/pci/drm/i915/gem/
H A Di915_gem_shrinker.c495 !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 Damdgpu_vm.c521 while (!list_empty(&vm->evicted)) { in amdgpu_vm_validate_pt_bos()
576 empty = list_empty(&vm->evicted); in amdgpu_vm_ready()
841 if (list_empty(&relocated)) in amdgpu_vm_update_pdes()
872 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()

12345