Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/netfilter/nf_tables_api.c __nft_trans_set_add() -> nft_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 355145425123598336,3931427541035450368,7760697101040459776 |
| PARAM_VALUE | 0 | ctx->chain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->family | 0-63 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->table | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_type | 9,11 |
| PARAM_VALUE | 2 | size | 112 |
| CAPPED_DATA | 0 | ctx->family | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | msg_type | $1 |
| HARD_MAX | 1 | msg_type | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nf_tables_updobj() -> nft_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 5553667802079334400 |
| PARAM_VALUE | 0 | ctx->chain | 0 |
| PARAM_VALUE | 0 | ctx->family | 0-63 |
| PARAM_VALUE | 0 | ctx->level | 0 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->nla | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->table | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_type | 18 |
| PARAM_VALUE | 2 | size | 72 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nf_tables_updtable() -> nft_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 3890901033919643648 |
| PARAM_VALUE | 0 | ctx->chain | 0 |
| PARAM_VALUE | 0 | ctx->family | 0-63 |
| PARAM_VALUE | 0 | ctx->level | 0 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->nla | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->table | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->table->flags | 2-255 |
| PARAM_VALUE | 1 | msg_type | 0 |
| PARAM_VALUE | 2 | size | 56 |
| CAPPED_DATA | 0 | ctx->net->gen | 1 |
| CAPPED_DATA | 0 | ctx->table | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nft_delflowtable_hook() -> nft_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 6487218480097771520 |
| PARAM_VALUE | 0 | ctx->chain | 0 |
| PARAM_VALUE | 0 | ctx->family | 0-63 |
| PARAM_VALUE | 0 | ctx->level | 0 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->nla | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->table | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_type | 24 |
| PARAM_VALUE | 2 | size | 80 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nft_flowtable_update() -> nft_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 8863471163152523264 |
| PARAM_VALUE | 0 | ctx->chain | 0 |
| PARAM_VALUE | 0 | ctx->family | 0-63 |
| PARAM_VALUE | 0 | ctx->level | 0 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->nla | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->table | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_type | 22 |
| PARAM_VALUE | 2 | size | 80 |
| CAPPED_DATA | 0 | ctx->table | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nft_setelem_flush() -> nft_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_type | 14 |
| PARAM_VALUE | 2 | size | 80 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nft_trans_alloc_chain() -> nft_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 355145425123598336,2924374206817124352,7699304843963310080 |
| PARAM_VALUE | 0 | ctx->chain | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->family | 0-63 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->table | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_type | 3,5 |
| PARAM_VALUE | 2 | size | 120 |
| BUF_SIZE | 0 | ctx->chain | (-1),128 |
| CAPPED_DATA | 0 | ctx->family | 1 |
| CAPPED_DATA | 0 | ctx->table | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | msg_type | $1 |
| HARD_MAX | 1 | msg_type | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->chain->flags | 0-6 |
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nft_trans_elem_alloc() -> nft_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1419139104411324416 |
| PARAM_VALUE | 0 | ctx->chain | 0 |
| PARAM_VALUE | 0 | ctx->family | 0-63 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->nla | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->table | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_type | 14 |
| PARAM_VALUE | 2 | size | 80 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | msg_type | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nft_trans_flowtable_add() -> nft_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 355145425123598336,6487218480097771520,8863471163152523264 |
| PARAM_VALUE | 0 | ctx->chain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->family | 0-63 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->table | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_type | 22,24 |
| PARAM_VALUE | 2 | size | 80 |
| CAPPED_DATA | 0 | ctx->family | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | msg_type | $1 |
| HARD_MAX | 1 | msg_type | 24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nft_trans_obj_add() -> nft_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 355145425123598336,2333013584772333568,5553667802079334400 |
| PARAM_VALUE | 0 | ctx->chain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->family | 0-63 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->table | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_type | 18,20 |
| PARAM_VALUE | 2 | size | 72 |
| CAPPED_DATA | 0 | ctx->family | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | msg_type | $1 |
| HARD_MAX | 1 | msg_type | 20 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nft_trans_rule_add() -> nft_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 355145425123598336,1991177954424631296,2924374206817124352,5862946407673221120 |
| PARAM_VALUE | 0 | ctx->chain | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->family | 0-63 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->table | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_type | 6,8 |
| PARAM_VALUE | 2 | size | 80 |
| CAPPED_DATA | 0 | ctx->family | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | msg_type | $1 |
| HARD_MAX | 1 | msg_type | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nft_trans_table_add() -> nft_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 355145425123598336,3890901033919643648 |
| PARAM_VALUE | 0 | ctx->chain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->table | 4096-ptr_max |
| PARAM_VALUE | 1 | msg_type | 0,2 |
| PARAM_VALUE | 2 | size | 56 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | msg_type | $1 |
| HARD_MAX | 1 | msg_type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |