Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/tun.c tun_chr_compat_ioctl() -> __tun_chr_ioctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 0,4-u64max |
| PARAM_VALUE | 1 | cmd | 0-1074041864,1074041866-1076647975,1076647980-1076647992,1076647994-u32max |
| PARAM_VALUE | 2 | arg | 0-u32max |
| PARAM_VALUE | 3 | ifreq_len | 32 |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | arg | $2 [m] |
| PARAM_COMPARE | 2 | arg | == $2 |
| USER_DATA | 1 | cmd | 0-1074030081,1074030083-1074041864,1074041866-1076647975 |
| USER_DATA | 2 | arg | 0-u32max |
| UNITS | 3 | ifreq_len | unit_byte |
drivers/net/tun.c tun_chr_ioctl() -> __tun_chr_ioctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 3 | ifreq_len | 40 |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | arg | $2 |
| USER_DATA | 1 | cmd | 0-u32max |
| USER_DATA | 2 | arg | 0-u64max |
| UNITS | 3 | ifreq_len | unit_byte |