Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c, line 1817
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c, line 1144
Smatch caller information:
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_loopback_test() -> qlcnic_do_lb_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->capabilities | 134217728-u32max |
| PARAM_VALUE | 0 | adapter->ahw->diag_cnt | 0 |
| PARAM_VALUE | 0 | adapter->ahw->diag_test | 1-3 |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops->config_loopback | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->linkup | 0 |
| PARAM_VALUE | 0 | adapter->ahw->loopback_state | 0 |
| PARAM_VALUE | 0 | adapter->ahw->op_mode | 0-1,3-u16max |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc->bc_async_wq->lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->first_flusher->done.done | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->first_flusher->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->first_flusher->done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->flusher_overflow.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->flusher_queue.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->nr_pwqs_to_flush.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.vf_async_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->drv_sds_rings | 1 |
| PARAM_VALUE | 0 | adapter->fhash.fbucket_size | 1,32,256 |
| PARAM_VALUE | 0 | adapter->fhash.fmax | 0-2048 |
| PARAM_VALUE | 0 | adapter->fhash.fnum | 0-255 |
| PARAM_VALUE | 0 | adapter->flags | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->irq | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->is_up | 777 |
| PARAM_VALUE | 0 | adapter->mac_learn_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->netdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.count | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.first_waiter->up | 1 |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->priv->panic | 1 |
| PARAM_VALUE | 0 | adapter->netdev->priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.flags | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_hard | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_lazy | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_queued | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_soft | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->priv->port.phy_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->netdev->priv->port.phy_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->netdev->priv->qede_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->netdev->priv->reconfig_in_progress_update | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->priv->reconfig_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->netdev->priv->reconfig_timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->priv->reconfig_timer_active | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->threaded | 0 |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->need_replay | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->need_sync | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->block_cfg_access | 0 |
| PARAM_VALUE | 0 | adapter->pdev->current_state | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.kobj.sd->count.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.kobj.sd->symlink.target_kn->count.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->device | 32816,32832,33840,33856,34864,35888 |
| PARAM_VALUE | 0 | adapter->pdev->is_virtfn | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | adapter->pdev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | adapter->pdev->state_saved | 0 |
| PARAM_VALUE | 0 | adapter->recv_ctx->sds_rings | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->recv_ctx->state | 0 |
| PARAM_VALUE | 0 | adapter->rx_fhash.fbucket_size | 1,32,256 |
| PARAM_VALUE | 0 | adapter->rx_fhash.fmax | 0-2048 |
| PARAM_VALUE | 0 | adapter->rx_mac_learn | 1 |
| PARAM_VALUE | 1 | mode | 1-2 |
| CAPPED_DATA | 0 | adapter->drv_tx_rings | 1 |
| CAPPED_DATA | 0 | adapter->max_rds_rings | 1 |
| DATA_SOURCE | 1 | mode | $1 |
| HARD_MAX | 1 | mode | 2 |
| HOST_DATA | 0 | adapter->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | adapter->pdev->sriov->offset | 0 |
| HOST_DATA | 0 | adapter->pdev->sriov->stride | 0 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c qlcnic_83xx_loopback_test() -> qlcnic_do_lb_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->diag_test | 1-2 |
| PARAM_VALUE | 0 | adapter->ahw->extend_lb_time | 0 |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops->alloc_mbx_args | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->linkup | 0 |
| PARAM_VALUE | 0 | adapter->ahw->loopback_state | 0 |
| PARAM_VALUE | 0 | adapter->ahw->op_mode | 0-1,3-u16max |
| PARAM_VALUE | 0 | adapter->ahw->port_config | 0,4-u32max |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc->bc_async_wq->lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->first_flusher->done.done | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->first_flusher->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->first_flusher->done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->flusher_overflow.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->flusher_queue.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->nr_pwqs_to_flush.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.bc_async_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->sriov->bc.vf_async_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->drv_sds_rings | 1 |
| PARAM_VALUE | 0 | adapter->fhash.fbucket_size | 1,32,256 |
| PARAM_VALUE | 0 | adapter->fhash.fmax | 0-2048 |
| PARAM_VALUE | 0 | adapter->fhash.fnum | 0-255 |
| PARAM_VALUE | 0 | adapter->flags | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->irq | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->is_up | 777 |
| PARAM_VALUE | 0 | adapter->mac_learn_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->netdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->netdev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.count | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.first_waiter->up | 1 |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->netdev->priv->bar_lock.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->priv->panic | 1 |
| PARAM_VALUE | 0 | adapter->netdev->priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.flags | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_hard | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_lazy | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_queued | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_soft | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->priv->port.phy_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->netdev->priv->port.phy_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->netdev->priv->qede_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->netdev->priv->reconfig_in_progress_update | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->priv->reconfig_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->netdev->priv->reconfig_timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->priv->reconfig_timer_active | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->threaded | 0 |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->need_replay | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->need_sync | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev->block_cfg_access | 0 |
| PARAM_VALUE | 0 | adapter->pdev->current_state | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | adapter->pdev->dev.kobj.sd->count.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.kobj.sd->symlink.target_kn->count.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->device | 32816,32832,33840,33856,34864,35888 |
| PARAM_VALUE | 0 | adapter->pdev->is_virtfn | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | adapter->pdev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | adapter->pdev->state_saved | 0 |
| PARAM_VALUE | 0 | adapter->recv_ctx->state | 0 |
| PARAM_VALUE | 0 | adapter->rx_fhash.fbucket_size | 1,32,256 |
| PARAM_VALUE | 0 | adapter->rx_fhash.fmax | 0-2048 |
| PARAM_VALUE | 0 | adapter->rx_mac_learn | 1 |
| PARAM_VALUE | 0 | *adapter->netdev->name | 0 |
| PARAM_VALUE | 1 | mode | 1-2 |
| CAPPED_DATA | 0 | adapter->drv_tx_rings | 1 |
| CAPPED_DATA | 0 | adapter->max_rds_rings | 1 |
| DATA_SOURCE | 1 | mode | $1 |
| FUZZY_MAX | 1 | mode | 1 |
| HARD_MAX | 1 | mode | 2 |
| HOST_DATA | 0 | adapter->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | adapter->pdev->sriov->offset | 0 |
| HOST_DATA | 0 | adapter->pdev->sriov->stride | 0 |