Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/intel/e1000/e1000_main.c e1000_dump_eeprom() -> (struct ethtool_ops)->get_eeprom()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops 4096-ptr_max
PARAM_VALUE 1 eeprom 1288508930684854272
PARAM_VALUE 1 eeprom->len 0-4000000
PARAM_VALUE 1 eeprom->offset 0
PARAM_VALUE 2 bytes 16,4096-ptr_max
BUF_SIZE 2 bytes 0-u32max
BUF_SIZE 2 bytes 0-u32max
DATA_SOURCE 2 bytes r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

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