Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ocfs2/dlm/dlmmaster.c dlm_migrate_lockres() -> dlm_add_migration_mle()

Type Parameter Key Value
PARAM_VALUE 0 dlm 4096-ptr_max
PARAM_VALUE 0 dlm->dlm_state 2
PARAM_VALUE 0 dlm->dlm_worker->flush_color s32min-s32max
PARAM_VALUE 0 dlm->dlm_worker->work_color s32min-s32max
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->num_joins 0
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
PARAM_VALUE 2 mle 1-u64max
PARAM_VALUE 3 oldmle 3653855447510630400
PARAM_VALUE 3 *oldmle 0
PARAM_VALUE 6 new_master 0-254
BUF_SIZE 0 dlm 8,1560
BUF_SIZE 0 dlm 8,1560
BUF_SIZE 4 name s32min-(-2),1-s32max
BUF_SIZE 4 name s32min-(-2),1-s32max
CAPPED_DATA 0 dlm 1
CAPPED_DATA 0 dlm->node_num 1
CAPPED_DATA 1 res->owner 1
CAPPED_DATA 7 master 1
DATA_SOURCE 0 dlm $0
DATA_SOURCE 1 res $1
DATA_SOURCE 2 mle r kmem_cache_alloc_noprof
DATA_SOURCE 6 new_master $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 4 name unit_byte
UNITS 5 namelen unit_byte
LOCK2 0 &dlm->master_lock
LOCK2 0 &dlm->spinlock
TYPE_LOCK (struct dlm_ctxt)->master_lock
TYPE_LOCK (struct dlm_ctxt)->spinlock

fs/ocfs2/dlm/dlmmaster.c dlm_migrate_request_handler() -> dlm_add_migration_mle()

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->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 res 0,4096-ptr_max
PARAM_VALUE 1 res->lockname.name 4096-ptr_max
PARAM_VALUE 1 res->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 2 mle 1-u64max
PARAM_VALUE 3 oldmle 1119041791296106496
PARAM_VALUE 3 *oldmle 0
PARAM_VALUE 5 namelen 0-32
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
BUF_SIZE 4 name 64
BUF_SIZE 4 name 64
CAPPED_DATA 0 dlm 1
CAPPED_DATA 5 namelen 1
DATA_SOURCE 0 dlm $2
DATA_SOURCE 1 res r __dlm_lookup_lockres
DATA_SOURCE 2 mle r kmem_cache_alloc_noprof
PREEMPT_ADD <- disables preempt
RX_PATH
UNITS 5 namelen unit_byte
LOCK2 0 &dlm->master_lock
LOCK2 0 &dlm->spinlock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dlm_ctxt)->master_lock
TYPE_LOCK (struct dlm_ctxt)->spinlock