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_insert_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_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 1 mle 4096-ptr_max
PARAM_VALUE 1 mle->dlm 4096-ptr_max
PARAM_VALUE 1 mle->dlm->lockres_hash 4096-ptr_max
PARAM_VALUE 1 mle->dlm->master_hash 4096-ptr_max
PARAM_VALUE 1 mle->hb_events.next 4096-ptr_max
PARAM_VALUE 1 mle->hb_events.next->next 4096-ptr_max
PARAM_VALUE 1 mle->hb_events.prev->next 4096-ptr_max
PARAM_VALUE 1 mle->hb_events.prev->prev 4096-ptr_max
PARAM_VALUE 1 mle->inuse 0
PARAM_VALUE 1 mle->master_hash_node.next 0
PARAM_VALUE 1 mle->master_hash_node.pprev 0
PARAM_VALUE 1 mle->mle_refs.refcount.refs.counter 1
PARAM_VALUE 1 mle->mleres 0,4096-ptr_max
PARAM_VALUE 1 mle->node_map 4096-ptr_max
PARAM_VALUE 1 mle->type 2
PARAM_VALUE 1 mle->vote_map 4096-ptr_max
PARAM_VALUE 1 mle->woken.counter 0
PARAM_VALUE 1 mle->wq.head.next 4096-ptr_max
PARAM_VALUE 1 mle->wq.head.next->next 4096-ptr_max
PARAM_VALUE 1 mle->wq.head.prev 4096-ptr_max
PARAM_VALUE 1 mle->wq.head.prev->next 4096-ptr_max
PARAM_VALUE 1 mle->wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 *mle->mname 0-255
BUF_SIZE 0 dlm 8,720,1560
BUF_SIZE 0 dlm 8,720,1560
CAPPED_DATA 0 dlm 1
DATA_SOURCE 0 dlm $0
DATA_SOURCE 1 mle $2
MEM_ZERO 1 mle->maybe_map
MEM_ZERO 1 mle->response_map
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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

fs/ocfs2/dlm/dlmmaster.c dlm_get_lock_resource() -> __dlm_insert_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_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 1 mle 4096-ptr_max
PARAM_VALUE 1 mle->dlm 4096-ptr_max
PARAM_VALUE 1 mle->dlm->lockres_hash 4096-ptr_max
PARAM_VALUE 1 mle->dlm->master_hash 4096-ptr_max
PARAM_VALUE 1 mle->hb_events.next 4096-ptr_max
PARAM_VALUE 1 mle->hb_events.next->next 4096-ptr_max
PARAM_VALUE 1 mle->hb_events.prev->next 4096-ptr_max
PARAM_VALUE 1 mle->hb_events.prev->prev 4096-ptr_max
PARAM_VALUE 1 mle->inuse 0
PARAM_VALUE 1 mle->master 255
PARAM_VALUE 1 mle->master_hash_node.next 0
PARAM_VALUE 1 mle->master_hash_node.pprev 0
PARAM_VALUE 1 mle->mle_refs.refcount.refs.counter 1
PARAM_VALUE 1 mle->mleres 0,4096-ptr_max
PARAM_VALUE 1 mle->new_master 255
PARAM_VALUE 1 mle->node_map 4096-ptr_max
PARAM_VALUE 1 mle->type 1
PARAM_VALUE 1 mle->vote_map 4096-ptr_max
PARAM_VALUE 1 mle->woken.counter 0
PARAM_VALUE 1 mle->wq.head.next 4096-ptr_max
PARAM_VALUE 1 mle->wq.head.next->next 4096-ptr_max
PARAM_VALUE 1 mle->wq.head.prev 4096-ptr_max
PARAM_VALUE 1 mle->wq.head.prev->next 4096-ptr_max
PARAM_VALUE 1 mle->wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 *mle->mname 0-255
BUF_SIZE 0 dlm 8,128,1560
BUF_SIZE 0 dlm 8,128,1560
DATA_SOURCE 0 dlm $0
STR_LEN 0 dlm (-1),9
STR_LEN 0 dlm (-1),9
STR_LEN 1 mle->dlm (-1)
MEM_ZERO 1 mle->maybe_map
MEM_ZERO 1 mle->response_map
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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_master_request_handler() -> __dlm_insert_mle()

Type Parameter Key Value
PARAM_VALUE 0 dlm 4096-ptr_max
PARAM_VALUE 0 dlm->dlm_state 1-2
PARAM_VALUE 0 dlm->lockres_hash 4096-ptr_max
PARAM_VALUE 0 dlm->master_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 1 mle 4096-ptr_max
PARAM_VALUE 1 mle->dlm 4096-ptr_max
PARAM_VALUE 1 mle->dlm->lockres_hash 4096-ptr_max
PARAM_VALUE 1 mle->dlm->master_hash 4096-ptr_max
PARAM_VALUE 1 mle->hb_events.next 4096-ptr_max
PARAM_VALUE 1 mle->hb_events.next->next 4096-ptr_max
PARAM_VALUE 1 mle->hb_events.prev->next 4096-ptr_max
PARAM_VALUE 1 mle->hb_events.prev->prev 4096-ptr_max
PARAM_VALUE 1 mle->inuse 0
PARAM_VALUE 1 mle->master 255
PARAM_VALUE 1 mle->master_hash_node.next 0
PARAM_VALUE 1 mle->master_hash_node.pprev 0
PARAM_VALUE 1 mle->mle_refs.refcount.refs.counter 1
PARAM_VALUE 1 mle->mleres 0,4096-ptr_max
PARAM_VALUE 1 mle->new_master 255
PARAM_VALUE 1 mle->node_map 4096-ptr_max
PARAM_VALUE 1 mle->type 0
PARAM_VALUE 1 mle->vote_map 4096-ptr_max
PARAM_VALUE 1 mle->woken.counter 0
PARAM_VALUE 1 mle->wq.head.next 4096-ptr_max
PARAM_VALUE 1 mle->wq.head.next->next 4096-ptr_max
PARAM_VALUE 1 mle->wq.head.prev 4096-ptr_max
PARAM_VALUE 1 mle->wq.head.prev->next 4096-ptr_max
PARAM_VALUE 1 mle->wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 *mle->mname 0-255
BUF_SIZE 0 dlm 720
BUF_SIZE 0 dlm 720
CAPPED_DATA 0 dlm 1
DATA_SOURCE 0 dlm $2
DATA_SOURCE 1 mle r kmem_cache_alloc_noprof
MEM_ZERO 1 mle->maybe_map
MEM_ZERO 1 mle->response_map
PREEMPT_ADD <- disables preempt
RX_PATH
NOCHECK_CALL
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