Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/sfc/siena/selftest.c efx_siena_selftest() -> efx_test_phy()

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->net_dev 4096-ptr_max
PARAM_VALUE 0 efx->rss_context.priv.context_id 0-4294967295
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->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
PARAM_VALUE 1 tests->nvram 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
BUF_SIZE 1 tests 1076
CAPPED_DATA 0 efx->pci_dev->dev.cma_area->nranges 1
DATA_SOURCE 0 efx $0
DATA_SOURCE 1 tests $1
DATA_SOURCE 2 flags $2
BIT_INFO 0 efx->msg_enable 0x0,0xffffffff
BIT_INFO 2 flags 0x0,0xfffffffe
USER_DATA 2 flags 0-u32max
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/sfc/siena/selftest.c efx_siena_selftest() -> efx_test_phy()

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->filter_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 efx->filter_sem.first_waiter->type 0-1
PARAM_VALUE 0 efx->loopback_mode 0
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->net_dev->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 efx->net_dev->tx_global_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 efx->pci_dev->link_bwctrl->cdev (-22),(-19),(-12),0,4096-s64max
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->check_caps 4096-ptr_max
PARAM_VALUE 0 efx->type->fini_dmaq 4096-ptr_max
PARAM_VALUE 0 efx->type->irq_test_generate 4096-ptr_max
PARAM_VALUE 0 efx->type->mem_bar 0,4096-ptr_max
PARAM_VALUE 0 efx->type->mtd_probe 0,4096-ptr_max
PARAM_VALUE 0 efx->type->mtd_read 0,4096-ptr_max
PARAM_VALUE 0 efx->type->mtd_write 0,4096-ptr_max
PARAM_VALUE 0 efx->type->probe 4096-ptr_max
PARAM_VALUE 0 efx->type->reset 4096-ptr_max
PARAM_VALUE 0 efx->type->test_chip 0,4085251898140250112,6015777839465930752
PARAM_VALUE 0 efx->type->test_nvram 0,4096-ptr_max
PARAM_VALUE 0 *efx->net_dev->name 0-255
PARAM_VALUE 0 *efx->rss_context.rx_indir_table 0-4294967295
PARAM_VALUE 1 tests 4096-ptr_max
PARAM_VALUE 1 tests->interrupt 1
PARAM_VALUE 1 tests->nvram 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 flags 1-u32max
BUF_SIZE 1 tests 1076
CAPPED_DATA 0 &efx->mac_lock 1
DATA_SOURCE 0 efx $0
DATA_SOURCE 1 tests $1
DATA_SOURCE 2 flags $2
BIT_INFO 2 flags 0x1,0xffffffff
USER_DATA 2 flags 1-u32max
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/sfc/selftest.c efx_selftest() -> efx_test_phy()

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->net_dev 4096-ptr_max
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->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
PARAM_VALUE 1 tests->nvram 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
BUF_SIZE 0 efx 5888
BUF_SIZE 1 tests 1076
DATA_SOURCE 0 efx $0
DATA_SOURCE 1 tests $1
DATA_SOURCE 2 flags $2
BIT_INFO 0 efx->msg_enable 0x0,0xffffffff
BIT_INFO 2 flags 0x0,0xfffffffe
USER_DATA 2 flags 0-u32max
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/sfc/selftest.c efx_selftest() -> efx_test_phy()

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->filter_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 efx->filter_sem.first_waiter->type 0-1
PARAM_VALUE 0 efx->loopback_mode 0
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->net_dev->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 efx->net_dev->tx_global_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 efx->pci_dev->link_bwctrl->cdev (-22),(-19),(-12),0,4096-s64max
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->check_caps 4096-ptr_max
PARAM_VALUE 0 efx->type->fini_dmaq 4096-ptr_max
PARAM_VALUE 0 efx->type->irq_test_generate 4096-ptr_max
PARAM_VALUE 0 efx->type->mem_bar 0,4096-ptr_max
PARAM_VALUE 0 efx->type->mtd_probe 0,4096-ptr_max
PARAM_VALUE 0 efx->type->mtd_read 0,4096-ptr_max
PARAM_VALUE 0 efx->type->mtd_write 0,4096-ptr_max
PARAM_VALUE 0 efx->type->probe 4096-ptr_max
PARAM_VALUE 0 efx->type->reset 4096-ptr_max
PARAM_VALUE 0 efx->type->test_chip 0,4085251898140250112,6015777839465930752
PARAM_VALUE 0 efx->type->test_nvram 0,4096-ptr_max
PARAM_VALUE 0 *efx->net_dev->name 0-255
PARAM_VALUE 0 *efx->rss_context.rx_indir_table 0-4294967295
PARAM_VALUE 1 tests 4096-ptr_max
PARAM_VALUE 1 tests->interrupt 1
PARAM_VALUE 1 tests->nvram 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 flags 1-u32max
BUF_SIZE 0 efx 5888
BUF_SIZE 1 tests 1076
CAPPED_DATA 0 &efx->mac_lock 1
DATA_SOURCE 0 efx $0
DATA_SOURCE 1 tests $1
DATA_SOURCE 2 flags $2
BIT_INFO 2 flags 0x1,0xffffffff
USER_DATA 2 flags 1-u32max
HALF_LOCKED2 global &rtnl_mutex