Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ethtool/cmis_cdb.c cmis_cdb_advertisement_get() -> (struct ethtool_ops)->get_module_eeprom_by_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->get_module_eeprom_by_page | 4096-ptr_max |
| PARAM_VALUE | 1 | page_data | 1023276153811910656 |
| PARAM_VALUE | 1 | page_data->bank | 0 |
| PARAM_VALUE | 1 | page_data->data | 3549312380536483840 |
| PARAM_VALUE | 1 | page_data->i2c_address | 80 |
| PARAM_VALUE | 1 | page_data->length | 4 |
| PARAM_VALUE | 1 | page_data->offset | 163 |
| PARAM_VALUE | 1 | page_data->page | 1 |
| PARAM_VALUE | 2 | extack | 8714413328713244672 |
| 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 | netdev | $1 |
| CONTAINER | 0 | -576-784+0 | $(-1) |
| HALF_LOCKED2 | &pool->lock |
net/ethtool/cmis_cdb.c cmis_cdb_process_reply() -> (struct ethtool_ops)->get_module_eeprom_by_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | page_data | 8871011361483890688 |
| PARAM_VALUE | 1 | page_data->bank | 0 |
| PARAM_VALUE | 1 | page_data->data | 4096-ptr_max |
| PARAM_VALUE | 1 | page_data->i2c_address | 80 |
| PARAM_VALUE | 1 | page_data->length | 2,4,20,38 |
| PARAM_VALUE | 1 | page_data->offset | 134 |
| PARAM_VALUE | 1 | page_data->page | 159 |
| PARAM_VALUE | 2 | extack | 6225185610495979520 |
| 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 | 2,4,20,38 |
| DATA_SOURCE | 0 | netdev | $0 |
| DATA_SOURCE | 1 | page_data | $1 |
| LOCK2 | &pool->lock |
net/ethtool/cmis_cdb.c cmis_rev_major_get() -> (struct ethtool_ops)->get_module_eeprom_by_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | page_data | 4623965297739911168 |
| PARAM_VALUE | 1 | page_data->bank | 0 |
| PARAM_VALUE | 1 | page_data->data | 2621220198327320576 |
| PARAM_VALUE | 1 | page_data->i2c_address | 80 |
| PARAM_VALUE | 1 | page_data->length | 1 |
| PARAM_VALUE | 1 | page_data->offset | 1 |
| PARAM_VALUE | 1 | page_data->page | 0 |
| PARAM_VALUE | 2 | extack | 3421843766204887040 |
| 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 | netdev | $0 |
| HALF_LOCKED2 | &pool->lock |
net/ethtool/cmis_cdb.c ethtool_cmis_module_poll() -> (struct ethtool_ops)->get_module_eeprom_by_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | *netdev->name | 0-255 |
| PARAM_VALUE | 1 | page_data | 7202814162308870144 |
| PARAM_VALUE | 1 | page_data->bank | 0 |
| PARAM_VALUE | 1 | page_data->data | 3592144815592300544 |
| PARAM_VALUE | 1 | page_data->i2c_address | 80 |
| PARAM_VALUE | 1 | page_data->length | 1 |
| PARAM_VALUE | 1 | page_data->offset | 3,8,37 |
| PARAM_VALUE | 1 | page_data->page | 0 |
| PARAM_VALUE | 2 | extack | 730921250821939200 |
| 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 | netdev | $0 |
| LOCK2 | &pool->lock |
net/ethtool/eeprom.c get_module_eeprom_by_page() -> (struct ethtool_ops)->get_module_eeprom_by_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool->module_fw_flash_in_progress | 0 |
| PARAM_VALUE | 0 | netdev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->get_module_eeprom_by_page | 1-u64max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->prepare_count | 1-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->ethtool_ops_nesting | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->pdev->current_state | s32min-s32max |
| PARAM_VALUE | 0 | netdev->reg_state | 0-1 |
| PARAM_VALUE | 0 | netdev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | netdev->sfp_bus | 0 |
| PARAM_VALUE | 0 | *netdev->priv->pdev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 1 | page_data | 910844320936484864 |
| PARAM_VALUE | 1 | page_data->data | 16,4096-ptr_max |
| PARAM_VALUE | 1 | page_data->length | 0-4000000 |
| DATA_SOURCE | 0 | netdev | $0 |
| DATA_SOURCE | 1 | page_data | $1 |
| DATA_SOURCE | 2 | extack | $2 |
| HARD_MAX | 0 | netdev->reg_state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | extack->miss_nest->nla_type | 0-u16max |
net/ethtool/module.c module_flash_fw_work_init() -> (struct ethtool_ops)->get_module_eeprom_by_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->devlink_port | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->devlink_port->attrs.split | 0 |
| PARAM_VALUE | 0 | netdev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->get_module_eeprom_by_page | 1-u64max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->reset | 1-u64max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->set_module_eeprom_by_page | 1-u64max |
| PARAM_VALUE | 0 | netdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | netdev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | netdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | netdev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | page_data | 3318976966843043840 |
| PARAM_VALUE | 1 | page_data->bank | 0 |
| PARAM_VALUE | 1 | page_data->data | 2032135041867472896 |
| PARAM_VALUE | 1 | page_data->i2c_address | 80 |
| PARAM_VALUE | 1 | page_data->length | 1 |
| PARAM_VALUE | 1 | page_data->offset | 0 |
| PARAM_VALUE | 1 | page_data->page | 0 |
| PARAM_VALUE | 2 | extack | 4971238048455385088 |
| DATA_SOURCE | 0 | netdev | $1 |
| DATA_SOURCE | 2 | extack | $2 |
| CONTAINER | 0 | -576-784+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |