Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/ethtool/cmis_cdb.c cmis_cdb_module_features_get() -> ethtool_cmis_cdb_execute_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->get_module_eeprom_by_page 4096-ptr_max
PARAM_VALUE 0 *dev->name 0-255
PARAM_VALUE 1 args 4831904839326081024
PARAM_VALUE 1 args->err_msg 0
PARAM_VALUE 1 args->flags 2-3
PARAM_VALUE 1 args->max_duration 0
PARAM_VALUE 1 args->msleep_pre_rpl 1000
PARAM_VALUE 1 args->read_write_len_ext 8-128
PARAM_VALUE 1 args->req.chk_code 0
PARAM_VALUE 1 args->req.epl 0,4096-ptr_max
PARAM_VALUE 1 args->req.epl_len 0-2048
PARAM_VALUE 1 args->req.id 64
PARAM_VALUE 1 args->req.lpl_len 0
PARAM_VALUE 1 args->rpl_exp_len 36
DATA_SOURCE 0 dev $1
NO_OVERFLOW_SIMPLE 1 args->req.epl_len
HALF_LOCKED2 &pool->lock

net/ethtool/cmis_cdb.c cmis_cdb_validate_password() -> ethtool_cmis_cdb_execute_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->get_module_eeprom_by_page 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 *dev->name 0-255
PARAM_VALUE 1 args 1700483859439837184
PARAM_VALUE 1 args->err_msg 0
PARAM_VALUE 1 args->flags 3
PARAM_VALUE 1 args->max_duration 0
PARAM_VALUE 1 args->msleep_pre_rpl 1000
PARAM_VALUE 1 args->read_write_len_ext 8-128
PARAM_VALUE 1 args->req.chk_code 0
PARAM_VALUE 1 args->req.epl 0,4096-ptr_max
PARAM_VALUE 1 args->req.epl_len 0-2048
PARAM_VALUE 1 args->req.id 0
PARAM_VALUE 1 args->req.lpl_len 2
PARAM_VALUE 1 args->rpl_exp_len 2
DATA_SOURCE 0 dev $1
NO_OVERFLOW_SIMPLE 1 args->req.epl_len
HALF_LOCKED2 &pool->lock

net/ethtool/cmis_fw_update.c cmis_fw_update_commit_image() -> ethtool_cmis_cdb_execute_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 *dev->name 0-255
PARAM_VALUE 1 args 3793125860222353408
PARAM_VALUE 1 args->err_msg 0
PARAM_VALUE 1 args->flags 3
PARAM_VALUE 1 args->msleep_pre_rpl 1000
PARAM_VALUE 1 args->read_write_len_ext 8-128
PARAM_VALUE 1 args->req.chk_code 0
PARAM_VALUE 1 args->req.epl 0,4096-ptr_max
PARAM_VALUE 1 args->req.epl_len 0-2048
PARAM_VALUE 1 args->req.id 266
PARAM_VALUE 1 args->req.lpl_len 0
PARAM_VALUE 1 args->rpl_exp_len 0
DATA_SOURCE 0 dev $1
NO_OVERFLOW_SIMPLE 1 args->req.epl_len
HALF_LOCKED2 &pool->lock

net/ethtool/cmis_fw_update.c cmis_fw_update_complete_download() -> ethtool_cmis_cdb_execute_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 *dev->name 0-255
PARAM_VALUE 1 args 5869053067741167616
PARAM_VALUE 1 args->err_msg 0
PARAM_VALUE 1 args->flags 3
PARAM_VALUE 1 args->msleep_pre_rpl 1000
PARAM_VALUE 1 args->read_write_len_ext 8-128
PARAM_VALUE 1 args->req.chk_code 0
PARAM_VALUE 1 args->req.epl 0,4096-ptr_max
PARAM_VALUE 1 args->req.epl_len 0-2048
PARAM_VALUE 1 args->req.id 263
PARAM_VALUE 1 args->req.lpl_len 0
PARAM_VALUE 1 args->rpl_exp_len 0
DATA_SOURCE 0 dev $1
NO_OVERFLOW_SIMPLE 1 args->req.epl_len
HALF_LOCKED2 &pool->lock

net/ethtool/cmis_fw_update.c cmis_fw_update_fw_mng_features_get() -> ethtool_cmis_cdb_execute_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 *dev->name 0-255
PARAM_VALUE 1 args 3936484020491116544
PARAM_VALUE 1 args->err_msg 0
PARAM_VALUE 1 args->flags 2-3
PARAM_VALUE 1 args->msleep_pre_rpl 1000
PARAM_VALUE 1 args->read_write_len_ext 8-128
PARAM_VALUE 1 args->req.chk_code 0
PARAM_VALUE 1 args->req.epl 0,4096-ptr_max
PARAM_VALUE 1 args->req.epl_len 0-2048
PARAM_VALUE 1 args->req.id 65
PARAM_VALUE 1 args->req.lpl_len 0
PARAM_VALUE 1 args->rpl_exp_len 18
DATA_SOURCE 0 dev $1
NO_OVERFLOW_SIMPLE 1 args->req.epl_len
HALF_LOCKED2 &pool->lock

net/ethtool/cmis_fw_update.c cmis_fw_update_run_image() -> ethtool_cmis_cdb_execute_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 *dev->name 0-255
PARAM_VALUE 1 args 7708853601349103616
PARAM_VALUE 1 args->err_msg 0
PARAM_VALUE 1 args->flags 4
PARAM_VALUE 1 args->msleep_pre_rpl 1000
PARAM_VALUE 1 args->read_write_len_ext 8-128
PARAM_VALUE 1 args->req.chk_code 0
PARAM_VALUE 1 args->req.epl 0,4096-ptr_max
PARAM_VALUE 1 args->req.epl_len 0-2048
PARAM_VALUE 1 args->req.id 265
PARAM_VALUE 1 args->req.lpl_len 4
PARAM_VALUE 1 args->rpl_exp_len 0
DATA_SOURCE 0 dev $1
NO_OVERFLOW_SIMPLE 1 args->req.epl_len
HALF_LOCKED2 &pool->lock

net/ethtool/cmis_fw_update.c cmis_fw_update_start_download() -> ethtool_cmis_cdb_execute_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 args 341765514498338816
PARAM_VALUE 1 args->err_msg 0
PARAM_VALUE 1 args->flags 3
PARAM_VALUE 1 args->msleep_pre_rpl 1000
PARAM_VALUE 1 args->read_write_len_ext 8-128
PARAM_VALUE 1 args->req.chk_code 0
PARAM_VALUE 1 args->req.epl 0,4096-ptr_max
PARAM_VALUE 1 args->req.epl_len 0-2048
PARAM_VALUE 1 args->req.id 257
PARAM_VALUE 1 args->rpl_exp_len 0
NO_OVERFLOW_SIMPLE 1 args->req.epl_len
HALF_LOCKED2 &pool->lock

net/ethtool/cmis_fw_update.c cmis_fw_update_write_image_epl() -> ethtool_cmis_cdb_execute_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 *dev->name 0-255
PARAM_VALUE 1 args 2826710513284476928
PARAM_VALUE 1 args->err_msg 0
PARAM_VALUE 1 args->flags 3
PARAM_VALUE 1 args->msleep_pre_rpl 1
PARAM_VALUE 1 args->read_write_len_ext 8-128
PARAM_VALUE 1 args->req.chk_code 0
PARAM_VALUE 1 args->req.epl 0,4096-ptr_max
PARAM_VALUE 1 args->req.epl_len 0-2048
PARAM_VALUE 1 args->req.id 260
PARAM_VALUE 1 args->req.lpl_len 4
PARAM_VALUE 1 args->rpl_exp_len 0
NO_OVERFLOW_SIMPLE 1 args->req.epl_len
HALF_LOCKED2 &pool->lock

net/ethtool/cmis_fw_update.c cmis_fw_update_write_image_lpl() -> ethtool_cmis_cdb_execute_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 *dev->name 0-255
PARAM_VALUE 1 args 349574407301701632
PARAM_VALUE 1 args->err_msg 0
PARAM_VALUE 1 args->flags 3
PARAM_VALUE 1 args->msleep_pre_rpl 1
PARAM_VALUE 1 args->read_write_len_ext 8-128
PARAM_VALUE 1 args->req.chk_code 0
PARAM_VALUE 1 args->req.epl 0,4096-ptr_max
PARAM_VALUE 1 args->req.epl_len 0-2048
PARAM_VALUE 1 args->req.id 259
PARAM_VALUE 1 args->req.lpl_len 5-120
PARAM_VALUE 1 args->rpl_exp_len 0
NO_OVERFLOW_SIMPLE 1 args->req.epl_len
HALF_LOCKED2 &pool->lock