Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/tipc/node.c tipc_node_create() -> tipc_link_bc_create()
| 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->ipv4.fib_main->tb_num_default | s32min-s32max |
| PARAM_VALUE | 0 | *net->loopback_dev->broadcast | 0-255 |
| PARAM_VALUE | 2 | peer | 1-u32max |
| PARAM_VALUE | 3 | peer_id | 4096-ptr_max |
| PARAM_VALUE | 4 | mtu | u16max |
| PARAM_VALUE | 5 | min_win | 0-u16max |
| PARAM_VALUE | 6 | max_win | 0-u16max |
| PARAM_VALUE | 8 | inputq | 4096-ptr_max |
| PARAM_VALUE | 9 | namedq | 4096-ptr_max |
| PARAM_VALUE | 10 | bc_sndlink | 4096-ptr_max |
| PARAM_VALUE | 11 | link | 4096-ptr_max |
| BUF_SIZE | 3 | peer_id | 16 |
| BUF_SIZE | 3 | peer_id | 16 |
| CAPPED_DATA | 0 | net->gen | 1 |
| CAPPED_DATA | 2 | peer | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 2 | peer | $1 |
| DATA_SOURCE | 3 | peer_id | $2 |
| DATA_SOURCE | 10 | bc_sndlink | r tipc_bc_sndlink |
| BIT_INFO | 5 | min_win | 0x0,0xffff |
| BIT_INFO | 6 | max_win | 0x0,0xffff |
| NOSPEC | 2 | peer | |
| NOSPEC | 2 | peer | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | peer | 1-u32max[c] |
| UNITS | 0 | net | unit_byte |
| LOCK2 | &n->lock | ||
| LOCK2 | &tn->node_list_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_net)->node_list_lock | ||
| TYPE_LOCK | (struct tipc_node)->lock |
net/tipc/node.c tipc_node_create() -> tipc_link_bc_create()
| 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->ipv4.fib_main->tb_num_default | s32min-s32max |
| PARAM_VALUE | 0 | *net->loopback_dev->broadcast | 0-255 |
| PARAM_VALUE | 2 | peer | 1-u32max |
| PARAM_VALUE | 3 | peer_id | 4096-ptr_max |
| PARAM_VALUE | 4 | mtu | u16max |
| PARAM_VALUE | 5 | min_win | 0-u16max |
| PARAM_VALUE | 6 | max_win | 0-u16max |
| PARAM_VALUE | 8 | inputq | 4096-ptr_max |
| PARAM_VALUE | 8 | inputq->next | 4096-ptr_max |
| PARAM_VALUE | 8 | inputq->prev | 4096-ptr_max |
| PARAM_VALUE | 8 | inputq->qlen | 0 |
| PARAM_VALUE | 9 | namedq | 4096-ptr_max |
| PARAM_VALUE | 9 | namedq->next | 4096-ptr_max |
| PARAM_VALUE | 9 | namedq->prev | 4096-ptr_max |
| PARAM_VALUE | 9 | namedq->qlen | 0 |
| PARAM_VALUE | 10 | bc_sndlink | 4096-ptr_max |
| PARAM_VALUE | 11 | link | 4096-ptr_max |
| BUF_SIZE | 3 | peer_id | 16 |
| BUF_SIZE | 3 | peer_id | 16 |
| CAPPED_DATA | 0 | net->gen | 1 |
| CAPPED_DATA | 2 | peer | 1 |
| CAPPED_DATA | 7 | peer_caps | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 2 | peer | $1 |
| DATA_SOURCE | 3 | peer_id | $2 |
| DATA_SOURCE | 7 | peer_caps | $3 |
| DATA_SOURCE | 10 | bc_sndlink | r tipc_bc_sndlink |
| BIT_INFO | 5 | min_win | 0x0,0xffff |
| BIT_INFO | 6 | max_win | 0x0,0xffff |
| NOSPEC | 2 | peer | |
| NOSPEC | 2 | peer | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | peer | 1-u32max[c] |
| USER_DATA | 7 | peer_caps | 0-u16max[c] |
| UNITS | 0 | net | unit_byte |
| LOCK2 | &tn->node_list_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_net)->node_list_lock |
net/tipc/bcast.c tipc_bcast_init() -> tipc_link_bc_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | ownnode | 0 |
| PARAM_VALUE | 2 | peer | 0 |
| PARAM_VALUE | 3 | peer_id | 0 |
| PARAM_VALUE | 5 | min_win | 50 |
| PARAM_VALUE | 6 | max_win | 50 |
| PARAM_VALUE | 7 | peer_caps | 0 |
| PARAM_VALUE | 8 | inputq | 4096-ptr_max |
| PARAM_VALUE | 9 | namedq | 0 |
| PARAM_VALUE | 10 | bc_sndlink | 0 |
| PARAM_VALUE | 11 | link | 549199328593907712 |
| PARAM_VALUE | 11 | *link | 0 |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |