Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/netfilter/nf_tables_api.c nf_tables_newflowtable() -> nft_flowtable_parse_hook()

Type Parameter Key Value
PARAM_VALUE 0 ctx 8863471163152523264
PARAM_VALUE 0 ctx->chain 0
PARAM_VALUE 0 ctx->family 0-2,10
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 nla 4096-ptr_max
PARAM_VALUE 2 flowtable_hook 7468189786900779008
PARAM_VALUE 3 flowtable 4096-ptr_max
PARAM_VALUE 3 flowtable->data.flow_block_lock.dep_map->name 0-255
PARAM_VALUE 3 flowtable->data.flow_block_lock.magic 4096-ptr_max
PARAM_VALUE 3 flowtable->data.gc_work.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 3 flowtable->data.list.next 4096-ptr_max
PARAM_VALUE 3 flowtable->data.list.prev 6586174066279833600
PARAM_VALUE 3 flowtable->data.net.net 4096-ptr_max
PARAM_VALUE 3 flowtable->data.rhashtable.key_len 0-u16max
PARAM_VALUE 3 flowtable->data.rhashtable.max_elems 0-2147483646,2147483648
PARAM_VALUE 3 flowtable->data.rhashtable.p.min_size 4-u16max
PARAM_VALUE 3 flowtable->data.rhashtable.rhlist 0
PARAM_VALUE 3 flowtable->data.rhashtable.tbl 0,4096-ptr_max
PARAM_VALUE 3 flowtable->data.rhashtable.tbl->rcu.func (-1)
PARAM_VALUE 3 flowtable->data.rhashtable.tbl->size 4-u16max
PARAM_VALUE 3 flowtable->data.rhashtable.tbl->walkers.next 4096-ptr_max
PARAM_VALUE 3 flowtable->data.rhashtable.tbl->walkers.prev 4096-ptr_max
PARAM_VALUE 3 flowtable->data.type 4096-ptr_max
PARAM_VALUE 3 flowtable->data.type->owner 0,4096-ptr_max
PARAM_VALUE 3 flowtable->hook_list.next 4096-ptr_max
PARAM_VALUE 3 flowtable->hook_list.next->next 4096-ptr_max
PARAM_VALUE 3 flowtable->hook_list.prev 4096-ptr_max
PARAM_VALUE 3 flowtable->hook_list.prev->next 4096-ptr_max
PARAM_VALUE 3 flowtable->hook_list.prev->prev 4096-ptr_max
PARAM_VALUE 3 flowtable->name 4096-ptr_max
PARAM_VALUE 3 flowtable->table 4096-ptr_max
PARAM_VALUE 3 flowtable->table->flags 2-255
PARAM_VALUE 3 flowtable->table->name 4096-ptr_max
PARAM_VALUE 4 extack 3793953887718821888,4971238048455385088
PARAM_VALUE 5 add 1
BUF_SIZE 1 nla 264
BUF_SIZE 1 nla 264
BUF_SIZE 3 flowtable 896
BUF_SIZE 3 flowtable->name 1-65536
CAPPED_DATA 3 flowtable->data.type->family 1
CAPPED_DATA 3 flowtable->table->family 1
DATA_SOURCE 1 nla $2
DATA_SOURCE 3 flowtable r _kzalloc_noprof
TERMINATED 3 flowtable->name 1
MEM_ZERO 3 &flowtable->data.rhashtable
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]
USER_DATA 3 flowtable->data.flags 0-2
USER_DATA 3 flowtable->data.rhashtable.key_len 0-64[c]
USER_DATA 3 *flowtable->name 0-255
NO_OVERFLOW_SIMPLE 3 flowtable->data.rhashtable.tbl->size
USER_PTR 3 flowtable->name
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_delflowtable_hook() -> nft_flowtable_parse_hook()

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 nla 4096-ptr_max
PARAM_VALUE 2 flowtable_hook 759481854817964032
PARAM_VALUE 3 flowtable 4096-ptr_max
PARAM_VALUE 3 flowtable->name 4096-ptr_max
PARAM_VALUE 4 extack 3793953887718821888,4971238048455385088
PARAM_VALUE 5 add 0
BUF_SIZE 1 nla 264
BUF_SIZE 1 nla 264
DATA_SOURCE 0 ctx $0
DATA_SOURCE 3 flowtable $1
DATA_SOURCE 4 extack $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]
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_flowtable_parse_hook()

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 nla 4096-ptr_max
PARAM_VALUE 2 flowtable_hook 2850545991138566144
PARAM_VALUE 3 flowtable 4096-ptr_max
PARAM_VALUE 3 flowtable->name 4096-ptr_max
PARAM_VALUE 4 extack 3793953887718821888,4971238048455385088
PARAM_VALUE 5 add 0
BUF_SIZE 1 nla 264
BUF_SIZE 1 nla 264
DATA_SOURCE 0 ctx $0
DATA_SOURCE 3 flowtable $2
DATA_SOURCE 4 extack $3
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]
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