Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/netfilter/nft_immediate.c nft_immediate_deactivate() -> nft_chain_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->flags | 4-31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &nft_net->commit_mutex |
net/netfilter/nf_tables_api.c __nf_tables_abort() -> nft_chain_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &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_release_table() -> nft_chain_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| CAPPED_DATA | 0 | &chain->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| TYPE_LOCK | (struct nftables_pernet)->commit_mutex |
net/netfilter/nf_tables_api.c nf_tables_addchain() -> nft_chain_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->blob_gen_0 | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->blob_gen_0->size | 0 |
| PARAM_VALUE | 0 | chain->blob_gen_1 | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->blob_gen_1->size | 0 |
| PARAM_VALUE | 0 | chain->flags | 1-6 |
| PARAM_VALUE | 0 | chain->name | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->rules.next | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->rules.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->rules.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->rules.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->rules.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->table | 4096-ptr_max |
| BUF_SIZE | 0 | chain | 128 |
| BUF_SIZE | 0 | chain->blob_gen_0 | 48 |
| BUF_SIZE | 0 | chain->blob_gen_1 | 48 |
| BUF_SIZE | 0 | chain->name | (-1),1-65536 |
| BUF_SIZE | 0 | chain->udata | s32min-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | chain->flags | 1-6 |
| USER_DATA | 0 | *chain->name | 0-255 |
| USER_PTR | 0 | chain->name | |
| 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_commit() -> nft_chain_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |