Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/tipc/name_table.c tipc_nametbl_publish() -> tipc_nametbl_insert_publ()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | ua | 4096-ptr_max |
| PARAM_VALUE | 1 | ua->addrtype | 1 |
| PARAM_VALUE | 1 | ua->family | 30 |
| PARAM_VALUE | 1 | ua->scope | 2-3 |
| PARAM_VALUE | 2 | sk | 379231360332636160,917776956219195392,1165044537662173184 |
| BUF_SIZE | 1 | ua | (-1),1-s32max |
| BUF_SIZE | 1 | ua | (-1),1-s32max |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | ua | $1 |
| DATA_SOURCE | 2 | sk | $2 |
| DATA_SOURCE | 3 | key | $3 |
| FUZZY_MAX | 1 | ua->scope | 2 |
| NOSPEC | 1 | ua->sr.lower | |
| NOSPEC | 1 | ua->sr.type | |
| NOSPEC | 1 | ua->sr.upper | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ua->sr.lower | 0-u32max |
| USER_DATA | 1 | ua->sr.type | 64-u32max[c] |
| USER_DATA | 1 | ua->sr.upper | 0-u32max |
| UNITS | 0 | net | unit_byte |
| LOCK2 | &tn->nametbl_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct tipc_net)->nametbl_lock |
net/tipc/name_distr.c tipc_update_nametbl() -> tipc_nametbl_insert_publ()
| 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 | ua | 1813608087563997184 |
| PARAM_VALUE | 1 | ua->addrtype | 1 |
| PARAM_VALUE | 1 | ua->family | 30 |
| PARAM_VALUE | 1 | ua->scope | 2 |
| PARAM_VALUE | 2 | sk | 7841160618755162112 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ua->sr.lower | 0-u32max |
| USER_DATA | 1 | ua->sr.type | 0-u32max |
| USER_DATA | 1 | ua->sr.upper | 0-u32max |
| USER_DATA | 2 | sk->node | 0-u32max |
| USER_DATA | 2 | sk->ref | 0-u32max |
| USER_DATA | 3 | key | 0-u32max |
| UNITS | 0 | net | unit_byte |
| LOCK2 | &tn->nametbl_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_net)->nametbl_lock |