Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ocfs2/dlm/dlmlock.c dlmlock() -> dlm_lockres_drop_inflight_ref()

Type Parameter Key Value
PARAM_VALUE 0 dlm 4096-ptr_max
PARAM_VALUE 0 dlm->lockres_hash 4096-ptr_max
PARAM_VALUE 0 dlm->master_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dlm->mle_hb_events.prev 4096-ptr_max
PARAM_VALUE 0 dlm->mle_hb_events.prev->next 4096-ptr_max
PARAM_VALUE 0 dlm->mle_hb_events.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dlm->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dlm->track_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dlm->tracking_list.prev 4096-ptr_max
PARAM_VALUE 0 dlm->tracking_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dlm->tracking_list.prev->next->next 4096-ptr_max
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 1 res->hash_node->pprev 4096-ptr_max
PARAM_VALUE 1 res->hash_node.pprev 1-u64max
PARAM_VALUE 1 res->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 res->wq.lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 *res->lvb 0-255
BUF_SIZE 0 dlm 8,128,1560
BUF_SIZE 0 dlm 8,128,1560
CAPPED_DATA 0 dlm 1
CAPPED_DATA 1 res->owner 1
DATA_SOURCE 0 dlm $0
DATA_SOURCE 1 res r dlm_get_lock_resource
STR_LEN 0 dlm (-1),9
STR_LEN 0 dlm (-1),9
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 1 &res->spinlock
TYPE_LOCK (struct dlm_lock_resource)->spinlock

fs/ocfs2/dlm/dlmrecovery.c dlm_mig_lockres_worker() -> dlm_lockres_drop_inflight_ref()

Type Parameter Key Value
PARAM_VALUE 0 dlm 4096-ptr_max
PARAM_VALUE 0 dlm->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 1 res->spinlock.rlock.dep_map->name 0-255
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 1 &res->spinlock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dlm_lock_resource)->spinlock

fs/ocfs2/dlm/dlmrecovery.c dlm_process_recovery_data() -> dlm_lockres_drop_inflight_ref()

Type Parameter Key Value
PARAM_VALUE 0 dlm 4096-ptr_max
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 1 res->spinlock.rlock.dep_map->name 0-255
DATA_SOURCE 0 dlm $0
DATA_SOURCE 1 res $1 [m]
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 1 &res->spinlock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dlm_lock_resource)->spinlock