Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/tipc/node.c tipc_node_create() -> tipc_nodeid2string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | str | 33 |
| BUF_SIZE | 1 | id | (-1),16 |
| BUF_SIZE | 1 | id | (-1),16 |
| DATA_SOURCE | 1 | id | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | *id | 0-255 |
| 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/link.c tipc_link_bc_create() -> tipc_nodeid2string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| BUF_SIZE | 0 | str | 33 |
| BUF_SIZE | 1 | id | 16 |
| BUF_SIZE | 1 | id | 16 |
| DATA_SOURCE | 1 | id | $3 |
| TERMINATED | 0 | str | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tn->node_list_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &n->lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_net)->node_list_lock |
net/tipc/link.c tipc_link_create() -> tipc_nodeid2string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| BUF_SIZE | 0 | str | 33 |
| BUF_SIZE | 1 | id | (-1),16 |
| TERMINATED | 0 | str | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &n->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_node)->lock |
net/tipc/link.c tipc_link_create() -> tipc_nodeid2string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| BUF_SIZE | 0 | str | 33 |
| BUF_SIZE | 1 | id | 16 |
| BUF_SIZE | 1 | id | 16 |
| DATA_SOURCE | 1 | id | $12 |
| TERMINATED | 0 | str | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &n->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_node)->lock |
net/tipc/addr.c tipc_set_node_id() -> tipc_nodeid2string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 4096-ptr_max |
| BUF_SIZE | 0 | str | 33 |
| BUF_SIZE | 1 | id | 16 |
| BUF_SIZE | 1 | id | 16 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |