Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/ocfs2/cluster/heartbeat.c o2hb_check_slot() -> o2nm_get_node_by_num()

Type Parameter Key Value
UNITS 0 node_num unit_array_size

fs/ocfs2/cluster/heartbeat.c o2hb_shutdown_slot() -> o2nm_get_node_by_num()

Type Parameter Key Value
UNITS 0 node_num unit_array_size

fs/ocfs2/dlm/dlmdomain.c dlm_match_nodes() -> o2nm_get_node_by_num()

Type Parameter Key Value
PARAM_VALUE 0 node_num 0-254
PREEMPT_ADD
RX_PATH
LOCK2 &dlm->spinlock
LOCK2 &pool->lock
LOCK2 global &dlm_domain_lock
TYPE_LOCK (struct dlm_ctxt)->spinlock

fs/ocfs2/dlm/dlmdomain.c dlm_send_nodeinfo() -> o2nm_get_node_by_num()

Type Parameter Key Value
PARAM_VALUE 0 node_num 0-254
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/cluster/tcp.c o2net_accept_one() -> o2nm_get_node_by_num()

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

fs/ocfs2/cluster/tcp.c o2net_start_connect() -> o2nm_get_node_by_num()

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

fs/ocfs2/cluster/tcp.c o2net_start_connect() -> o2nm_get_node_by_num()

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

fs/ocfs2/cluster/tcp.c o2net_stop_listening() -> o2nm_get_node_by_num()

Type Parameter Key Value
PARAM_VALUE 0 node_num 0-254
RX_PATH
TASK_NOT_RUNNING
UNITS 0 node_num unit_array_size
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &subsys->su_mutex
HALF_LOCKED2 global &o2nm_cluster_group.cs_subsys.su_mutex

fs/ocfs2/cluster/nodemanager.c o2nm_depend_node() -> o2nm_get_node_by_num()

Type Parameter Key Value
DATA_SOURCE 0 node_num $0

fs/ocfs2/cluster/nodemanager.c o2nm_undepend_node() -> o2nm_get_node_by_num()

Type Parameter Key Value
DATA_SOURCE 0 node_num $0