Documented in 2 files:

Defined in 2 files as a member:

Defined in 4 files as a function:

Referenced in 12 files:

Smatch caller information:

kernel/bpf/rqspinlock.c resilient_queued_spin_lock_slowpath() -> clear_pending()

Type Parameter Key Value
PARAM_VALUE 0 mq 4096-ptr_max
DATA_SOURCE 0 mq $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 flags
HALF_LOCKED2 irq_flags

kernel/bpf/rqspinlock.c resilient_queued_spin_lock_slowpath() -> clear_pending()

Type Parameter Key Value
PARAM_VALUE 0 mq 4096-ptr_max
DATA_SOURCE 0 mq $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 flags
HALF_LOCKED2 irq_flags

kernel/locking/qspinlock.c native_queued_spin_lock_slowpath() -> clear_pending()

Type Parameter Key Value
PARAM_VALUE 0 mq 4096-ptr_max
DATA_SOURCE 0 mq $0
NOCHECK_CALL

kernel/locking/qspinlock.c pv_wait_head_or_lock() -> clear_pending()

Type Parameter Key Value
PARAM_VALUE 0 mq 4096-ptr_max
PARAM_VALUE 0 mq->pending 1
DATA_SOURCE 0 mq $0
NOCHECK_CALL

drivers/md/dm-cache-policy-smq.c __complete_background_work() -> clear_pending()

Type Parameter Key Value
PARAM_VALUE 0 mq 4096-ptr_max
PARAM_VALUE 0 mq->cache_alloc.es 4096-ptr_max
PARAM_VALUE 0 mq->cache_alloc.es->end 4097-u64max
PARAM_VALUE 1 e 4096-ptr_max
CAPPED_DATA 1 e 1
DATA_SOURCE 0 mq $0
DATA_SOURCE 1 e r get_entry
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &mq->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smq_policy)->lock

drivers/md/dm-cache-policy-smq.c __complete_background_work() -> clear_pending()

Type Parameter Key Value
PARAM_VALUE 0 mq 4096-ptr_max
PARAM_VALUE 0 mq->cache_alloc.es 4096-ptr_max
PARAM_VALUE 0 mq->cache_alloc.es->end 4097-u64max
PARAM_VALUE 1 e 4096-ptr_max
CAPPED_DATA 1 e 1
DATA_SOURCE 0 mq $0
DATA_SOURCE 1 e r get_entry
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &mq->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smq_policy)->lock

drivers/md/dm-cache-policy-smq.c __complete_background_work() -> clear_pending()

Type Parameter Key Value
PARAM_VALUE 0 mq 4096-ptr_max
PARAM_VALUE 0 mq->cache_alloc.es 4096-ptr_max
PARAM_VALUE 0 mq->cache_alloc.es->end 4097-u64max
PARAM_VALUE 1 e 4096-ptr_max
CAPPED_DATA 1 e 1
DATA_SOURCE 0 mq $0
DATA_SOURCE 1 e r get_entry
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &mq->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smq_policy)->lock

drivers/md/dm-cache-policy-smq.c queue_demotion() -> clear_pending()

Type Parameter Key Value
PARAM_VALUE 0 mq 4096-ptr_max
PARAM_VALUE 0 mq->bg_work 4096-ptr_max
PARAM_VALUE 0 mq->cache_alloc.es 4096-ptr_max
PARAM_VALUE 0 mq->cache_alloc.es->begin 0-ptr_max
PARAM_VALUE 0 mq->cache_alloc.es->end 4097-u64max
PARAM_VALUE 0 mq->cache_alloc.free.head 268435455
PARAM_VALUE 0 mq->clean.es->end 4097-u64max
PARAM_VALUE 0 mq->hotspot.nr_levels 64
PARAM_VALUE 0 mq->hotspot_table.buckets 4096-ptr_max
PARAM_VALUE 0 mq->migrations_allowed 1
PARAM_VALUE 0 mq->table.buckets 4096-ptr_max
PARAM_VALUE 1 e 4096-ptr_max
PARAM_VALUE 1 e->allocated 1
PARAM_VALUE 1 e->pending_work 1
PARAM_VALUE 1 e->sentinel 0
CAPPED_DATA 0 mq->bg_work->max_work 1
CAPPED_DATA 0 mq->cache_alloc.es->begin 1
CAPPED_DATA 1 e 1
DATA_SOURCE 0 mq $0
DATA_SOURCE 1 e r q_peek
PARAM_COMPARE 0 mq->cache_alloc.es->begin < $0->cache_alloc.es->end
PARAM_COMPARE 1 e < $0->cache_alloc.es->end
PARAM_COMPARE 1 e < $0->cache_alloc.es->end
PARAM_COMPARE 1 e >= $0->cache_alloc.es->begin
PARAM_COMPARE 1 e >= $0->cache_alloc.es->begin
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &mq->lock
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smq_policy)->lock

drivers/md/dm-cache-policy-smq.c queue_writeback() -> clear_pending()

Type Parameter Key Value
PARAM_VALUE 0 mq 4096-ptr_max
PARAM_VALUE 0 mq->bg_work 4096-ptr_max
PARAM_VALUE 0 mq->cache_alloc.es 4096-ptr_max
PARAM_VALUE 0 mq->cache_alloc.es->begin 0-ptr_max
PARAM_VALUE 0 mq->cache_alloc.es->end 4097-u64max
PARAM_VALUE 0 mq->dirty.es->end 4097-u64max
PARAM_VALUE 1 e 4096-ptr_max
PARAM_VALUE 1 e->allocated 1
PARAM_VALUE 1 e->pending_work 1
PARAM_VALUE 1 e->sentinel 0
CAPPED_DATA 0 mq->bg_work->max_work 1
CAPPED_DATA 0 mq->cache_alloc.es->begin 1
CAPPED_DATA 0 mq->dirty.nr_levels 1
CAPPED_DATA 1 e 1
DATA_SOURCE 0 mq $0
DATA_SOURCE 1 e r q_peek
PARAM_COMPARE 0 mq->cache_alloc.es->begin < $0->cache_alloc.es->end
PARAM_COMPARE 1 e < $0->cache_alloc.es->end
PARAM_COMPARE 1 e < $0->cache_alloc.es->end
PARAM_COMPARE 1 e >= $0->cache_alloc.es->begin
PARAM_COMPARE 1 e >= $0->cache_alloc.es->begin
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &mq->lock
TYPE_LOCK (struct smq_policy)->lock