Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
lib/nlattr.c __nla_validate_parse() -> validate_nla()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nla | 4096-ptr_max |
| PARAM_VALUE | 0 | nla->nla_len | 4-u16max |
| PARAM_VALUE | 1 | maxtype | 1-s32max |
| PARAM_VALUE | 2 | policy | 1-u64max |
| PARAM_VALUE | 5 | depth | 0-9 |
| BUF_SIZE | 2 | policy | (-1),32,48,64,80,96,112,208,512,1120 |
| BUF_SIZE | 2 | policy | (-1),32,48,64,80,96,112,208,512,1120 |
| CAPPED_DATA | 0 | nla->nla_len | 1 |
| DATA_SOURCE | 1 | maxtype | $2 |
| DATA_SOURCE | 2 | policy | $3 |
| DATA_SOURCE | 3 | validate | $4 |
| DATA_SOURCE | 4 | extack | $5 |
| DATA_SOURCE | 5 | depth | $7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | nla->nla_len | 4-u16max[c] |
| USER_DATA | 0 | nla->nla_type | 0-u16max |
| USER_PTR | 0 | nla |