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 nft_add_set_elem() -> nft_validate_register_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 6182832848186085376 |
| PARAM_VALUE | 1 | reg | 0,4 |
| PARAM_VALUE | 3 | type | 0,4294967040 |
| PARAM_VALUE | 4 | len | 1-64 |
| DATA_SOURCE | 1 | reg | r nft_type_to_reg |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 nft_parse_register_store() -> nft_validate_register_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 0-19 |
| PARAM_VALUE | 3 | type | 0,4294967040 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 2 | data | $3 |
| DATA_SOURCE | 3 | type | $4 |
| DATA_SOURCE | 4 | len | $5 |
| 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] |
| USER_DATA | 4 | len | 0-255 |
| UNITS | 4 | len | unit_byte |
net/netfilter/nf_tables_api.c nft_setelem_data_validate() -> nft_validate_register_store()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 0,4 |
| PARAM_VALUE | 3 | type | 0,4294967040 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | reg | r nft_type_to_reg |
| FUZZY_MAX | 3 | type | 4294967040 |
| BIT_INFO | 3 | type | 0x0,0xffffff00 |
| HARD_MAX | 3 | type | 4294967040 |
| 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] |
| UNITS | 4 | len | unit_byte |