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_commit_list_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 trans 4096-ptr_max
PARAM_VALUE 1 trans->list.next 4096-ptr_max
PARAM_VALUE 1 trans->list.next->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 trans->msg_type 9,11
PARAM_VALUE 1 trans->net 4096-ptr_max
PARAM_VALUE 1 trans->table 4096-ptr_max
BUF_SIZE 1 trans 56,72,80,112,120
BUF_SIZE 1 trans 56,72,80,112,120
DATA_SOURCE 1 trans r nft_trans_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 trans->flags 0-u16max[u]
USER_DATA 1 trans->report 0-1
USER_DATA 1 trans->seq 0-u32max[u]
UNITS 0 net 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_updchain() -> nft_trans_commit_list_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 trans 4096-ptr_max
PARAM_VALUE 1 trans->list.next 4096-ptr_max
PARAM_VALUE 1 trans->list.next->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 trans->msg_type 3
PARAM_VALUE 1 trans->net 4096-ptr_max
PARAM_VALUE 1 trans->table 4096-ptr_max
BUF_SIZE 1 trans 56,72,80,112,120
BUF_SIZE 1 trans 56,72,80,112,120
DATA_SOURCE 1 trans r nft_trans_alloc_chain
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 trans->flags 0-u16max[u]
USER_DATA 1 trans->report 0-1
USER_DATA 1 trans->seq 0-u32max[u]
UNITS 0 net 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_updobj() -> nft_trans_commit_list_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->nf.defrag_ipv4_users 1-u32max
PARAM_VALUE 0 net->nf.defrag_ipv6_users 1-u32max
PARAM_VALUE 1 trans 4096-ptr_max
PARAM_VALUE 1 trans->list.next 4096-ptr_max
PARAM_VALUE 1 trans->list.next->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 trans->msg_type 18
PARAM_VALUE 1 trans->net 4096-ptr_max
PARAM_VALUE 1 trans->table 4096-ptr_max
BUF_SIZE 1 trans 56,72,80,112,120
BUF_SIZE 1 trans 56,72,80,112,120
DATA_SOURCE 1 trans r nft_trans_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 trans->flags 0-u16max[u]
USER_DATA 1 trans->report 0-1
USER_DATA 1 trans->seq 0-u32max[u]
UNITS 0 net 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_commit_list_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 trans 4096-ptr_max
PARAM_VALUE 1 trans->list.next 4096-ptr_max
PARAM_VALUE 1 trans->list.next->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 trans->msg_type 0
PARAM_VALUE 1 trans->net 4096-ptr_max
PARAM_VALUE 1 trans->table 4096-ptr_max
BUF_SIZE 1 trans 56,72,80,112,120
BUF_SIZE 1 trans 56,72,80,112,120
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 1 trans r nft_trans_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 trans->flags 0-u16max[u]
USER_DATA 1 trans->report 0-1
USER_DATA 1 trans->seq 0-u32max[u]
UNITS 0 net 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_delchain_hook() -> nft_trans_commit_list_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 trans 4096-ptr_max
PARAM_VALUE 1 trans->list.next 4096-ptr_max
PARAM_VALUE 1 trans->list.next->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 trans->msg_type 5
PARAM_VALUE 1 trans->net 4096-ptr_max
PARAM_VALUE 1 trans->table 4096-ptr_max
BUF_SIZE 1 trans 56,72,80,112,120
BUF_SIZE 1 trans 56,72,80,112,120
DATA_SOURCE 1 trans r nft_trans_alloc_chain
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 trans->flags 0-u16max[u]
USER_DATA 1 trans->report 0-1
USER_DATA 1 trans->seq 0-u32max[u]
UNITS 0 net 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_commit_list_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 trans 4096-ptr_max
PARAM_VALUE 1 trans->list.next 4096-ptr_max
PARAM_VALUE 1 trans->list.next->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 trans->msg_type 24
PARAM_VALUE 1 trans->net 4096-ptr_max
PARAM_VALUE 1 trans->table 4096-ptr_max
BUF_SIZE 1 trans 56,72,80,112,120
BUF_SIZE 1 trans 56,72,80,112,120
DATA_SOURCE 1 trans r nft_trans_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 trans->flags 0-u16max[u]
USER_DATA 1 trans->report 0-1
USER_DATA 1 trans->seq 0-u32max[u]
UNITS 0 net 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_commit_list_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 trans 4096-ptr_max
PARAM_VALUE 1 trans->list.next 4096-ptr_max
PARAM_VALUE 1 trans->list.next->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 trans->msg_type 22
PARAM_VALUE 1 trans->net 4096-ptr_max
PARAM_VALUE 1 trans->table 4096-ptr_max
BUF_SIZE 1 trans 56,72,80,112,120
BUF_SIZE 1 trans 56,72,80,112,120
DATA_SOURCE 1 trans r nft_trans_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 trans->flags 0-u16max[u]
USER_DATA 1 trans->report 0-1
USER_DATA 1 trans->seq 0-u32max[u]
UNITS 0 net 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_trans_chain_add() -> nft_trans_commit_list_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 trans 4096-ptr_max
PARAM_VALUE 1 trans->list.next 4096-ptr_max
PARAM_VALUE 1 trans->list.next->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 trans->msg_type 3,5
PARAM_VALUE 1 trans->net 4096-ptr_max
PARAM_VALUE 1 trans->table 4096-ptr_max
BUF_SIZE 1 trans 56,72,80,112,120
BUF_SIZE 1 trans 56,72,80,112,120
DATA_SOURCE 1 trans r nft_trans_alloc_chain
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 trans->flags 0-u16max[u]
USER_DATA 1 trans->report 0-1
USER_DATA 1 trans->seq 0-u32max[u]
UNITS 0 net 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_commit_list_add_elem() -> nft_trans_commit_list_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 trans 4096-ptr_max
PARAM_VALUE 1 trans->list.next 4096-ptr_max
PARAM_VALUE 1 trans->list.next->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 trans->msg_type 14
BUF_SIZE 1 trans 56,72,80,112,120
BUF_SIZE 1 trans 56,72,80,112,120
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 trans $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 trans->flags 0-u16max[u]
USER_DATA 1 trans->report 0-1
USER_DATA 1 trans->seq 0-u32max[u]
UNITS 0 net unit_byte
HALF_LOCKED2 rcu_read

net/netfilter/nf_tables_api.c nft_trans_flowtable_add() -> nft_trans_commit_list_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 trans 4096-ptr_max
PARAM_VALUE 1 trans->list.next 4096-ptr_max
PARAM_VALUE 1 trans->list.next->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 trans->msg_type 22,24
PARAM_VALUE 1 trans->net 4096-ptr_max
PARAM_VALUE 1 trans->table 4096-ptr_max
BUF_SIZE 1 trans 56,72,80,112,120
BUF_SIZE 1 trans 56,72,80,112,120
DATA_SOURCE 1 trans r nft_trans_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 trans->flags 0-u16max[u]
USER_DATA 1 trans->report 0-1
USER_DATA 1 trans->seq 0-u32max[u]
UNITS 0 net 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_commit_list_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 trans 4096-ptr_max
PARAM_VALUE 1 trans->list.next 4096-ptr_max
PARAM_VALUE 1 trans->list.next->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 trans->msg_type 18,20
PARAM_VALUE 1 trans->net 4096-ptr_max
PARAM_VALUE 1 trans->table 4096-ptr_max
BUF_SIZE 1 trans 56,72,80,112,120
BUF_SIZE 1 trans 56,72,80,112,120
DATA_SOURCE 1 trans r nft_trans_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 trans->flags 0-u16max[u]
USER_DATA 1 trans->report 0-1
USER_DATA 1 trans->seq 0-u32max[u]
UNITS 0 net 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_commit_list_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 trans 4096-ptr_max
PARAM_VALUE 1 trans->list.next 4096-ptr_max
PARAM_VALUE 1 trans->list.next->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 trans->msg_type 6,8
PARAM_VALUE 1 trans->net 4096-ptr_max
PARAM_VALUE 1 trans->table 4096-ptr_max
BUF_SIZE 1 trans 56,72,80,112,120
BUF_SIZE 1 trans 56,72,80,112,120
DATA_SOURCE 1 trans r nft_trans_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 trans->flags 0-u16max[u]
USER_DATA 1 trans->report 0-1
USER_DATA 1 trans->seq 0-u32max[u]
UNITS 0 net 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_commit_list_add_tail()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 trans 4096-ptr_max
PARAM_VALUE 1 trans->list.next 4096-ptr_max
PARAM_VALUE 1 trans->list.next->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->next 4096-ptr_max
PARAM_VALUE 1 trans->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 trans->msg_type 0,2
PARAM_VALUE 1 trans->net 4096-ptr_max
PARAM_VALUE 1 trans->table 4096-ptr_max
BUF_SIZE 1 trans 56,72,80,112,120
BUF_SIZE 1 trans 56,72,80,112,120
DATA_SOURCE 1 trans r nft_trans_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 trans->flags 0-u16max[u]
USER_DATA 1 trans->report 0-1
USER_DATA 1 trans->seq 0-u32max[u]
UNITS 0 net 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