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_set_key() -> tipc_node_find_by_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| PARAM_VALUE | 1 | *id | 0-255 |
| CAPPED_DATA | 0 | net->gen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *id | 0-255 |
| UNITS | 0 | net | unit_byte |
| USER_PTR | 1 | id | |
| LOCK2 | global &rtnl_mutex | ||
| 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 | ||
| HALF_LOCKED2 | rcu_read |
net/tipc/node.c tipc_node_create() -> tipc_node_find_by_id()
| 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 |
| BUF_SIZE | 1 | id | (-1),16 |
| BUF_SIZE | 1 | id | (-1),16 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | id | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *id | 0-255 |
| UNITS | 0 | net | unit_byte |
| USER_PTR | 1 | id | |
| 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_try_addr() -> tipc_node_find_by_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| BUF_SIZE | 1 | id | 16 |
| BUF_SIZE | 1 | id | 16 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/tipc/node.c tipc_rcv() -> tipc_node_find_by_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| BUF_SIZE | 1 | id | 16 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *id | 0-255 |
| UNITS | 0 | net | unit_byte |
| USER_PTR | 1 | id | |
| HALF_LOCKED2 | rcu_read |