Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 node_num 1-255
HALF_LOCKED2 &pool->lock

fs/ocfs2/cluster/tcp.c o2net_check_handshake() -> o2net_nn_from_num()

Type Parameter Key Value
RX_PATH
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 node_num 0-64
CAPPED_DATA 0 node_num 1
DATA_SOURCE 0 node_num r find_next_bit
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 global &o2hb_callback_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_disconnect_node() -> o2net_nn_from_num()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subsys->su_mutex
HALF_LOCKED2 global &o2hb_callback_sem

fs/ocfs2/cluster/tcp.c o2net_fill_node_map() -> o2net_nn_from_num()

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

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

Type Parameter Key Value
DATA_SOURCE 0 node_num $1
LOCK2 global &o2hb_callback_sem

fs/ocfs2/cluster/tcp.c o2net_idle_timer() -> o2net_nn_from_num()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/cluster/tcp.c o2net_init() -> o2net_nn_from_num()

Type Parameter Key Value
PARAM_VALUE 0 node_num 0-254
UNITS 0 node_num unit_array_size

fs/ocfs2/cluster/tcp.c o2net_process_message() -> o2net_nn_from_num()

Type Parameter Key Value
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/cluster/tcp.c o2net_rx_until_empty() -> o2net_nn_from_num()

Type Parameter Key Value
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/cluster/tcp.c o2net_sc_postpone_idle() -> o2net_nn_from_num()

Type Parameter Key Value
PARAM_VALUE 0 node_num 0-254
RX_PATH
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
DATA_SOURCE 0 node_num $4
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/cluster/tcp.c o2net_sendpage() -> o2net_nn_from_num()

Type Parameter Key Value
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/cluster/tcp.c o2net_shutdown_sc() -> o2net_nn_from_num()

Type Parameter Key Value
HALF_LOCKED2 &pool->lock