Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-cache-policy-smq.c free_entry() -> l_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 es 4096-ptr_max
PARAM_VALUE 1 l 4096-ptr_max
PARAM_VALUE 2 e 4096-ptr_max
PARAM_VALUE 2 e->allocated 0
CAPPED_DATA 2 e 1
DATA_SOURCE 2 e $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mq->lock
LOCK2 flags
TYPE_LOCK (struct smq_policy)->lock

drivers/md/dm-cache-policy-smq.c init_allocator() -> l_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 es 4096-ptr_max
PARAM_VALUE 0 es->end 4097-ptr_max
PARAM_VALUE 1 l 4096-ptr_max
PARAM_VALUE 1 l->nr_elts 0-1
PARAM_VALUE 2 e 4096-18446744073709547519
DATA_SOURCE 0 es $1
NOCHECK_CALL
HALF_LOCKED2 &md->type_lock

drivers/md/dm-cache-policy-smq.c q_push() -> l_add_tail()

Type Parameter Key Value
PARAM_VALUE 1 l 4096-ptr_max
PARAM_VALUE 2 e 4096-ptr_max
PARAM_VALUE 2 e->pending_work 0
CAPPED_DATA 2 e 1
DATA_SOURCE 2 e $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 e->oblock 0-18446744073709551614
USER_DATA 2 e->oblock 0-18446744073709551614
HALF_LOCKED2 &mq->lock
HALF_LOCKED2 flags

drivers/md/dm-cache-policy-smq.c q_redistribute() -> l_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 es->end 4097-u64max
PARAM_VALUE 1 l 4096-ptr_max
PARAM_VALUE 1 l->nr_elts 0-4294967294
PARAM_VALUE 2 e 4096-ptr_max
PARAM_VALUE 2 e->sentinel 0
CAPPED_DATA 1 l->nr_elts 1
CAPPED_DATA 2 e 1
CAPPED_DATA 2 e->level 1
DATA_SOURCE 2 e r __redist_pop_from
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mq->lock
LOCK2 flags
HALF_LOCKED2 &md->suspend_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smq_policy)->lock

drivers/md/dm-cache-policy-smq.c q_redistribute() -> l_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 es->end 4097-u64max
PARAM_VALUE 2 e 4096-ptr_max
PARAM_VALUE 2 e->sentinel 0
CAPPED_DATA 2 e 1
CAPPED_DATA 2 e->level 1
DATA_SOURCE 2 e r l_pop_tail
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mq->lock
LOCK2 flags
HALF_LOCKED2 &md->suspend_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smq_policy)->lock