Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/netfilter/nft_lookup.c nft_lookup_validate() -> (struct nft_set_ops)->walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->level | 0-15,17-255 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->dtype | 4294967040 |
| PARAM_VALUE | 1 | set->flags | 8-8191 |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | iter | 2448231727579869184 |
| PARAM_VALUE | 2 | iter->count | 0 |
| PARAM_VALUE | 2 | iter->err | 0 |
| PARAM_VALUE | 2 | iter->fn | 5577496667337211904 |
| PARAM_VALUE | 2 | iter->skip | 0 |
| PARAM_VALUE | 2 | iter->type | 2 |
| DATA_SOURCE | 0 | ctx | $0 |
| CONTAINER | 1 | *(-64-192+0) | $(-1) |
| BIT_INFO | 1 | set->flags | 0x8,0x1fff |
| 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] |
net/netfilter/nf_tables_api.c nf_tables_bind_set() -> (struct nft_set_ops)->walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->gc_init | 0,4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->update | 0,7481842563402850304 |
| PARAM_VALUE | 2 | iter | 1347048164785635328 |
| PARAM_VALUE | 2 | iter->count | 0 |
| PARAM_VALUE | 2 | iter->err | 0 |
| PARAM_VALUE | 2 | iter->fn | 6891829096389656576 |
| PARAM_VALUE | 2 | iter->skip | 0 |
| PARAM_VALUE | 2 | iter->type | 2 |
| CAPPED_DATA | 0 | ctx->net->gen | 1 |
| CAPPED_DATA | 1 | &set->bindings | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | set | $1 |
| CONTAINER | 1 | -64-192+0 | $(-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] |
net/netfilter/nf_tables_api.c nf_tables_dump_set() -> (struct nft_set_ops)->walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->family | 0-63 |
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->name | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | iter | 7401360444954226696 |
| PARAM_VALUE | 2 | iter->count | 0 |
| PARAM_VALUE | 2 | iter->err | 0 |
| PARAM_VALUE | 2 | iter->fn | 2195920161182232576 |
| PARAM_VALUE | 2 | iter->type | 1 |
| CAPPED_DATA | 1 | set | 1 |
| CONTAINER | 1 | -64-192+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/netfilter/nf_tables_api.c nft_map_activate() -> (struct nft_set_ops)->walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 3244974684310396928,8677945716462317568 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | iter | 8507405664797069312 |
| PARAM_VALUE | 2 | iter->count | 0 |
| PARAM_VALUE | 2 | iter->err | 0 |
| PARAM_VALUE | 2 | iter->fn | 5199692199033249792 |
| PARAM_VALUE | 2 | iter->skip | 0 |
| PARAM_VALUE | 2 | iter->type | 2 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | set | $1 |
| CONTAINER | 1 | -64-192+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &nft_net->commit_mutex |
net/netfilter/nf_tables_api.c nft_map_deactivate() -> (struct nft_set_ops)->walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->flags | 8-8191 |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops->walk | 4096-ptr_max |
| PARAM_VALUE | 2 | iter | 2626024543148867584 |
| PARAM_VALUE | 2 | iter->count | 0 |
| PARAM_VALUE | 2 | iter->err | 0 |
| PARAM_VALUE | 2 | iter->fn | 5296640472917291008 |
| PARAM_VALUE | 2 | iter->skip | 0 |
| PARAM_VALUE | 2 | iter->type | 2 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | set | $1 |
| CONTAINER | 1 | -64-192+0 | $(-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_set_flush() -> (struct nft_set_ops)->walk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1419139104411324416 |
| PARAM_VALUE | 0 | ctx->chain | 0 |
| PARAM_VALUE | 0 | ctx->family | 0-63 |
| PARAM_VALUE | 0 | ctx->level | 0 |
| PARAM_VALUE | 0 | ctx->net | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->nla | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->table | 4096-ptr_max |
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->name | 4096-ptr_max |
| PARAM_VALUE | 1 | set->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | iter | 2337920003826581504 |
| PARAM_VALUE | 2 | iter->count | 0 |
| PARAM_VALUE | 2 | iter->err | 0 |
| PARAM_VALUE | 2 | iter->fn | 6956250420948860928 |
| PARAM_VALUE | 2 | iter->skip | 0 |
| PARAM_VALUE | 2 | iter->type | 3 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | set | $1 |
| CONTAINER | 1 | -64-192+0 | $(-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 | ||
| 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 |