Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/bpf/tnum.c tnum_subreg() -> tnum_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 4 |
| DATA_SOURCE | 0 | a | $0 |
| BIT_INFO | 0 | a | 0x0,0x0 |
kernel/bpf/verifier.c coerce_reg_to_size() -> tnum_cast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 1-2,4 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 1 | size | $1 |
| BIT_INFO | 0 | a | 0x0,0x0 |
| UNITS | 1 | size | unit_byte |