Documented in 2 files:
- drivers/net/ethernet/sfc/ethtool_common.c, line 330
- drivers/net/ethernet/sfc/siena/ethtool_common.c, line 282
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/net/ethernet/sfc/ethtool_common.c, line 343 (as a function)
- drivers/net/ethernet/sfc/siena/ethtool_common.c, line 295 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/sfc/ethtool_common.c efx_ethtool_get_sset_count() -> efx_ethtool_fill_self_tests()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 1 | tests | 0 |
| PARAM_VALUE | 2 | strings | 0 |
| PARAM_VALUE | 3 | data | 0 |
| BUF_SIZE | 0 | efx | 5888 |
| DATA_SOURCE | 0 | efx | r efx_netdev_priv |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/ethtool_common.c efx_ethtool_get_strings() -> efx_ethtool_fill_self_tests()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 1 | tests | 0 |
| PARAM_VALUE | 3 | data | 0 |
| BUF_SIZE | 0 | efx | 5888 |
| BUF_SIZE | 2 | strings | (-1),32-2147483616 |
| BUF_SIZE | 2 | strings | (-1),32-2147483616 |
| DATA_SOURCE | 0 | efx | r efx_netdev_priv |
| DATA_SOURCE | 2 | strings | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/sfc/ethtool_common.c efx_ethtool_self_test() -> efx_ethtool_fill_self_tests()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->biu_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->last_irq_cpu | (-1) |
| PARAM_VALUE | 0 | efx->mcdi->iface.resp_data_len | 0-u32max |
| PARAM_VALUE | 0 | efx->selftest_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->type | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->irq_test_generate | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->monitor | 0 |
| PARAM_VALUE | 0 | efx->type->probe_port | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->test_chip | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->test_nvram | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *efx->net_dev->name | 0-255 |
| PARAM_VALUE | 1 | tests | 4096-ptr_max |
| PARAM_VALUE | 1 | tests->interrupt | (-1)-1 |
| PARAM_VALUE | 1 | tests->nvram | (-1),1 |
| PARAM_VALUE | 1 | tests->phy_alive | (-1),1 |
| PARAM_VALUE | 1 | *tests->eventq_dma | (-1),1 |
| PARAM_VALUE | 1 | *tests->eventq_int | (-1),1 |
| PARAM_VALUE | 2 | strings | 0 |
| PARAM_VALUE | 3 | data | 16,4096-ptr_max |
| BUF_SIZE | 0 | efx | 5888 |
| BUF_SIZE | 1 | tests | 1076 |
| BUF_SIZE | 3 | data | 8 |
| DATA_SOURCE | 0 | efx | r efx_netdev_priv |
| DATA_SOURCE | 1 | tests | r _kzalloc_noprof |
| DATA_SOURCE | 3 | data | $2 |
| NOCHECK_CALL |
drivers/net/ethernet/sfc/siena/ethtool_common.c efx_siena_ethtool_get_sset_count() -> efx_ethtool_fill_self_tests()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tests | 0 |
| PARAM_VALUE | 2 | strings | 0 |
| PARAM_VALUE | 3 | data | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/siena/ethtool_common.c efx_siena_ethtool_get_strings() -> efx_ethtool_fill_self_tests()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tests | 0 |
| PARAM_VALUE | 3 | data | 0 |
| BUF_SIZE | 2 | strings | (-1),32-2147483616 |
| BUF_SIZE | 2 | strings | (-1),32-2147483616 |
| DATA_SOURCE | 2 | strings | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/sfc/siena/ethtool_common.c efx_siena_ethtool_self_test() -> efx_ethtool_fill_self_tests()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->biu_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->last_irq_cpu | (-1) |
| PARAM_VALUE | 0 | efx->mcdi->iface.resp_data_len | 0-u32max |
| PARAM_VALUE | 0 | efx->selftest_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->type | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->irq_test_generate | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->monitor | 0 |
| PARAM_VALUE | 0 | efx->type->probe_port | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->test_chip | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->test_nvram | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *efx->net_dev->name | 0-255 |
| PARAM_VALUE | 1 | tests | 4096-ptr_max |
| PARAM_VALUE | 1 | tests->interrupt | (-1)-1 |
| PARAM_VALUE | 1 | tests->nvram | (-1),1 |
| PARAM_VALUE | 1 | tests->phy_alive | (-1),1 |
| PARAM_VALUE | 1 | *tests->eventq_dma | (-1),1 |
| PARAM_VALUE | 1 | *tests->eventq_int | (-1),1 |
| PARAM_VALUE | 2 | strings | 0 |
| PARAM_VALUE | 3 | data | 16,4096-ptr_max |
| BUF_SIZE | 1 | tests | 1076 |
| BUF_SIZE | 3 | data | 8 |
| DATA_SOURCE | 1 | tests | r _kzalloc_noprof |
| DATA_SOURCE | 3 | data | $2 |
| NOCHECK_CALL |