Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- net/netfilter/nf_tables_api.c
- net/netfilter/nft_set_bitmap.c, line 286
- net/netfilter/nft_set_hash.c
- net/netfilter/nft_set_pipapo.c, line 2372
- net/netfilter/nft_set_rbtree.c
Smatch caller information:
net/netfilter/nft_set_hash.c nft_hash_destroy() -> nf_tables_set_elem_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->data->buckets | 1-u32max |
| PARAM_VALUE | 1 | set->data->table | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->ksize | 0,4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->privsize | 468149699042549760,3312422614878380032,7113881382471426048,8830831838283235328,9093638224305344512 |
| PARAM_VALUE | 1 | set->ops->walk | 4096-ptr_max |
| BUF_SIZE | 1 | set | (-1),256-s32max |
| BUF_SIZE | 1 | set | (-1),256-s32max |
| BUF_SIZE | 1 | set->ops | (-1),168 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | set | $1 |
| NOSPEC | 1 | set->klen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| USER_DATA | 1 | set->dlen | 1-64 |
| USER_DATA | 1 | set->dtype | 0-4294967039,4294967041-u32max |
| USER_DATA | 1 | set->flags | 0-510 |
| USER_DATA | 1 | set->gc_int | 0-u32max |
| USER_DATA | 1 | set->klen | 1-64[c] |
| USER_DATA | 1 | set->ktype | 0-u32max |
| USER_DATA | 1 | set->objtype | 1-10 |
| USER_DATA | 1 | set->policy | 0-1 |
| USER_DATA | 1 | set->size | 0 |
| HALF_LOCKED2 | &nft_net->commit_mutex |
net/netfilter/nft_set_hash.c nft_rhash_elem_destroy() -> nf_tables_set_elem_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ct_priv->control_lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &efx->tc->mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem |
net/netfilter/nf_tables_api.c nft_set_catchall_destroy() -> nf_tables_set_elem_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->walk | 4096-ptr_max |
| PARAM_VALUE | 1 | set->use | 0 |
| CAPPED_DATA | 1 | set->num_exprs | 1 |
| CAPPED_DATA | 1 | &set->catchall_list | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | set | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
net/netfilter/nf_tables_api.c nft_trans_elems_destroy() -> nf_tables_set_elem_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 5321825478335520768 |
| PARAM_VALUE | 0 | ctx->family | 0-63 |
| PARAM_VALUE | 0 | ctx->level | 0 |
| PARAM_VALUE | 0 | ctx->nla | 0 |
| PARAM_VALUE | 0 | ctx->portid | 0 |
| PARAM_VALUE | 0 | ctx->table | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/netfilter/nf_tables_api.c nft_trans_gc_trans_free() -> nf_tables_set_elem_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1696717899151486976 |
| PARAM_VALUE | 0 | ctx->chain | 0 |
| PARAM_VALUE | 0 | ctx->family | 0 |
| PARAM_VALUE | 0 | ctx->flags | 0 |
| PARAM_VALUE | 0 | ctx->level | 0 |
| PARAM_VALUE | 0 | ctx->nla | 0 |
| PARAM_VALUE | 0 | ctx->portid | 0 |
| PARAM_VALUE | 0 | ctx->report | 0 |
| PARAM_VALUE | 0 | ctx->seq | 0 |
| PARAM_VALUE | 0 | ctx->table | 0 |
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| CAPPED_DATA | 1 | set->net.net | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
net/netfilter/nft_set_pipapo.c nft_set_pipapo_match_destroy() -> nf_tables_set_elem_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->ksize | 0,4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->privsize | 468149699042549760,3312422614878380032,7113881382471426048,8830831838283235328,9093638224305344512 |
| PARAM_VALUE | 1 | set->ops->walk | 4096-ptr_max |
| BUF_SIZE | 1 | set | (-1),256-s32max |
| BUF_SIZE | 1 | set | (-1),256-s32max |
| BUF_SIZE | 1 | set->ops | (-1),168 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | set | $1 |
| NOSPEC | 1 | set->klen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| USER_DATA | 1 | set->dlen | 1-64 |
| USER_DATA | 1 | set->dtype | 0-4294967039,4294967041-u32max |
| USER_DATA | 1 | set->flags | 0-510 |
| USER_DATA | 1 | set->gc_int | 0-u32max |
| USER_DATA | 1 | set->klen | 1-64[c] |
| USER_DATA | 1 | set->ktype | 0-u32max |
| USER_DATA | 1 | set->objtype | 1-10 |
| USER_DATA | 1 | set->policy | 0-1 |
| USER_DATA | 1 | set->size | 0 |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock |
net/netfilter/nft_set_rbtree.c nft_rbtree_destroy() -> nf_tables_set_elem_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->ksize | 0,4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->privsize | 468149699042549760,3312422614878380032,7113881382471426048,8830831838283235328,9093638224305344512 |
| PARAM_VALUE | 1 | set->ops->walk | 4096-ptr_max |
| PARAM_VALUE | 2 | elem_priv | 4096-ptr_max |
| BUF_SIZE | 1 | set | (-1),256-s32max |
| BUF_SIZE | 1 | set | (-1),256-s32max |
| BUF_SIZE | 1 | set->ops | (-1),168 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | set | $1 |
| NOSPEC | 1 | set->klen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| USER_DATA | 1 | set->dlen | 1-64 |
| USER_DATA | 1 | set->dtype | 0-4294967039,4294967041-u32max |
| USER_DATA | 1 | set->flags | 0-510 |
| USER_DATA | 1 | set->gc_int | 0-u32max |
| USER_DATA | 1 | set->klen | 1-64[c] |
| USER_DATA | 1 | set->ktype | 0-u32max |
| USER_DATA | 1 | set->objtype | 1-10 |
| USER_DATA | 1 | set->policy | 0-1 |
| USER_DATA | 1 | set->size | 0 |
| HALF_LOCKED2 | &nft_net->commit_mutex |
net/netfilter/nft_set_rbtree.c nft_rbtree_destroy() -> nf_tables_set_elem_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->data->root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->ksize | 0,4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->privsize | 468149699042549760,3312422614878380032,7113881382471426048,8830831838283235328,9093638224305344512 |
| PARAM_VALUE | 1 | set->ops->walk | 4096-ptr_max |
| PARAM_VALUE | 2 | elem_priv | 4096-ptr_max |
| BUF_SIZE | 1 | set | (-1),256-s32max |
| BUF_SIZE | 1 | set | (-1),256-s32max |
| BUF_SIZE | 1 | set->ops | (-1),168 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | set | $1 |
| NOSPEC | 1 | set->klen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| USER_DATA | 1 | set->dlen | 1-64 |
| USER_DATA | 1 | set->dtype | 0-4294967039,4294967041-u32max |
| USER_DATA | 1 | set->flags | 0-510 |
| USER_DATA | 1 | set->gc_int | 0-u32max |
| USER_DATA | 1 | set->klen | 1-64[c] |
| USER_DATA | 1 | set->ktype | 0-u32max |
| USER_DATA | 1 | set->objtype | 1-10 |
| USER_DATA | 1 | set->policy | 0-1 |
| USER_DATA | 1 | set->size | 0 |
| HALF_LOCKED2 | &nft_net->commit_mutex |
net/netfilter/nft_set_bitmap.c nft_bitmap_destroy() -> nf_tables_set_elem_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->ksize | 0,4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->privsize | 468149699042549760,3312422614878380032,7113881382471426048,8830831838283235328,9093638224305344512 |
| PARAM_VALUE | 1 | set->ops->walk | 4096-ptr_max |
| PARAM_VALUE | 2 | elem_priv | 4096-ptr_max |
| BUF_SIZE | 1 | set | (-1),256-s32max |
| BUF_SIZE | 1 | set | (-1),256-s32max |
| BUF_SIZE | 1 | set->ops | (-1),168 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | set | $1 |
| NOSPEC | 1 | set->klen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ctx->flags | 0-u16max[u] |
| USER_DATA | 0 | ctx->report | 0-1 |
| USER_DATA | 0 | ctx->seq | 0-u32max[u] |
| USER_DATA | 1 | set->dlen | 1-64 |
| USER_DATA | 1 | set->dtype | 0-4294967039,4294967041-u32max |
| USER_DATA | 1 | set->flags | 0-510 |
| USER_DATA | 1 | set->gc_int | 0-u32max |
| USER_DATA | 1 | set->klen | 1-64[c] |
| USER_DATA | 1 | set->ktype | 0-u32max |
| USER_DATA | 1 | set->objtype | 1-10 |
| USER_DATA | 1 | set->policy | 0-1 |
| USER_DATA | 1 | set->size | 0 |
| HALF_LOCKED2 | &nft_net->commit_mutex |