Documented in 1 files:

Defined in 1 files as a function:

Referenced in 36 files:

Smatch caller information:

kernel/bpf/stream.c bpf_stream_backlog_fill() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
LOCK2 &stream->lock
TYPE_LOCK (struct bpf_stream)->lock

drivers/iommu/amd/iommu.c search_dev_data() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/md/bcache/writeback.c read_dirty() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

drivers/vhost/vhost.c __vhost_vq_attach_worker() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
HALF_LOCKED2 &vs->dev.mutex
TYPE_LOCK (struct vhost_dev)->mutex

drivers/vhost/vhost.c vhost_vq_has_work() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &vq->mutex
LOCK2 &vq->mutex
LOCK2 rcu_read
TYPE_LOCK (struct vhost_virtqueue)->mutex

drivers/vhost/vhost.c vhost_worker_destroy() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vs->dev.mutex

fs/ocfs2/super.c ocfs2_dismount_volume() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/sw/siw/siw_qp_tx.c siw_run_sq() -> llist_empty()

Type Parameter Key Value

drivers/infiniband/sw/siw/siw_qp_tx.c siw_run_sq() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head->first 0
TASK_NOT_RUNNING

drivers/infiniband/sw/siw/siw_qp_tx.c siw_run_sq() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head->first 0
TASK_NOT_RUNNING

net/sunrpc/svc_xprt.c lwq_empty() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c intel_engine_flush_barriers() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

kernel/smp.c cpus_peek_for_pending_ipi() -> llist_empty()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &genpd->mlock
HALF_LOCKED2 global &gpd_list_lock
TYPE_LOCK (struct generic_pm_domain)->mlock

kernel/smp.c flush_smp_call_function_queue() -> llist_empty()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 rf.flags

net/rds/ib_rdma.c rds_ib_flush_mr_pool() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/f2fs/segment.c issue_flush_thread() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

fs/f2fs/segment.c issue_flush_thread() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

fs/f2fs/segment.c issue_flush_thread() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->first 0
TASK_NOT_RUNNING

fs/f2fs/segment.c issue_flush_thread() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->first 0
TASK_NOT_RUNNING

fs/f2fs/debug.c update_general_status() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &s->lock
LOCK2 global &f2fs_stat_lock
TYPE_LOCK (struct seq_file)->lock

drivers/edac/igen6_edac.c ecclog_irq_work_cb() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 2156457521256726528

mm/hugetlb.c wait_for_freed_hugetlb_folios() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 1730262537020600320
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &pcp_batch_high_lock

drivers/gpu/drm/drm_pagemap.c drm_pagemap_exit() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 8063042724138868736

fs/f2fs/checkpoint.c flush_remained_ckpt_reqs() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/f2fs/checkpoint.c issue_checkpoint_thread() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

fs/f2fs/checkpoint.c issue_checkpoint_thread() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

fs/f2fs/checkpoint.c issue_checkpoint_thread() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->first 0
TASK_NOT_RUNNING

fs/f2fs/checkpoint.c issue_checkpoint_thread() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->first 0
TASK_NOT_RUNNING

mm/page_alloc.c free_one_page() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
BUF_SIZE 0 head 8
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &zone->lock
LOCK2 flags
TYPE_LOCK (struct zone)->lock

drivers/gpu/drm/i915/i915_active.c i915_active_acquire_preallocate_barrier() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ce->pin_mutex
HALF_LOCKED2 ce->ring->vma->obj->base.resv
HALF_LOCKED2 ce->timeline->hwsp_ggtt->obj->base.resv

drivers/gpu/drm/i915/i915_active.c i915_active_acquire_preallocate_barrier() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->first 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ce->pin_mutex
HALF_LOCKED2 ce->ring->vma->obj->base.resv
HALF_LOCKED2 ce->timeline->hwsp_ggtt->obj->base.resv

drivers/gpu/drm/i915/i915_active.c i915_active_print() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

kernel/bpf/memalloc.c check_free_by_rcu() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

kernel/bpf/memalloc.c check_free_by_rcu() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

kernel/bpf/memalloc.c check_free_by_rcu() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

kernel/bpf/memalloc.c check_mem_cache() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

kernel/bpf/memalloc.c check_mem_cache() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

kernel/bpf/memalloc.c check_mem_cache() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

kernel/bpf/memalloc.c check_mem_cache() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

kernel/bpf/memalloc.c check_mem_cache() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

kernel/bpf/memalloc.c check_mem_cache() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

kernel/bpf/memalloc.c check_mem_cache() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

kernel/bpf/memalloc.c do_call_rcu_ttrace() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gt/intel_engine_cs.c intel_engine_dump() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &m->lock
HALF_LOCKED2 obj->base.resv

kernel/irq_work.c irq_work_needs_cpu() -> llist_empty()

Type Parameter Key Value
PREEMPT_ADD
LOCK2 irq

kernel/irq_work.c irq_work_needs_cpu() -> llist_empty()

Type Parameter Key Value
PREEMPT_ADD
LOCK2 irq

kernel/irq_work.c irq_work_run_list() -> llist_empty()

Type Parameter Key Value
DATA_SOURCE 0 head $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

kernel/irq_work.c irq_work_tick() -> llist_empty()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

kernel/irq_work.c irq_workd_should_run() -> llist_empty()

Type Parameter Key Value

kernel/irq_work.c wake_irq_workd() -> llist_empty()

Type Parameter Key Value

kernel/rcu/rcuscale.c rcu_scale_alloc() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

arch/x86/kernel/cpu/mce/genpool.c mce_gen_pool_empty() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 328813675157860352
RX_PATH
TASK_NOT_RUNNING

drivers/nvme/host/tcp.c nvme_tcp_commit_rqs() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read

drivers/nvme/host/tcp.c nvme_tcp_queue_has_pending() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &queue->send_mutex

drivers/gpu/drm/i915/i915_request.c __notify_execute_cb() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

net/core/dev.c __netif_schedule() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/core/dev.c skb_defer_free_flush() -> llist_empty()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

lib/lwq.c __lwq_dequeue() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &q->lock
HALF_LOCKED2 global &nfs_callback_mutex
TYPE_LOCK (struct lwq)->lock

lib/lwq.c lwq_empty() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/drm_gpuvm.c drm_gpuvm_fini() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cli->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tlb_inval->seqno_lock

drivers/gpu/drm/i915/gt/intel_breadcrumbs.c signal_irq_work() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max

fs/xfs/xfs_icache.c xfs_inodegc_queue_all() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_icache.c xfs_inodegc_shrinker_count() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &m->lock

fs/xfs/xfs_icache.c xfs_inodegc_shrinker_scan() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &bch_register_lock

drivers/dma/cv1800b-dmamux.c cv1800_dmamux_probe() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
MEM_ZERO 0 head
RX_PATH
TASK_NOT_RUNNING

kernel/trace/trace_events_trigger.c trigger_data_free_init() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 2218636999684710400
LOCK2 _T->lock

kernel/trace/trace_events_trigger.c trigger_kthread_fn() -> llist_empty()

Type Parameter Key Value
PARAM_VALUE 0 head 2218636999684710400