Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/tipc/node.c tipc_nl_node_dump() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1-u32max |
| CAPPED_DATA | 0 | net->gen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | rcu_read |
net/tipc/node.c tipc_nl_node_dump_link() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1-u32max |
| CAPPED_DATA | 0 | net->gen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | rcu_read |
net/tipc/node.c tipc_nl_peer_rm() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1-u32max |
| CAPPED_DATA | 0 | net->gen | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | &tn->node_list_lock | ||
| LOCK2 | bh | ||
| 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 |
net/tipc/node.c tipc_node_add_conn() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1-u32max |
| CAPPED_DATA | 0 | net->gen | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| NOSPEC | 1 | addr | |
| NOSPEC | 1 | addr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 1-u32max[c] |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | new_sk | ||
| HALF_LOCKED2 | sk |
net/tipc/node.c tipc_node_bc_rcv() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | *net->loopback_dev->broadcast | 0-255 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | r msg_destnode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u32max |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/tipc/node.c tipc_node_bc_rcv() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | *net->loopback_dev->broadcast | 0-255 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u32max |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/tipc/node.c tipc_node_create() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | *net->loopback_dev->broadcast | 0-255 |
| CAPPED_DATA | 0 | net->gen | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| NOSPEC | 1 | addr | |
| NOSPEC | 1 | addr | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 1-u32max[c] |
| UNITS | 0 | net | unit_byte |
| LOCK2 | &tn->node_list_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct tipc_net)->node_list_lock |
net/tipc/node.c tipc_node_crypto_rx_by_addr() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u32max |
| UNITS | 0 | net | unit_byte |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &le->lock | ||
| HALF_LOCKED2 | &n->lock | ||
| HALF_LOCKED2 | rcu_read |
net/tipc/node.c tipc_node_get_capabilities() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| NOSPEC | 1 | addr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u32max |
| UNITS | 0 | net | unit_byte |
net/tipc/node.c tipc_node_get_id() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| USER_DATA | 1 | addr | 0-u32max |
| UNITS | 0 | net | unit_byte |
net/tipc/node.c tipc_node_get_linkname() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $2 |
| USER_DATA | 1 | addr | 0-u32max |
| UNITS | 0 | net | unit_byte |
net/tipc/node.c tipc_node_get_mtu() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| NOSPEC | 1 | addr | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u32max |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &nt->cluster_scope_lock | ||
| HALF_LOCKED2 | bh |
net/tipc/node.c tipc_node_is_up() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1-u32max |
| CAPPED_DATA | 0 | net->gen | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | sk |
net/tipc/node.c tipc_node_remove_conn() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1-u32max |
| CAPPED_DATA | 0 | net->gen | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/tipc/node.c tipc_node_subscribe() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.fib_main->tb_id | 0-4294967295 |
| PARAM_VALUE | 0 | *net->loopback_dev->broadcast | 0-255 |
| PARAM_VALUE | 1 | addr | 1-u32max |
| CAPPED_DATA | 0 | net->gen | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $2 |
| NOSPEC | 1 | addr | |
| NOSPEC | 1 | addr | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 1-u32max[c] |
| UNITS | 0 | net | unit_byte |
| LOCK2 | &tn->nametbl_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_net)->nametbl_lock |
net/tipc/node.c tipc_node_suggest_addr() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u32max[c] |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/tipc/node.c tipc_node_suggest_addr() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u32max[c] |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/tipc/node.c tipc_node_try_addr() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u32max |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/tipc/node.c tipc_node_unsubscribe() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1-u32max |
| CAPPED_DATA | 0 | net->gen | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $2 |
| NOSPEC | 1 | addr | |
| NOSPEC | 1 | addr | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 1-u32max[c] |
| UNITS | 0 | net | unit_byte |
| LOCK2 | &tn->nametbl_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_net)->nametbl_lock |
net/tipc/node.c tipc_node_xmit() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | net->loopback_dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 1 | addr | 1-u32max |
| CAPPED_DATA | 0 | net->gen | 1 |
| CAPPED_DATA | 1 | addr | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | addr | $2 |
| NOSPEC | 1 | addr | |
| NOSPEC | 1 | addr | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 1-u32max[c] |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &nt->cluster_scope_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/tipc/node.c tipc_rcv() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u32max[u] |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/tipc/node.c tipc_rcv() -> tipc_node_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | *net->loopback_dev->broadcast | 0-255 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u32max |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | rcu_read |