Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ethtool/cmis_cdb.c __ethtool_cmis_cdb_execute_cmd() -> (struct ethtool_ops)->set_module_eeprom_by_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 1 | page_data | 8871011361483890688 |
| PARAM_VALUE | 1 | page_data->bank | 0 |
| PARAM_VALUE | 1 | page_data->data | 1-u64max |
| PARAM_VALUE | 1 | page_data->i2c_address | 80 |
| PARAM_VALUE | 1 | page_data->length | 1-128 |
| PARAM_VALUE | 1 | page_data->offset | 128-255 |
| PARAM_VALUE | 1 | page_data->page | 159-175 |
| PARAM_VALUE | 2 | extack | 4604448235551444992 |
| PARAM_VALUE | 2 | extack->_msg | 0 |
| PARAM_VALUE | 2 | extack->bad_attr | 0 |
| PARAM_VALUE | 2 | extack->cookie_len | 0 |
| PARAM_VALUE | 2 | extack->miss_nest | 0 |
| PARAM_VALUE | 2 | extack->miss_type | 0 |
| PARAM_VALUE | 2 | extack->policy | 0 |
| BUF_SIZE | 1 | page_data->data | 1-128 |
| CAPPED_DATA | 1 | page_data->length | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | page_data | $1 |
| LOCK2 | &pool->lock |
net/ethtool/cmis_cdb.c cmis_cdb_validate_password() -> (struct ethtool_ops)->set_module_eeprom_by_page()
| 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 | page_data | 7802997752123908096 |
| PARAM_VALUE | 1 | page_data->bank | 0 |
| PARAM_VALUE | 1 | page_data->data | 1461620959870066688 |
| PARAM_VALUE | 1 | page_data->i2c_address | 80 |
| PARAM_VALUE | 1 | page_data->length | 4 |
| PARAM_VALUE | 1 | page_data->offset | 122 |
| PARAM_VALUE | 1 | page_data->page | 0 |
| PARAM_VALUE | 2 | extack | 1616874050580770816 |
| PARAM_VALUE | 2 | extack->_msg | 0 |
| PARAM_VALUE | 2 | extack->bad_attr | 0 |
| PARAM_VALUE | 2 | extack->cookie_len | 0 |
| PARAM_VALUE | 2 | extack->miss_nest | 0 |
| PARAM_VALUE | 2 | extack->miss_type | 0 |
| PARAM_VALUE | 2 | extack->policy | 0 |
| DATA_SOURCE | 0 | dev | $1 |
| HALF_LOCKED2 | &pool->lock |