Defined in 1 files as a function:
Referenced in 3 files:
- include/net/netfilter/nf_tables.h, line 774
- net/netfilter/nf_tables_api.c
- net/netfilter/nft_dynset.c
Smatch caller information:
net/netfilter/nft_dynset.c nft_dynset_ext_add_expr() -> nft_set_ext_add_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 4096-ptr_max |
| PARAM_VALUE | 0 | tmpl->len | 0-510 |
| PARAM_VALUE | 1 | id | 6 |
| PARAM_VALUE | 2 | len | 8-263 |
| MEM_ZERO | 0 | tmpl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
net/netfilter/nft_dynset.c nft_dynset_init() -> nft_set_ext_add_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 4096-ptr_max |
| PARAM_VALUE | 0 | tmpl->len | 16 |
| PARAM_VALUE | 1 | id | 0 |
| MEM_ZERO | 0 | tmpl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
net/netfilter/nft_dynset.c nft_dynset_init() -> nft_set_ext_add_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 4096-ptr_max |
| PARAM_VALUE | 0 | tmpl->len | 0-278 |
| PARAM_VALUE | 1 | id | 2 |
| MEM_ZERO | 0 | tmpl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
net/netfilter/nft_dynset.c nft_set_ext_add() -> nft_set_ext_add_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 4 |
| PARAM_VALUE | 2 | len | 0 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | id | $1 |
| MEM_ZERO | 0 | tmpl | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/nf_tables_api.c nft_add_set_elem() -> nft_set_ext_add_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 3331577211204288512 |
| PARAM_VALUE | 0 | tmpl->len | 0-510 |
| PARAM_VALUE | 1 | id | 0 |
| PARAM_VALUE | 2 | len | 1-64 |
| CAPPED_DATA | 2 | len | 1 |
| MEM_ZERO | 0 | tmpl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | 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_add_set_elem() -> nft_set_ext_add_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 3331577211204288512 |
| PARAM_VALUE | 0 | tmpl->len | 0-510 |
| PARAM_VALUE | 1 | id | 1 |
| PARAM_VALUE | 2 | len | 1-64 |
| MEM_ZERO | 0 | tmpl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | 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_add_set_elem() -> nft_set_ext_add_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 3331577211204288512 |
| PARAM_VALUE | 0 | tmpl->len | 0-510 |
| PARAM_VALUE | 1 | id | 6 |
| MEM_ZERO | 0 | tmpl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | 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_add_set_elem() -> nft_set_ext_add_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 3331577211204288512 |
| PARAM_VALUE | 0 | tmpl->len | 0-510 |
| PARAM_VALUE | 1 | id | 2 |
| PARAM_VALUE | 2 | len | 1-64 |
| MEM_ZERO | 0 | 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_add_set_elem() -> nft_set_ext_add_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 3331577211204288512 |
| PARAM_VALUE | 0 | tmpl->len | 0-510 |
| PARAM_VALUE | 1 | id | 5 |
| PARAM_VALUE | 2 | len | 1-255 |
| DATA_SOURCE | 2 | len | r nla_len |
| FUZZY_MAX | 2 | len | 1 |
| MEM_ZERO | 0 | 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_ext_add_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 4697705723409809408 |
| PARAM_VALUE | 0 | tmpl->len | 0-510 |
| PARAM_VALUE | 1 | id | 0 |
| PARAM_VALUE | 2 | len | 1-64 |
| CAPPED_DATA | 2 | len | 1 |
| MEM_ZERO | 0 | tmpl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | 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_del_setelem() -> nft_set_ext_add_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 4697705723409809408 |
| PARAM_VALUE | 0 | tmpl->len | 0-510 |
| PARAM_VALUE | 1 | id | 1 |
| PARAM_VALUE | 2 | len | 1-64 |
| MEM_ZERO | 0 | tmpl | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | 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_set_ext_add() -> nft_set_ext_add_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tmpl | 3331577211204288512,4697705723409809408 |
| PARAM_VALUE | 0 | tmpl->len | 0-510 |
| PARAM_VALUE | 1 | id | 3-4,7 |
| PARAM_VALUE | 2 | len | 0 |
| DATA_SOURCE | 0 | tmpl | $0 |
| DATA_SOURCE | 1 | id | $1 |
| HARD_MAX | 1 | id | 7 |
| MEM_ZERO | 0 | 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 |