Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-cache-policy-smq.c __lookup() -> infer_cblock()

Type Parameter Key Value
PARAM_VALUE 0 mq 4096-ptr_max
PARAM_VALUE 0 mq->table.buckets 4096-ptr_max
PARAM_VALUE 0 mq->table.es->end 4097-u64max
PARAM_VALUE 1 e 4096-ptr_max
CAPPED_DATA 0 mq->cache_stats.hit_threshold 1
CAPPED_DATA 1 e 1
CAPPED_DATA 1 e->oblock 1
DATA_SOURCE 0 mq $0
DATA_SOURCE 1 e r h_lookup
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
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_demotion() -> infer_cblock()

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.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 1 e 1
DATA_SOURCE 0 mq $0
DATA_SOURCE 1 e r q_peek
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
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_promotion() -> infer_cblock()

Type Parameter Key Value
PARAM_VALUE 0 mq 4096-ptr_max
PARAM_VALUE 0 mq->cache_alloc.es->end 4097-u64max
PARAM_VALUE 0 mq->cache_alloc.free.tail 0-268435455
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->dirty 1
PARAM_VALUE 1 e->hash_next 268435455
PARAM_VALUE 1 e->level 0
PARAM_VALUE 1 e->next 268435455
PARAM_VALUE 1 e->pending_work 1
PARAM_VALUE 1 e->prev 268435455
PARAM_VALUE 1 e->sentinel 0
CAPPED_DATA 1 e 1
DATA_SOURCE 0 mq $0
DATA_SOURCE 1 e r alloc_entry
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
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() -> infer_cblock()

Type Parameter Key Value
PARAM_VALUE 0 mq 4096-ptr_max
PARAM_VALUE 0 mq->bg_work 4096-ptr_max
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->dirty.nr_levels 1
CAPPED_DATA 1 e 1
DATA_SOURCE 0 mq $0
DATA_SOURCE 1 e r q_peek
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &mq->lock
TYPE_LOCK (struct smq_policy)->lock

drivers/md/dm-cache-policy-smq.c requeue() -> infer_cblock()

Type Parameter Key Value
PARAM_VALUE 0 mq 4096-ptr_max
PARAM_VALUE 0 mq->table.buckets 4096-ptr_max
PARAM_VALUE 0 mq->table.es->end 4097-u64max
PARAM_VALUE 1 e 4096-ptr_max
PARAM_VALUE 1 e->pending_work 0
CAPPED_DATA 0 mq->cache_stats.hit_threshold 1
CAPPED_DATA 1 e 1
CAPPED_DATA 1 e->oblock 1
DATA_SOURCE 0 mq $0
DATA_SOURCE 1 e $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &mq->lock
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smq_policy)->lock