Defined in 1 files as a prototype:
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_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 1 | chain | 4096-ptr_max |
| PARAM_VALUE | 1 | chain->blob_gen_0 | 4096-ptr_max |
| PARAM_VALUE | 1 | chain->blob_gen_0->size | 0 |
| PARAM_VALUE | 1 | chain->blob_gen_1 | 4096-ptr_max |
| PARAM_VALUE | 1 | chain->blob_gen_1->size | 0 |
| PARAM_VALUE | 1 | chain->flags | 0-6 |
| PARAM_VALUE | 1 | chain->name | 4096-ptr_max |
| PARAM_VALUE | 1 | chain->rules.next | 4096-ptr_max |
| PARAM_VALUE | 1 | chain->rules.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | chain->rules.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | chain->rules.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | chain->rules.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | chain->table | 4096-ptr_max |
| BUF_SIZE | 1 | chain | 128 |
| BUF_SIZE | 1 | chain->blob_gen_0 | 48 |
| BUF_SIZE | 1 | chain->blob_gen_1 | 48 |
| BUF_SIZE | 1 | chain->name | (-1),1-65536 |
| BUF_SIZE | 1 | chain->udata | s32min-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | chain->flags | 0-6 |
| USER_DATA | 1 | *chain->name | 0-255 |
| USER_PTR | 1 | 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 |