Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ocfs2/dlm/dlmrecovery.c __dlm_reset_recovery() -> dlm_set_reco_master()

Type Parameter Key Value
PARAM_VALUE 0 dlm 4096-ptr_max
PARAM_VALUE 0 dlm->reco.dead_node 255
PARAM_VALUE 0 dlm->recovery_map 4096-ptr_max
PARAM_VALUE 0 dlm->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 master 255
BUF_SIZE 0 dlm 128,720,1560
BUF_SIZE 0 dlm 128,720,1560
CAPPED_DATA 0 dlm 1
DATA_SOURCE 0 dlm $0
PREEMPT_ADD
RX_PATH
NOCHECK_CALL
LOCK2 0 &dlm->spinlock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dlm_ctxt)->spinlock

fs/ocfs2/dlm/dlmrecovery.c dlm_begin_reco_handler() -> dlm_set_reco_master()

Type Parameter Key Value
PARAM_VALUE 0 dlm 4096-ptr_max
PARAM_VALUE 0 dlm->spinlock.rlock.dep_map->name 0-255
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
CAPPED_DATA 0 dlm 1
DATA_SOURCE 0 dlm $2
BIT_INFO 0 dlm->reco.state 0x0,0xfffd
PREEMPT_ADD <- disables preempt
RX_PATH
NOCHECK_CALL
LOCK2 0 &dlm->spinlock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dlm_ctxt)->spinlock

fs/ocfs2/dlm/dlmrecovery.c dlm_do_recovery() -> dlm_set_reco_master()

Type Parameter Key Value
PARAM_VALUE 0 dlm 4096-ptr_max
PARAM_VALUE 0 dlm->dlm_state 1-2
PARAM_VALUE 0 dlm->migrate_done 0
PARAM_VALUE 0 dlm->reco.new_master 0-254
PARAM_VALUE 0 dlm->recovery_map 4096-ptr_max
PARAM_VALUE 0 dlm->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 master 255
BUF_SIZE 0 dlm 128
BUF_SIZE 0 dlm 128
DATA_SOURCE 0 dlm $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 0 &dlm->spinlock
TYPE_LOCK (struct dlm_ctxt)->spinlock

fs/ocfs2/dlm/dlmrecovery.c dlm_pick_recovery_master() -> dlm_set_reco_master()

Type Parameter Key Value
PARAM_VALUE 0 dlm 4096-ptr_max
PARAM_VALUE 0 dlm->dlm_state 1-2
PARAM_VALUE 0 dlm->master_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dlm->migrate_done 0
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->reco.dead_node 0-254
PARAM_VALUE 0 dlm->reco.new_master 255
PARAM_VALUE 0 dlm->recovery_map 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
BUF_SIZE 0 dlm 128
BUF_SIZE 0 dlm 128
CAPPED_DATA 0 dlm 1
CAPPED_DATA 0 dlm->reco.dead_node 1
DATA_SOURCE 0 dlm $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 0 &dlm->spinlock
TYPE_LOCK (struct dlm_ctxt)->spinlock