Defined in 2 files as a function:
- drivers/net/ethernet/sfc/mcdi_port_common.c, line 887 (as a function)
- drivers/net/ethernet/sfc/siena/mcdi_port_common.c, line 906 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/sfc/siena/mcdi_port_common.c efx_mcdi_phy_get_module_eeprom_byte() -> efx_mcdi_phy_get_module_eeprom_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 0 | *efx->net_dev->name | 0-255 |
| PARAM_VALUE | 1 | page | 0 |
| PARAM_VALUE | 2 | data | 511924681432301568 |
| PARAM_VALUE | 3 | offset | 0,92,94 |
| PARAM_VALUE | 4 | space | 1 |
| DATA_SOURCE | 0 | efx | $0 |
| DATA_SOURCE | 1 | page | $1 |
| DATA_SOURCE | 3 | offset | $2 |
| HARD_MAX | 3 | offset | 94 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &efx->mac_lock | |
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/siena/mcdi_port_common.c efx_siena_mcdi_phy_get_module_eeprom() -> efx_mcdi_phy_get_module_eeprom_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->phy_data->media | 0-4294967295 |
| PARAM_VALUE | 0 | *efx->net_dev->name | 0-255 |
| PARAM_VALUE | 1 | page | 0-4,2147483648-u32max |
| PARAM_VALUE | 2 | data | 4096-u64max |
| PARAM_VALUE | 4 | space | (-2147483646)-(-1),1-2147487744 |
| BUF_SIZE | 2 | data | (-1),4096 |
| BUF_SIZE | 2 | data | (-1),4096 |
| CAPPED_DATA | 1 | page | 1 |
| DATA_SOURCE | 0 | efx | $0 |
| DATA_SOURCE | 2 | data | $2 [m] |
| NOSPEC | 4 | space | |
| NOSPEC | 4 | space | |
| RX_PATH | |||
| USER_DATA | 1 | page | 0-4[c] |
| USER_DATA | 2 | data | 4096-ptr_max[c][u] |
| USER_DATA | 3 | offset | 0-127[c] |
| USER_DATA | 4 | space | (-4093)-(-1),1-4095 |
| NO_OVERFLOW_SIMPLE | 4 | space | |
| UNITS | 4 | space | unit_byte |
| LOCK2 | 0 | &efx->mac_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/mcdi_port_common.c efx_mcdi_phy_get_module_eeprom() -> efx_mcdi_phy_get_module_eeprom_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->phy_data->media | 0-4294967295 |
| PARAM_VALUE | 0 | *efx->net_dev->name | 0-255 |
| PARAM_VALUE | 1 | page | 0-4,2147483648-u32max |
| PARAM_VALUE | 2 | data | 4096-u64max |
| PARAM_VALUE | 4 | space | (-2147483646)-(-1),1-2147487744 |
| BUF_SIZE | 0 | efx | 5888 |
| BUF_SIZE | 2 | data | (-1),4096 |
| BUF_SIZE | 2 | data | (-1),4096 |
| CAPPED_DATA | 1 | page | 1 |
| DATA_SOURCE | 0 | efx | $0 |
| DATA_SOURCE | 2 | data | $2 [m] |
| NOSPEC | 4 | space | |
| NOSPEC | 4 | space | |
| RX_PATH | |||
| USER_DATA | 1 | page | 0-4[c] |
| USER_DATA | 2 | data | 4096-ptr_max[c][u] |
| USER_DATA | 3 | offset | 0-127[c] |
| USER_DATA | 4 | space | (-4093)-(-1),1-4095 |
| NO_OVERFLOW_SIMPLE | 4 | space | |
| UNITS | 4 | space | unit_byte |
| LOCK2 | 0 | &efx->mac_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/mcdi_port_common.c efx_mcdi_phy_get_module_eeprom_byte() -> efx_mcdi_phy_get_module_eeprom_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 0 | *efx->net_dev->name | 0-255 |
| PARAM_VALUE | 1 | page | 0 |
| PARAM_VALUE | 2 | data | 4813842128325971968 |
| PARAM_VALUE | 3 | offset | 0,92,94 |
| PARAM_VALUE | 4 | space | 1 |
| DATA_SOURCE | 0 | efx | $0 |
| DATA_SOURCE | 1 | page | $1 |
| DATA_SOURCE | 3 | offset | $2 |
| HARD_MAX | 3 | offset | 94 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &efx->mac_lock | |
| TYPE_LOCK | (struct efx_nic)->mac_lock |