Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/ocfs2/cluster/heartbeat.c o2hb_region_dev_store() -> o2nm_this_node()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

fs/ocfs2/cluster/heartbeat.c o2hb_thread() -> o2nm_this_node()

Type Parameter Key Value

fs/ocfs2/cluster/heartbeat.c o2hb_thread() -> o2nm_this_node()

Type Parameter Key Value

fs/ocfs2/dlm/dlmdomain.c dlm_alloc_ctxt() -> o2nm_this_node()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

fs/ocfs2/cluster/tcp.c o2net_complete_start_listening() -> o2nm_this_node()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 global &o2nm_cluster_group.cs_subsys.su_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

fs/ocfs2/cluster/tcp.c o2net_hb_node_down_cb() -> o2nm_this_node()

Type Parameter Key Value
LOCK2 global &o2hb_callback_sem

fs/ocfs2/cluster/tcp.c o2net_hb_node_up_cb() -> o2nm_this_node()

Type Parameter Key Value
LOCK2 global &o2hb_callback_sem

fs/ocfs2/cluster/tcp.c o2net_send_message_vec() -> o2nm_this_node()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/cluster/tcp.c o2net_set_nn_state() -> o2nm_this_node()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
LOCK2 &nn->nn_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct o2net_node)->nn_lock

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

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

fs/ocfs2/cluster/nodemanager.c o2nm_depend_this_node() -> o2nm_this_node()

Type Parameter Key Value

fs/ocfs2/cluster/nodemanager.c o2nm_undepend_this_node() -> o2nm_this_node()

Type Parameter Key Value

fs/ocfs2/cluster/quorum.c o2quo_make_decision() -> o2nm_this_node()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
LOCK2 &qs->qs_lock
LOCK2 bh
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct o2quo_state)->qs_lock

fs/ocfs2/stack_o2cb.c o2cb_cluster_check() -> o2nm_this_node()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/stack_o2cb.c o2cb_cluster_this_node() -> o2nm_this_node()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex