Home
last modified time | relevance | path

Searched refs:llist_empty (Results 1 – 23 of 23) sorted by relevance

/linux/kernel/
H A Dirq_work.c35 if (!llist_empty(this_cpu_ptr(&lazy_list)) && tsk) in wake_irq_workd()
51 return !llist_empty(this_cpu_ptr(&lazy_list)); in irq_workd_should_run()
191 if (llist_empty(raised) || arch_irq_work_has_interrupt()) in irq_work_needs_cpu()
192 if (llist_empty(lazy)) in irq_work_needs_cpu()
247 if (llist_empty(list)) in irq_work_run_list()
273 if (!llist_empty(raised) && !arch_irq_work_has_interrupt()) in irq_work_tick()
H A Dsmp.c609 if (llist_empty(this_cpu_ptr(&call_single_queue))) in flush_smp_call_function_queue()
/linux/kernel/bpf/
H A Dmemalloc.c316 WARN_ON_ONCE(!llist_empty(&c->waiting_for_gp_ttrace)); in do_call_rcu_ttrace()
388 if (unlikely(!llist_empty(&c->free_llist_extra_rcu))) { in check_free_by_rcu()
396 if (llist_empty(&c->free_by_rcu)) in check_free_by_rcu()
412 WARN_ON_ONCE(!llist_empty(&c->waiting_for_gp)); in check_free_by_rcu()
649 WARN_ON_ONCE(!llist_empty(&c->free_by_rcu_ttrace)); in check_mem_cache()
650 WARN_ON_ONCE(!llist_empty(&c->waiting_for_gp_ttrace)); in check_mem_cache()
651 WARN_ON_ONCE(!llist_empty(&c->free_llist)); in check_mem_cache()
652 WARN_ON_ONCE(!llist_empty(&c->free_llist_extra)); in check_mem_cache()
653 WARN_ON_ONCE(!llist_empty(&c->free_by_rcu)); in check_mem_cache()
654 WARN_ON_ONCE(!llist_empty(&c->free_llist_extra_rcu)); in check_mem_cache()
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_engine_heartbeat.c116 GEM_BUG_ON(llist_empty(&engine->barrier_tasks)); in __live_idle_pulse()
122 GEM_BUG_ON(!llist_empty(&engine->barrier_tasks)); in __live_idle_pulse()
H A Dintel_engine_heartbeat.c387 if (llist_empty(&engine->barrier_tasks)) in intel_engine_flush_barriers()
H A Dintel_engine_cs.c1561 GEM_BUG_ON(!llist_empty(&engine->barrier_tasks)); in intel_engine_cleanup_common()
2396 str_yes_no(!llist_empty(&engine->barrier_tasks))); in intel_engine_dump()
/linux/include/linux/
H A Dlwq.h51 return smp_load_acquire(&q->ready) == NULL && llist_empty(&q->new); in lwq_empty()
H A Dllist.h216 static inline bool llist_empty(const struct llist_head *head) in llist_empty() function
/linux/io_uring/
H A Dio_uring.h352 return !llist_empty(&ctx->work_llist) || !llist_empty(&ctx->retry_llist); in io_local_work_pending()
H A Dsqpoll.c246 return retry_list || !llist_empty(&tctx->task_list); in io_sq_tw_pending()
H A Dio_uring.c2423 if (!llist_empty(&ctx->work_llist)) in io_cqring_min_timer_wakeup()
/linux/lib/
H A Dlwq.c27 if (!this && !llist_empty(&q->new)) { in __lwq_dequeue()
/linux/drivers/gpu/drm/i915/selftests/
H A Di915_active.c284 str_yes_no(!llist_empty(&ref->preallocated_barriers))); in i915_active_print()
/linux/fs/xfs/
H A Dxfs_icache.c478 if (!llist_empty(&gc->list)) { in xfs_inodegc_queue_all()
2284 if (!llist_empty(&gc->list)) in xfs_inodegc_shrinker_count()
2308 if (!llist_empty(&gc->list)) { in xfs_inodegc_shrinker_scan()
/linux/drivers/vhost/
H A Dvhost.c317 if (worker && !llist_empty(&worker->work_list)) in vhost_vq_has_work()
627 WARN_ON(!llist_empty(&worker->work_list)); in vhost_worker_destroy()
749 !llist_empty(&old_worker->work_list)); in __vhost_vq_attach_worker()
/linux/kernel/rcu/
H A Drcuscale.c493 if (llist_empty(&wflp->ws_lhp)) { in rcu_scale_alloc()
/linux/drivers/md/bcache/
H A Dwriteback.c484 BUG_ON(!llist_empty(&dc->writeback_ordering_wait.list)); in read_dirty()
/linux/drivers/gpu/drm/i915/
H A Di915_gem.c1307 GEM_BUG_ON(!llist_empty(&dev_priv->mm.free_list)); in i915_gem_cleanup_early()
/linux/drivers/infiniband/sw/siw/
H A Dsiw_qp_tx.c1252 !llist_empty(&tx_task->active) || in siw_run_sq()
/linux/drivers/edac/
H A Digen6_edac.c900 if (!llist_empty(&ecclog_llist)) in ecclog_irq_work_cb()
/linux/drivers/nvme/host/
H A Dtcp.c381 !llist_empty(&queue->req_list); in nvme_tcp_queue_has_pending()
2581 if (!llist_empty(&queue->req_list)) in nvme_tcp_commit_rqs()
/linux/fs/ocfs2/
H A Dsuper.c1873 WARN_ON(!llist_empty(&osb->dquot_drop_list)); in ocfs2_dismount_volume()
/linux/drivers/iommu/amd/
H A Diommu.c225 if (llist_empty(&pci_seg->dev_data_list)) in search_dev_data()