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_add_migration_mle() -> dlm_init_mle()

Type Parameter Key Value
PARAM_VALUE 0 mle 1-u64max
PARAM_VALUE 1 type 2
PARAM_VALUE 2 dlm 4096-ptr_max
PARAM_VALUE 2 dlm->lockres_hash 4096-ptr_max
PARAM_VALUE 2 dlm->master_hash 4096-ptr_max
PARAM_VALUE 2 dlm->master_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 dlm->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 3 res 0,4096-ptr_max
PARAM_VALUE 3 res->spinlock.rlock.dep_map->name 0-255
BUF_SIZE 2 dlm 8,720,1560
BUF_SIZE 2 dlm 8,720,1560
BUF_SIZE 4 name s32min-(-2),1-s32max
BUF_SIZE 4 name s32min-(-2),1-s32max
CAPPED_DATA 2 dlm 1
DATA_SOURCE 0 mle $2
DATA_SOURCE 2 dlm $0
DATA_SOURCE 3 res $1
DATA_SOURCE 4 name $4
DATA_SOURCE 5 namelen $5
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 4 name unit_byte
UNITS 5 namelen unit_byte
LOCK2 2 &dlm->master_lock
LOCK2 2 &dlm->spinlock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dlm_ctxt)->master_lock
TYPE_LOCK (struct dlm_ctxt)->spinlock

fs/ocfs2/dlm/dlmmaster.c dlm_get_lock_resource() -> dlm_init_mle()

Type Parameter Key Value
PARAM_VALUE 1 type 1
PARAM_VALUE 2 dlm 4096-ptr_max
PARAM_VALUE 2 dlm->lockres_hash 4096-ptr_max
PARAM_VALUE 2 dlm->master_hash 4096-ptr_max
PARAM_VALUE 2 dlm->master_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 dlm->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 3 res 4096-ptr_max
PARAM_VALUE 3 *res->lvb 0-255
PARAM_VALUE 4 name 0
PARAM_VALUE 5 namelen 0
BUF_SIZE 2 dlm 8,128,1560
BUF_SIZE 2 dlm 8,128,1560
BUF_SIZE 3 res->dlm (-1),8,128,1560
DATA_SOURCE 2 dlm $0
STR_LEN 0 mle (-1),9
STR_LEN 2 dlm (-1),9
STR_LEN 3 res->dlm (-1),9
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 2 &dlm->master_lock
LOCK2 2 &dlm->spinlock
TYPE_LOCK (struct dlm_ctxt)->master_lock
TYPE_LOCK (struct dlm_ctxt)->spinlock

fs/ocfs2/dlm/dlmmaster.c dlm_master_request_handler() -> dlm_init_mle()

Type Parameter Key Value
PARAM_VALUE 0 mle 1-u64max
PARAM_VALUE 1 type 0
PARAM_VALUE 2 dlm 4096-ptr_max
PARAM_VALUE 2 dlm->dlm_state 1-2
PARAM_VALUE 2 dlm->lockres_hash 4096-ptr_max
PARAM_VALUE 2 dlm->master_hash 4096-ptr_max
PARAM_VALUE 2 dlm->master_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 dlm->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 3 res 0
PARAM_VALUE 5 namelen 0-32
BUF_SIZE 2 dlm 720
BUF_SIZE 2 dlm 720
BUF_SIZE 4 name 64
BUF_SIZE 4 name 64
CAPPED_DATA 2 dlm 1
CAPPED_DATA 5 namelen 1
DATA_SOURCE 0 mle r kmem_cache_alloc_noprof
DATA_SOURCE 2 dlm $2
PREEMPT_ADD <- disables preempt
RX_PATH
NOCHECK_CALL
UNITS 5 namelen unit_byte
LOCK2 2 &dlm->master_lock
LOCK2 2 &dlm->spinlock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dlm_ctxt)->master_lock
TYPE_LOCK (struct dlm_ctxt)->spinlock