Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/ethtool/eeprom.c eeprom_fallback() -> ethtool_get_module_eeprom_call()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ethtool 4096-ptr_max
PARAM_VALUE 0 dev->ethtool->module_fw_flash_in_progress 0
PARAM_VALUE 0 dev->sfp_bus 4096-ptr_max
PARAM_VALUE 1 ee 5721442253352693760
PARAM_VALUE 1 ee->cmd 67
PARAM_VALUE 1 ee->len 0-512
PARAM_VALUE 1 ee->magic 0
PARAM_VALUE 1 ee->offset 0-511
PARAM_VALUE 2 data 16,4096-ptr_max
BUF_SIZE 2 data 0-512
BUF_SIZE 2 data 0-512
DATA_SOURCE 2 data r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING

net/ethtool/ioctl.c ethtool_get_any_eeprom() -> ethtool_get_any_eeprom param 2()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->phydev->drv->module_info 0
PARAM_VALUE 1 ee 6609599417395372032
PARAM_VALUE 1 ee->len 1-4096
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 2 data 4096
BUF_SIZE 2 data 4096
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 data r _kzalloc_noprof
NOSPEC 1 ee->offset
USER_DATA 1 ee->cmd 0-u32max
USER_DATA 1 ee->len 1-4095[c]
USER_DATA 1 ee->magic 0-u32max
USER_DATA 1 ee->offset 0-2147487742[c]
NO_OVERFLOW_SIMPLE 1 ee->len
NO_OVERFLOW_SIMPLE 1 ee->offset
USER_PTR 1 ee->data