Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ethtool/ioctl.c ethtool_set_rxfh() -> ethtool_copy_validate_indir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indir | 16,4096-ptr_max |
| PARAM_VALUE | 1 | useraddr | 4096-ptr_max |
| PARAM_VALUE | 2 | num_rx_rings | 0-s32max |
| PARAM_VALUE | 3 | size | 1-4294967294 |
| BUF_SIZE | 0 | indir | 0-u32max |
| BUF_SIZE | 0 | indir | 0-u32max |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 2 | num_rx_rings | r ethtool_get_rx_ring_count |
| UNITS | 3 | size | unit_array_size |
| HALF_LOCKED2 | global &rtnl_mutex |
net/ethtool/ioctl.c ethtool_set_rxfh_indir() -> ethtool_copy_validate_indir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | indir | 16,4096-ptr_max |
| PARAM_VALUE | 1 | useraddr | 4096-ptr_max |
| PARAM_VALUE | 2 | num_rx_rings | 0-s32max |
| PARAM_VALUE | 3 | size | 1-u32max |
| BUF_SIZE | 0 | indir | 4 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | indir | r _kmalloc_array_noprof |
| DATA_SOURCE | 2 | num_rx_rings | r ethtool_get_rx_ring_count |
| NO_OVERFLOW_SIMPLE | 3 | size | |
| UNITS | 3 | size | unit_array_size |
| HALF_LOCKED2 | global &rtnl_mutex |