Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/tipc/node.c tipc_nl_peer_rm() -> tipc_node_write_unlock()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->addr 1-u32max
PARAM_VALUE 0 n->kref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 n->lock.dep_map->name 0-255
PARAM_VALUE 0 n->lock.owner_cpu 0
PARAM_VALUE 0 n->lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 n->preliminary 0
PARAM_VALUE 0 n->state s32min-208,210-220,222-s32max
CAPPED_DATA 0 n->addr 1
DATA_SOURCE 0 n r tipc_node_find
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tn->node_list_lock
LOCK2 bh
LOCK2 0 &n->lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct tipc_net)->node_list_lock
TYPE_LOCK (struct tipc_node)->lock

net/tipc/node.c tipc_nl_peer_rm() -> tipc_node_write_unlock()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->addr 1-u32max
PARAM_VALUE 0 n->kref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 n->lock.dep_map->name 0-255
PARAM_VALUE 0 n->lock.owner_cpu 0
PARAM_VALUE 0 n->lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 n->preliminary 0
PARAM_VALUE 0 n->state 209,221
CAPPED_DATA 0 n->addr 1
DATA_SOURCE 0 n r tipc_node_find
BIT_INFO 0 n->state 0xd1,0xffffffffffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tn->node_list_lock
LOCK2 bh
LOCK2 0 &n->lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct tipc_net)->node_list_lock
TYPE_LOCK (struct tipc_node)->lock

net/tipc/node.c tipc_node_add_conn() -> tipc_node_write_unlock()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->addr 1-u32max
PARAM_VALUE 0 n->conn_sks.prev 4096-ptr_max
PARAM_VALUE 0 n->conn_sks.prev->next 4096-ptr_max
PARAM_VALUE 0 n->conn_sks.prev->next->next 4096-ptr_max
PARAM_VALUE 0 n->kref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 n->lock.dep_map->name 0-255
PARAM_VALUE 0 n->lock.owner_cpu 0
PARAM_VALUE 0 n->lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 n->preliminary 0
CAPPED_DATA 0 n->addr 1
DATA_SOURCE 0 n r tipc_node_find
NOSPEC 0 n->addr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 n->addr 1-u32max[c]
LOCK2 bh
LOCK2 0 &n->lock
HALF_LOCKED2 new_sk
HALF_LOCKED2 sk
TYPE_LOCK (struct tipc_node)->lock

net/tipc/node.c tipc_node_apply_property() -> tipc_node_write_unlock()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->links 4096-ptr_max
PARAM_VALUE 0 n->lock.dep_map->name 0-255
PARAM_VALUE 0 n->lock.owner_cpu 0
PARAM_VALUE 0 n->lock.raw_lock.cnts.counter 0-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 global &rtnl_mutex
LOCK2 rcu_read
LOCK2 0 &n->lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rx_queue_mutex
TYPE_LOCK (struct tipc_node)->lock

net/tipc/node.c tipc_node_check_dest() -> tipc_node_write_unlock()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->bc_entry.link->acked 0-u16max
PARAM_VALUE 0 n->bc_entry.link->ackers 0-u16max
PARAM_VALUE 0 n->bc_entry.link->bc_peer_is_up 0-1
PARAM_VALUE 0 n->bc_entry.link->failover_reasm_skb 0-s64max
PARAM_VALUE 0 n->bc_entry.link->in_session 0-1
PARAM_VALUE 0 n->bc_entry.link->last_gap 0-u16max
PARAM_VALUE 0 n->bc_entry.link->rcv_nxt 0-u16max
PARAM_VALUE 0 n->bc_entry.link->rcv_nxt_state 0-u16max
PARAM_VALUE 0 n->bc_entry.link->rcv_unacked 0-4294967295
PARAM_VALUE 0 n->bc_entry.link->reasm_tnlmsg 0-s64max
PARAM_VALUE 0 n->bc_entry.link->rst_cnt 0-u16max
PARAM_VALUE 0 n->bc_entry.link->silent_intv_cnt 0-4294967295
PARAM_VALUE 0 n->bc_entry.link->snd_nxt 0-u16max
PARAM_VALUE 0 n->bc_entry.link->snd_nxt_state 0-u16max
PARAM_VALUE 0 n->bc_entry.link->state 0-4294967295
PARAM_VALUE 0 n->bc_entry.link->tolerance 0-4294967295
PARAM_VALUE 0 n->keepalive_intv 0-500,10000
PARAM_VALUE 0 n->links 4096-ptr_max
PARAM_VALUE 0 n->lock.dep_map->name 0-255
PARAM_VALUE 0 n->lock.owner_cpu 0
PARAM_VALUE 0 n->lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 n->timer.entry.pprev 0,4096-ptr_max
PARAM_VALUE 0 n->timer.lockdep_map->name 0-255
BUF_SIZE 0 n (-1),1464
BUF_SIZE 0 n (-1),1464
CAPPED_DATA 0 n 1
DATA_SOURCE 0 n r tipc_node_create
NOSPEC 0 n->addr
NOSPEC 0 n->signature
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 n->addr 1-u32max[c]
USER_DATA 0 n->capabilities 0-u16max[c]
USER_DATA 0 n->peer_hash_mix 0-u32max
USER_DATA 0 n->signature 0-u16max[c]
USER_DATA 0 *n->peer_id_string 0-255
LOCK2 bh
LOCK2 0 &n->lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct tipc_node)->lock

net/tipc/node.c tipc_node_cleanup() -> tipc_node_write_unlock()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->lock.dep_map->name 0-255
PARAM_VALUE 0 n->lock.owner_cpu 0
PARAM_VALUE 0 n->lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 n->net 4096-ptr_max
PARAM_VALUE 0 n->net->gen 4096-ptr_max
CAPPED_DATA 0 n->net->gen 1
DATA_SOURCE 0 n $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tn->node_list_lock
LOCK2 bh
LOCK2 0 &n->lock
TYPE_LOCK (struct tipc_net)->node_list_lock
TYPE_LOCK (struct tipc_node)->lock

net/tipc/node.c tipc_node_link_down() -> tipc_node_write_unlock()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->bc_entry.link->acked 0-u16max
PARAM_VALUE 0 n->bc_entry.link->ackers 0-u16max
PARAM_VALUE 0 n->bc_entry.link->bc_peer_is_up 0-1
PARAM_VALUE 0 n->bc_entry.link->cong_acks 0-u16max
PARAM_VALUE 0 n->bc_entry.link->drop_point 0-u16max
PARAM_VALUE 0 n->bc_entry.link->failover_reasm_skb 0-s64max
PARAM_VALUE 0 n->bc_entry.link->in_session 0-1
PARAM_VALUE 0 n->bc_entry.link->last_gap 0-u16max
PARAM_VALUE 0 n->bc_entry.link->mtu s32min-4294967295
PARAM_VALUE 0 n->bc_entry.link->nack_state 0-255
PARAM_VALUE 0 n->bc_entry.link->net_plane 0-255
PARAM_VALUE 0 n->bc_entry.link->peer_bearer_id 0-4294967295
PARAM_VALUE 0 n->bc_entry.link->peer_caps 0-u16max
PARAM_VALUE 0 n->bc_entry.link->peer_session 0-u16max
PARAM_VALUE 0 n->bc_entry.link->priority 0-4294967295
PARAM_VALUE 0 n->bc_entry.link->rcv_nxt 0-u16max
PARAM_VALUE 0 n->bc_entry.link->rcv_nxt_state 0-u16max
PARAM_VALUE 0 n->bc_entry.link->rcv_unacked 0-4294967295
PARAM_VALUE 0 n->bc_entry.link->reasm_tnlmsg 0-s64max
PARAM_VALUE 0 n->bc_entry.link->rst_cnt 0-u16max
PARAM_VALUE 0 n->bc_entry.link->session 0-u16max
PARAM_VALUE 0 n->bc_entry.link->silent_intv_cnt 0-4294967295
PARAM_VALUE 0 n->bc_entry.link->snd_nxt 0-u16max
PARAM_VALUE 0 n->bc_entry.link->snd_nxt_state 0-u16max
PARAM_VALUE 0 n->bc_entry.link->ssthresh 0-u16max
PARAM_VALUE 0 n->bc_entry.link->state 0-4294967295
PARAM_VALUE 0 n->bc_entry.link->tolerance 0-4294967295
PARAM_VALUE 0 n->bc_entry.link->window 0-u16max
PARAM_VALUE 0 n->links 4096-ptr_max
PARAM_VALUE 0 n->lock.dep_map->name 0-255
PARAM_VALUE 0 n->lock.owner_cpu 0
PARAM_VALUE 0 n->lock.raw_lock.cnts.counter 0-s32max
BUF_SIZE 0 n (-1),1464
BUF_SIZE 0 n (-1),1464
CAPPED_DATA 0 n 1
DATA_SOURCE 0 n $0
NOSPEC 0 n->addr
NOSPEC 0 n->signature
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 n->addr 1-u32max[c]
USER_DATA 0 n->capabilities 0-u16max[c]
USER_DATA 0 n->peer_hash_mix 0-u32max
USER_DATA 0 n->signature 0-u16max[c]
LOCK2 bh
LOCK2 0 &n->lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct tipc_node)->lock

net/tipc/node.c tipc_node_link_up() -> tipc_node_write_unlock()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->links 4096-ptr_max
PARAM_VALUE 0 n->lock.dep_map->name 0-255
PARAM_VALUE 0 n->lock.owner_cpu 0
PARAM_VALUE 0 n->lock.raw_lock.cnts.counter 0-s32max
DATA_SOURCE 0 n $0
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &n->lock
TYPE_LOCK (struct tipc_node)->lock

net/tipc/node.c tipc_node_remove_conn() -> tipc_node_write_unlock()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->addr 1-u32max
PARAM_VALUE 0 n->kref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 n->lock.dep_map->name 0-255
PARAM_VALUE 0 n->lock.owner_cpu 0
PARAM_VALUE 0 n->lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 n->preliminary 0
CAPPED_DATA 0 n->addr 1
CAPPED_DATA 0 &n->conn_sks 1
DATA_SOURCE 0 n r tipc_node_find
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &n->lock
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk
TYPE_LOCK (struct tipc_node)->lock