Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/netfilter/nf_tables_api.c nf_tables_addchain() -> nft_chain_parse_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | basechain | 0 |
| PARAM_VALUE | 2 | nla | 4096-ptr_max |
| PARAM_VALUE | 3 | hook | 416673469409673216 |
| PARAM_VALUE | 3 | hook->list.next | 0 |
| PARAM_VALUE | 3 | hook->list.prev | 0 |
| PARAM_VALUE | 3 | hook->num | 0 |
| PARAM_VALUE | 3 | hook->priority | 0 |
| PARAM_VALUE | 3 | hook->type | 0 |
| PARAM_VALUE | 4 | family | 0-63 |
| PARAM_VALUE | 5 | flags | 0-6 |
| PARAM_VALUE | 6 | extack | 3793953887718821888,4971238048455385088 |
| BUF_SIZE | 2 | nla | 264 |
| BUF_SIZE | 2 | nla | 264 |
| CAPPED_DATA | 4 | family | 1 |
| DATA_SOURCE | 4 | family | $1 |
| DATA_SOURCE | 5 | flags | $3 |
| DATA_SOURCE | 6 | extack | $4 |
| BIT_INFO | 5 | flags | 0x0,0x3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 5 | flags | 0-6 |
| 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_updchain() -> nft_chain_parse_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | basechain | 4096-ptr_max |
| PARAM_VALUE | 2 | nla | 4096-ptr_max |
| PARAM_VALUE | 3 | hook | 2132586748552826880 |
| PARAM_VALUE | 3 | hook->list.next | 2132586748552826896 |
| PARAM_VALUE | 3 | hook->list.prev | 2132586748552826896 |
| PARAM_VALUE | 3 | hook->num | 0 |
| PARAM_VALUE | 3 | hook->priority | 0 |
| PARAM_VALUE | 3 | hook->type | 0 |
| PARAM_VALUE | 4 | family | 0-63 |
| PARAM_VALUE | 5 | flags | 0-7 |
| PARAM_VALUE | 6 | extack | 3793953887718821888,4971238048455385088 |
| BUF_SIZE | 2 | nla | 264 |
| BUF_SIZE | 2 | nla | 264 |
| DATA_SOURCE | 1 | basechain | r nft_base_chain |
| DATA_SOURCE | 5 | flags | $3 |
| DATA_SOURCE | 6 | extack | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 5 | flags | 0-7[c] |
| 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_chain_parse_hook()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | basechain | 4096-ptr_max |
| PARAM_VALUE | 1 | basechain->ops.hooknum | 5 |
| PARAM_VALUE | 2 | nla | 4096-ptr_max |
| PARAM_VALUE | 3 | hook | 4870263588756078592 |
| PARAM_VALUE | 3 | hook->list.next | 0 |
| PARAM_VALUE | 3 | hook->list.prev | 0 |
| PARAM_VALUE | 3 | hook->num | 0 |
| PARAM_VALUE | 3 | hook->priority | 0 |
| PARAM_VALUE | 3 | hook->type | 0 |
| PARAM_VALUE | 4 | family | 0-63 |
| PARAM_VALUE | 6 | extack | 3793953887718821888,4971238048455385088 |
| BUF_SIZE | 2 | nla | 264 |
| BUF_SIZE | 2 | nla | 264 |
| DATA_SOURCE | 1 | basechain | $1 |
| DATA_SOURCE | 6 | extack | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |