Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/net/ethernet/sfc/mcdi.c, line 2178 (as a function)
- drivers/net/ethernet/sfc/siena/mcdi.c, line 2023 (as a function)
Referenced in 3 files:
- drivers/net/ethernet/sfc/efx_reflash.c, line 489
- drivers/net/ethernet/sfc/mcdi.c
- drivers/net/ethernet/sfc/siena/mcdi.c
Smatch caller information:
drivers/net/ethernet/sfc/siena/mcdi.c efx_siena_mcdi_mtd_erase() -> efx_mcdi_nvram_update_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| BUF_SIZE | 0 | efx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | efx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | efx | unit_byte |
| UNITS | 1 | type | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/net/ethernet/sfc/siena/mcdi.c efx_siena_mcdi_mtd_write() -> efx_mcdi_nvram_update_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | efx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | efx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | efx | unit_byte |
| UNITS | 1 | type | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &mbd->lock |
drivers/net/ethernet/sfc/mcdi.c efx_mcdi_mtd_erase() -> efx_mcdi_nvram_update_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| BUF_SIZE | 0 | efx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | efx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | efx | unit_byte |
| UNITS | 1 | type | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/net/ethernet/sfc/mcdi.c efx_mcdi_mtd_write() -> efx_mcdi_nvram_update_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | efx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | efx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | efx | unit_byte |
| UNITS | 1 | type | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &mbd->lock |
drivers/net/ethernet/sfc/efx_reflash.c efx_reflash_flash_firmware() -> efx_mcdi_nvram_update_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->mc_bist_for_other_fn | 0 |
| PARAM_VALUE | 0 | efx->mcdi->iface.resp_hdr_len | 0,4,8 |
| PARAM_VALUE | 0 | efx->pci_dev->link_bwctrl->cdev | 0,4096-s64max |
| PARAM_VALUE | 0 | efx->reflash_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->reflash_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->reflash_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->reflash_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->reflash_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->reflash_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->reflash_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->reset_work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type | 4096-ptr_max |
| PARAM_VALUE | 0 | *efx->net_dev->name | 0-255 |
| PARAM_VALUE | 0 | *efx->nic_data->mcdi_buf.addr | 0-255 |
| CAPPED_DATA | 0 | &efx->reflash_mutex | 1 |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &efx->reflash_mutex | |
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct efx_nic)->reflash_mutex |