Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/dlm/midcomms.c dlm_act_fin_ack_rcv() -> midcomms_node_reset()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->state 7
PARAM_VALUE 0 node->state_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 node->version 0,196610
CAPPED_DATA 0 node->nodeid 1
DATA_SOURCE 0 node $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &pool->lock
LOCK2 bh
LOCK2 global &nodes_srcu
LOCK2 rcu_read
LOCK2 0 &node->state_lock
TYPE_LOCK (struct midcomms_node)->state_lock

fs/dlm/midcomms.c dlm_midcomms_add_member() -> midcomms_node_reset()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->state s32min-0,3-s32max
PARAM_VALUE 0 node->state_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 node->users 0
CAPPED_DATA 0 node->nodeid 1
DATA_SOURCE 0 node r nodeid2node
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &ls->ls_in_recovery
LOCK2 &ls->ls_recoverd_active
LOCK2 bh
LOCK2 global &nodes_srcu
LOCK2 0 &node->state_lock
TYPE_LOCK (struct dlm_ls)->ls_in_recovery
TYPE_LOCK (struct dlm_ls)->ls_recoverd_active
TYPE_LOCK (struct midcomms_node)->state_lock

fs/dlm/midcomms.c dlm_midcomms_addr() -> midcomms_node_reset()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->debugfs 4096-u64max
PARAM_VALUE 0 node->send_queue.next 4096-ptr_max
PARAM_VALUE 0 node->send_queue.next->next 4096-ptr_max
PARAM_VALUE 0 node->send_queue.prev 4096-ptr_max
PARAM_VALUE 0 node->send_queue.prev->next 4096-ptr_max
PARAM_VALUE 0 node->send_queue.prev->prev 4096-ptr_max
PARAM_VALUE 0 node->send_queue_cnt.counter 0
PARAM_VALUE 0 node->shutdown_wait.head.next 4096-ptr_max
PARAM_VALUE 0 node->shutdown_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 node->shutdown_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 node->shutdown_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 node->shutdown_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 node->users 0
BUF_SIZE 0 node 336
BUF_SIZE 0 node->debugfs s32min-(-1),1-s32max
DATA_SOURCE 0 node r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/dlm/midcomms.c dlm_midcomms_receive_buffer() -> midcomms_node_reset()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->seq_next.counter 0-s32max
PARAM_VALUE 0 node->state 4
PARAM_VALUE 0 node->state_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 node->version 196610
CAPPED_DATA 0 node->nodeid 1
DATA_SOURCE 0 node $1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 bh
LOCK2 global &nodes_srcu
LOCK2 0 &node->state_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct midcomms_node)->state_lock

fs/dlm/midcomms.c dlm_midcomms_shutdown() -> midcomms_node_reset()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->send_queue_lock.rlock.dep_map->name 0-255
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &close_lock
LOCK2 global &ls_lock
LOCK2 global &nodes_srcu

fs/dlm/midcomms.c dlm_pas_fin_ack_rcv() -> midcomms_node_reset()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->state 6
PARAM_VALUE 0 node->state_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 node->version 0,196610
CAPPED_DATA 0 node->nodeid 1
DATA_SOURCE 0 node $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &pool->lock
LOCK2 bh
LOCK2 global &nodes_srcu
LOCK2 rcu_read
LOCK2 0 &node->state_lock
TYPE_LOCK (struct midcomms_node)->state_lock