Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- net/netfilter/nf_tables_api.c
- net/netfilter/nft_set_hash.c, line 430
- net/netfilter/nft_set_pipapo.c
- net/netfilter/nft_set_rbtree.c, line 940
Smatch caller information:
net/netfilter/nft_set_hash.c nft_rhash_gc() -> nft_trans_gc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->net.net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | set->refs.refs.counter | 1 |
| PARAM_VALUE | 2 | gfp | 3264 |
| CAPPED_DATA | 0 | set->net.net | 1 |
| DATA_SOURCE | 0 | set | r nft_set_container_of |
| HALF_LOCKED2 | &pool->lock |
net/netfilter/nf_tables_api.c nft_trans_gc_queue_async() -> nft_trans_gc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set->net.net | 1-u64max |
| PARAM_VALUE | 2 | gfp | 2080 |
| DATA_SOURCE | 1 | gc_seq | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| NO_OVERFLOW_SIMPLE | 0 | set->size | |
| HALF_LOCKED2 | &pool->lock |
net/netfilter/nf_tables_api.c nft_trans_gc_queue_sync() -> nft_trans_gc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set->net.net | 1-u64max |
| PARAM_VALUE | 1 | gc_seq | 0 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 2 | gfp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | set->size | |
| LOCK2 | &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/nft_set_pipapo.c pipapo_gc_queue() -> nft_trans_gc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->data->clone | 0 |
| PARAM_VALUE | 0 | set->dead | 0 |
| PARAM_VALUE | 0 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | set->ops->commit | 2593384131154317312,2647269727729631232 |
| PARAM_VALUE | 1 | gc_seq | 0 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &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/nft_set_pipapo.c pipapo_gc_scan() -> nft_trans_gc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->dead | 0 |
| PARAM_VALUE | 0 | set->net.net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | set->ops->commit | 2593384131154317312,2647269727729631232 |
| PARAM_VALUE | 1 | gc_seq | 0 |
| PARAM_VALUE | 2 | gfp | 3264 |
| CAPPED_DATA | 0 | set->net.net | 1 |
| DATA_SOURCE | 0 | set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &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/nft_set_pipapo.c pipapo_gc_scan() -> nft_trans_gc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->data->gc_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | set->data->gc_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | set->data->gc_head.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | set->dead | 0 |
| PARAM_VALUE | 0 | set->net.net | 1-u64max |
| PARAM_VALUE | 0 | set->net.net->ns.__ns_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | set->ops->commit | 2593384131154317312,2647269727729631232 |
| PARAM_VALUE | 1 | gc_seq | 0 |
| PARAM_VALUE | 2 | gfp | 3264 |
| CAPPED_DATA | 0 | set->net.net | 1 |
| DATA_SOURCE | 0 | set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &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/nft_set_rbtree.c nft_rbtree_gc_queue() -> nft_trans_gc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->data->array_next | 0 |
| PARAM_VALUE | 0 | set->dead | 0 |
| PARAM_VALUE | 0 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | set->ops->commit | 2593384131154317312,2647269727729631232 |
| PARAM_VALUE | 1 | gc_seq | 0 |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | set | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &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 |