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_init() -> nft_set_elem_expr_clone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->num_exprs | 1-255 |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->update | 7481842563402850304 |
| BUF_SIZE | 2 | expr_array | 16 |
| CAPPED_DATA | 0 | ctx->net->gen | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | set | r nft_set_lookup_global |
| FUZZY_MAX | 1 | set->num_exprs | 1 |
| BIT_INFO | 1 | set->flags | 0x0,0x1fbd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
net/netfilter/nf_tables_api.c nft_add_set_elem() -> nft_set_elem_expr_clone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 2576146516772204544 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->num_exprs | 1-255 |
| BUF_SIZE | 2 | expr_array | 16 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | set | $1 |
| FUZZY_MAX | 1 | set->num_exprs | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| 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 |