Defined in 1 files as a struct:

Defined in 1 files as a member:

Defined in 2 files as a function:

Referenced in 15 files:

Smatch caller information:

fs/dlm/lowcomms.c clean_one_writequeue() -> free_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
CAPPED_DATA 0 &e->list 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &con->writequeue_lock
LOCK2 bh
LOCK2 global &connections_srcu
HALF_LOCKED2 &subsys->su_mutex
HALF_LOCKED2 global &close_lock
HALF_LOCKED2 global &ls_lock
HALF_LOCKED2 global &nodes_srcu
TYPE_LOCK (struct connection)->writequeue_lock

fs/dlm/lowcomms.c close_connection() -> free_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->dirty 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &con->sock_lock
LOCK2 &con->writequeue_lock
LOCK2 bh
HALF_LOCKED2 &newcon->sock_lock
HALF_LOCKED2 &subsys->su_mutex
HALF_LOCKED2 global &close_lock
HALF_LOCKED2 global &connections_srcu
HALF_LOCKED2 global &ls_lock
HALF_LOCKED2 global &nodes_srcu
TYPE_LOCK (struct connection)->sock_lock
TYPE_LOCK (struct connection)->writequeue_lock

fs/dlm/lowcomms.c writequeue_entry_complete() -> free_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->dirty 1
PARAM_VALUE 0 e->len 0
PARAM_VALUE 0 e->users 0
DATA_SOURCE 0 e $0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 &con->sock_lock
LOCK2 &con->writequeue_lock
LOCK2 bh
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct connection)->sock_lock
TYPE_LOCK (struct connection)->writequeue_lock

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

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

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->es 4096-ptr_max
PARAM_VALUE 0 e->free.tail 0-268435455
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 1 e r alloc_entry
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mq->lock
LOCK2 flags
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smq_policy)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 0 e->es 4096-ptr_max
PARAM_VALUE 1 e 4096-ptr_max
CAPPED_DATA 1 e 1
DATA_SOURCE 1 e r get_entry
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &mq->lock
LOCK2 flags
HALF_LOCKED2 &md->io_barrier
TYPE_LOCK (struct smq_policy)->lock