Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- net/tipc/group.c
- net/tipc/link.c
- net/tipc/node.c, line 1546
- net/tipc/socket.c
- net/tipc/topsrv.c, line 621
Smatch caller information:
net/tipc/node.c node_lost_contact() -> tipc_msg_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 3 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | hdr_sz | 24 |
| PARAM_VALUE | 3 | data_sz | 0 |
| PARAM_VALUE | 8 | errcode | 3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &n->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_node)->lock |
net/tipc/link.c link_schedule_user() -> tipc_msg_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 14 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | hdr_sz | 40 |
| PARAM_VALUE | 3 | data_sz | 0 |
| PARAM_VALUE | 7 | oport | 0 |
| PARAM_VALUE | 8 | errcode | 0 |
| DATA_SOURCE | 4 | dnode | r tipc_own_addr |
| DATA_SOURCE | 6 | dport | r msg_origport |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &le->lock | ||
| HALF_LOCKED2 | &n->lock |
net/tipc/link.c tipc_link_build_bc_proto_msg() -> tipc_msg_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 5 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | hdr_sz | 40 |
| PARAM_VALUE | 3 | data_sz | 0 |
| PARAM_VALUE | 6 | dport | 0 |
| PARAM_VALUE | 7 | oport | 0 |
| PARAM_VALUE | 8 | errcode | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &n->lock | ||
| HALF_LOCKED2 | rcu_read |
net/tipc/link.c tipc_link_build_proto_msg() -> tipc_msg_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 7 |
| PARAM_VALUE | 1 | type | 0-2 |
| PARAM_VALUE | 2 | hdr_sz | 40 |
| PARAM_VALUE | 3 | data_sz | 788 |
| PARAM_VALUE | 6 | dport | 0 |
| PARAM_VALUE | 7 | oport | 0 |
| PARAM_VALUE | 8 | errcode | 0 |
| DATA_SOURCE | 1 | type | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | data_sz | unit_byte |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &le->lock | ||
| HALF_LOCKED2 | &n->lock | ||
| HALF_LOCKED2 | &node->lock |
net/tipc/link.c tipc_link_create_dummy_tnl_msg() -> tipc_msg_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 10 |
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | hdr_sz | 40 |
| PARAM_VALUE | 3 | data_sz | 32 |
| PARAM_VALUE | 6 | dport | 0 |
| PARAM_VALUE | 7 | oport | 0 |
| PARAM_VALUE | 8 | errcode | 0 |
| DATA_SOURCE | 5 | onode | r tipc_own_addr |
| 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_tnl_prepare() -> tipc_msg_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 10 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | hdr_sz | 40 |
| PARAM_VALUE | 3 | data_sz | 0 |
| PARAM_VALUE | 6 | dport | 0 |
| PARAM_VALUE | 7 | oport | 0 |
| PARAM_VALUE | 8 | errcode | 0 |
| 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_tnl_prepare() -> tipc_msg_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 0 |
| PARAM_VALUE | 1 | type | 3 |
| PARAM_VALUE | 2 | hdr_sz | 32 |
| PARAM_VALUE | 3 | data_sz | 0 |
| PARAM_VALUE | 6 | dport | 0 |
| PARAM_VALUE | 7 | oport | 0 |
| PARAM_VALUE | 8 | errcode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &n->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_node)->lock |
net/tipc/socket.c __tipc_shutdown() -> tipc_msg_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 3 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | hdr_sz | 24 |
| PARAM_VALUE | 3 | data_sz | 0 |
| PARAM_VALUE | 8 | errcode | 2,5 |
| CAPPED_DATA | 4 | dnode | 1 |
| DATA_SOURCE | 4 | dnode | r tsk_peer_node |
| DATA_SOURCE | 8 | errcode | $1 |
| HARD_MAX | 8 | errcode | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | sk |
net/tipc/socket.c tipc_sk_build_ack() -> tipc_msg_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 8 |
| PARAM_VALUE | 1 | type | 2 |
| PARAM_VALUE | 2 | hdr_sz | 40 |
| PARAM_VALUE | 3 | data_sz | 0 |
| PARAM_VALUE | 8 | errcode | 0 |
| DATA_SOURCE | 4 | dnode | r tsk_peer_node |
| DATA_SOURCE | 6 | dport | r tsk_peer_port |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/tipc/socket.c tipc_sk_check_probing_state() -> tipc_msg_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 8 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | hdr_sz | 40 |
| PARAM_VALUE | 3 | data_sz | 0 |
| PARAM_VALUE | 8 | errcode | 0 |
| DATA_SOURCE | 4 | dnode | r tsk_peer_node |
| DATA_SOURCE | 5 | onode | r tsk_own_node |
| DATA_SOURCE | 6 | dport | r tsk_peer_port |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sk->sk_lock.slock | ||
| TYPE_LOCK | (struct socket_lock_t)->slock |
net/tipc/topsrv.c tipc_topsrv_kern_evt() -> tipc_msg_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 15 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | hdr_sz | 40 |
| PARAM_VALUE | 3 | data_sz | 48 |
| PARAM_VALUE | 8 | errcode | 0 |
| DATA_SOURCE | 4 | dnode | r tipc_own_addr |
| DATA_SOURCE | 5 | onode | r tipc_own_addr |
| UNITS | 3 | data_sz | unit_byte |
| HALF_LOCKED2 | &pool->lock |
net/tipc/group.c tipc_group_create_event() -> tipc_msg_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 3 |
| PARAM_VALUE | 1 | type | 4 |
| PARAM_VALUE | 2 | hdr_sz | 44 |
| PARAM_VALUE | 3 | data_sz | 48 |
| PARAM_VALUE | 8 | errcode | 0 |
| DATA_SOURCE | 4 | dnode | r tipc_own_addr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | data_sz | unit_byte |
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | sk |
net/tipc/group.c tipc_group_proto_xmit() -> tipc_msg_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 9 |
| PARAM_VALUE | 1 | type | 0-5 |
| PARAM_VALUE | 2 | hdr_sz | 40 |
| PARAM_VALUE | 3 | data_sz | 0 |
| PARAM_VALUE | 8 | errcode | 0 |
| DATA_SOURCE | 1 | type | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | dnode | 0-u32max |
| USER_DATA | 6 | dport | 0-u32max |
| HALF_LOCKED2 | sk |