Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/netfilter/nft_dynset.c nft_dynset_new() -> nft_set_elem_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->nelems.counter | 0-s32max |
| PARAM_VALUE | 0 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tmpl | 4096-ptr_max |
| PARAM_VALUE | 3 | key_end | 0 |
| PARAM_VALUE | 6 | expiration | 0 |
| PARAM_VALUE | 7 | gfp | 2080 |
| DATA_SOURCE | 0 | set | $0 |
net/netfilter/nf_tables_api.c nft_add_set_elem() -> nft_set_elem_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->ops->gc_init | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tmpl | 3331577211204288512 |
| PARAM_VALUE | 1 | tmpl->len | 0-510 |
| PARAM_VALUE | 7 | gfp | 4197568 |
| BUF_SIZE | 2 | key | 16 |
| BUF_SIZE | 3 | key_end | 16 |
| BUF_SIZE | 4 | data | 16 |
| CAPPED_DATA | 6 | expiration | 1 |
| CAPPED_DATA | 6 | expiration | 1 |
| DATA_SOURCE | 0 | set | $1 |
| PARAM_COMPARE | 5 | timeout | >= $6 |
| PARAM_COMPARE | 6 | expiration | <= $5 |
| PARAM_COMPARE | 6 | expiration | <= $5 |
| MEM_ZERO | 1 | tmpl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_del_setelem() -> nft_set_elem_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->name | 4096-ptr_max |
| PARAM_VALUE | 1 | tmpl | 4697705723409809408 |
| PARAM_VALUE | 1 | tmpl->len | 0-510 |
| PARAM_VALUE | 4 | data | 0 |
| PARAM_VALUE | 5 | timeout | 0 |
| PARAM_VALUE | 6 | expiration | 0 |
| PARAM_VALUE | 7 | gfp | 4197568 |
| BUF_SIZE | 2 | key | 16 |
| BUF_SIZE | 3 | key_end | 16 |
| DATA_SOURCE | 0 | set | $1 |
| MEM_ZERO | 1 | tmpl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |