Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ocfs2/cluster/tcp.c o2net_complete_nodes_nsw() -> o2net_num_from_nn()

Type Parameter Key Value
PARAM_VALUE 0 nn 4096-ptr_max
PARAM_VALUE 0 nn->nn_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 nn->nn_persistent_error (-107)
PARAM_VALUE 0 nn->nn_sc 0,4096-ptr_max
PARAM_VALUE 0 nn->nn_sc->sc_handshake_ok 1
PARAM_VALUE 0 nn->nn_sc->sc_idle_timeout.entry.pprev 0,4096-ptr_max
PARAM_VALUE 0 nn->nn_sc->sc_net_debug_item.next 4096-ptr_max
PARAM_VALUE 0 nn->nn_sc->sc_net_debug_item.prev 4096-ptr_max
PARAM_VALUE 0 nn->nn_sc->sc_node 0,4096-ptr_max
PARAM_VALUE 0 nn->nn_sc->sc_page_off 32
PARAM_VALUE 0 nn->nn_sc_valid 0
PARAM_VALUE 0 nn->nn_sc_wq.lock.rlock.dep_map->name 0-255
BUF_SIZE 0 nn->nn_sc (-1),840
CAPPED_DATA 0 &nn->nn_status_list 1
DATA_SOURCE 0 nn $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &nn->nn_lock
TYPE_LOCK (struct o2net_node)->nn_lock

fs/ocfs2/cluster/tcp.c o2net_connect_expired() -> o2net_num_from_nn()

Type Parameter Key Value
PARAM_VALUE 0 nn 4096-ptr_max
PARAM_VALUE 0 nn->nn_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 nn->nn_sc_valid 0
PREEMPT_ADD <- disables preempt
LOCK2 0 &nn->nn_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct o2net_node)->nn_lock

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

Type Parameter Key Value
PARAM_VALUE 0 nn 4096-ptr_max
PARAM_VALUE 0 nn->nn_timeout.counter 1
DATA_SOURCE 0 nn r o2net_nn_from_num
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 nn 4096-ptr_max
PARAM_VALUE 0 nn->nn_timeout.counter s32min-(-1),1-s32max
DATA_SOURCE 0 nn r o2net_nn_from_num
RX_PATH
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 nn 4096-ptr_max
PARAM_VALUE 0 nn->nn_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 nn->nn_persistent_error (-107),0
DATA_SOURCE 0 nn $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &nn->nn_lock
TYPE_LOCK (struct o2net_node)->nn_lock

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

Type Parameter Key Value
PARAM_VALUE 0 nn 4096-ptr_max
PARAM_VALUE 0 nn->nn_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 nn->nn_persistent_error (-107)
PARAM_VALUE 0 nn->nn_sc 0,4096-ptr_max
PARAM_VALUE 0 nn->nn_sc->sc_handshake_ok 1
PARAM_VALUE 0 nn->nn_sc->sc_idle_timeout.entry.pprev 0,4096-ptr_max
PARAM_VALUE 0 nn->nn_sc->sc_node 0,4096-ptr_max
PARAM_VALUE 0 nn->nn_sc->sc_page_off 32
PARAM_VALUE 0 nn->nn_sc_valid 0
PARAM_VALUE 0 nn->nn_sc_wq.lock.rlock.dep_map->name 0-255
BUF_SIZE 0 nn->nn_sc (-1),840
DATA_SOURCE 0 nn $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &nn->nn_lock
TYPE_LOCK (struct o2net_node)->nn_lock

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

Type Parameter Key Value
PARAM_VALUE 0 nn 4096-ptr_max
PARAM_VALUE 0 nn->nn_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 nn->nn_persistent_error 0
PARAM_VALUE 0 nn->nn_sc 4096-ptr_max
PARAM_VALUE 0 nn->nn_sc->sc_handshake_ok 1
PARAM_VALUE 0 nn->nn_sc->sc_idle_timeout.entry.pprev 0,4096-ptr_max
PARAM_VALUE 0 nn->nn_sc->sc_node 0,4096-ptr_max
PARAM_VALUE 0 nn->nn_sc->sc_page_off 32
PARAM_VALUE 0 nn->nn_sc_valid 1
PARAM_VALUE 0 nn->nn_sc_wq.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 nn->nn_timeout.counter 0
BUF_SIZE 0 nn->nn_sc (-1),840
DATA_SOURCE 0 nn $0
PREEMPT_ADD
RX_PATH
LOCK2 0 &nn->nn_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct o2net_node)->nn_lock

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

Type Parameter Key Value
PARAM_VALUE 0 nn 4096-ptr_max
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 nn 4096-ptr_max
HALF_LOCKED2 &pool->lock

fs/ocfs2/cluster/tcp.c o2net_still_up() -> o2net_num_from_nn()

Type Parameter Key Value
PARAM_VALUE 0 nn 4096-ptr_max
HALF_LOCKED2 &pool->lock