Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_82xx_io_error_detected() -> qlcnic_detach()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->fw_work.work.lockdep_map->name 0-255
PARAM_VALUE 0 adapter->netdev 4096-ptr_max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 adapter unit_byte
HALF_LOCKED2 &pdev->dev.mutex

drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_diag_alloc_res() -> qlcnic_detach()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_diag_alloc_res() -> qlcnic_detach()

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-3
PARAM_VALUE 0 adapter->ahw->linkup 0
PARAM_VALUE 0 adapter->drv_sds_rings 1
PARAM_VALUE 0 adapter->is_up 777
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.dep_map->name 0-255
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->eq_spq_left.counter s32min-s32max
PARAM_VALUE 0 adapter->netdev->priv->mdev->dev->persist->device_state_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 adapter->netdev->priv->panic s32min-s32max
PARAM_VALUE 0 adapter->netdev->priv->pdev->dev.iommu->attach_deferred 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.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->netdev->priv->port.phy_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->netdev->priv->qede_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->netdev->priv->qede_lock.first_waiter->list.prev->prev 5159360019465732096
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->priv->spq_prod_bd->hdr.type 0-15,256-65280
PARAM_VALUE 0 adapter->netdev->priv->stats_state s32min-s32max
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.dep_map->name 0-255
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->blocked_lock.owner_cpu 4294967295
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->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->block_cfg_access 0
PARAM_VALUE 0 adapter->pdev->dev.iommu->pci_32bit_workaround 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->rds_rings 16,4096-ptr_max
PARAM_VALUE 0 adapter->recv_ctx->sds_rings 16,4096-ptr_max
PARAM_VALUE 0 adapter->tx_ring 16,4096-ptr_max
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 0 *adapter->netdev->priv->csem_int_table_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->csem_pram_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->gunzip_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *adapter->netdev->priv->init_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->init_ops_offsets 0-255
PARAM_VALUE 0 *adapter->netdev->priv->link_params.bp->dev->name 0-255
PARAM_VALUE 0 *adapter->netdev->priv->tsem_int_table_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->tsem_pram_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->usem_int_table_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->usem_pram_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->xsem_int_table_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->xsem_pram_data 0-255
PARAM_VALUE 0 *adapter->pdev->saved_config_space 0-4294967295
CAPPED_DATA 0 adapter->drv_tx_rings 1
CAPPED_DATA 0 adapter->max_rds_rings 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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
NO_OVERFLOW_SIMPLE 0 adapter->max_rds_rings
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_diag_free_res() -> qlcnic_detach()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->ahw 4096-ptr_max
PARAM_VALUE 0 adapter->recv_ctx->state 0
PARAM_VALUE 0 *adapter->netdev->name 0-255
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_open() -> qlcnic_detach()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->dcb->ops->attach 4096-ptr_max
PARAM_VALUE 0 adapter->dcb->ops->free 4096-ptr_max
PARAM_VALUE 0 adapter->nic_ops->resume 0,4096-ptr_max
PARAM_VALUE 0 adapter->pdev->bus->self->link_bwctrl->cdev 0,4096-s64max
PARAM_VALUE 0 *adapter->pdev->saved_config_space 0-4294967295
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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
NO_OVERFLOW_SIMPLE 0 adapter->max_rds_rings
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_remove() -> qlcnic_detach()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->ahw 4096-ptr_max
PARAM_VALUE 0 adapter->dcb 0,4096-ptr_max
PARAM_VALUE 0 adapter->dcb->adapter->netdev->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 adapter->dcb->aen_work.work.lockdep_map->name 0-255
PARAM_VALUE 0 adapter->dcb->ops->attach 4096-ptr_max
PARAM_VALUE 0 adapter->dcb->ops->free 4096-ptr_max
PARAM_VALUE 0 adapter->fw_work.work.lockdep_map->name 0-255
PARAM_VALUE 0 adapter->netdev 4096-ptr_max
PARAM_VALUE 0 adapter->netdev->nd_net.net 4096-ptr_max
PARAM_VALUE 0 adapter->netdev->nd_net.net->dev_unreg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->netdev->nd_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 0 adapter->netdev->nd_net.net->rtnl_mutex.dep_map->name 0-255
PARAM_VALUE 0 adapter->netdev->nd_net.net->rtnl_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->netdev->nd_net.net->rtnl_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->netdev->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adapter->netdev->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adapter->netdev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 adapter->netdev->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 adapter->nic_ops 4096-ptr_max
PARAM_VALUE 0 adapter->nic_ops->resume 0,4096-ptr_max
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->bus->self->link_bwctrl->cdev (-22),(-19),(-12),0,4096-s64max
PARAM_VALUE 0 adapter->pdev->link_bwctrl->cdev (-22),(-19),(-12),0,4096-s64max
PARAM_VALUE 0 *adapter->dcb->wq->lockdep_map->name 0-255
PARAM_VALUE 0 *adapter->dcb->wq->rescuer->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *adapter->netdev->name 0-255
BUF_SIZE 0 adapter s32min-(-2),1-s32max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
CAPPED_DATA 0 adapter 1
CAPPED_DATA 0 adapter->dcb 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adapter->pdev->sriov->offset 0
HOST_DATA 0 adapter->pdev->sriov->stride 0
UNITS 0 adapter unit_byte

drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_reset_context() -> qlcnic_detach()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->is_up 777
PARAM_VALUE 0 adapter->netdev 4096-ptr_max
CAPPED_DATA 0 adapter->num_txd 1
DATA_SOURCE 0 adapter $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_setup_rings() -> qlcnic_detach()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->netdev 4096-ptr_max
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 0 *adapter->netdev->prio_tc_map 0-255
DATA_SOURCE 0 adapter $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 adapter->drv_tss_rings 0
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c qlcnic_83xx_diag_alloc_res() -> qlcnic_detach()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c qlcnic_83xx_diag_alloc_res() -> qlcnic_detach()

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->linkup 0
PARAM_VALUE 0 adapter->dcb->ops->attach 4096-ptr_max
PARAM_VALUE 0 adapter->drv_sds_rings 1
PARAM_VALUE 0 adapter->is_up 777
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.dep_map->name 0-255
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->eq_spq_left.counter s32min-s32max
PARAM_VALUE 0 adapter->netdev->priv->mdev->dev->persist->device_state_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 adapter->netdev->priv->panic s32min-s32max
PARAM_VALUE 0 adapter->netdev->priv->pdev->dev.iommu->attach_deferred 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.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->netdev->priv->port.phy_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->netdev->priv->qede_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->netdev->priv->qede_lock.first_waiter->list.prev->prev 5159360019465732096
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->priv->spq_prod_bd->hdr.type 0-15,256-65280
PARAM_VALUE 0 adapter->netdev->priv->stats_state s32min-s32max
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.dep_map->name 0-255
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->blocked_lock.owner_cpu 4294967295
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->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->block_cfg_access 0
PARAM_VALUE 0 adapter->pdev->dev.iommu->pci_32bit_workaround 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->rds_rings 16,4096-ptr_max
PARAM_VALUE 0 adapter->recv_ctx->sds_rings 16,4096-ptr_max
PARAM_VALUE 0 adapter->tx_ring 16,4096-ptr_max
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 0 *adapter->netdev->priv->csem_int_table_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->csem_pram_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->gunzip_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *adapter->netdev->priv->init_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->init_ops_offsets 0-255
PARAM_VALUE 0 *adapter->netdev->priv->link_params.bp->dev->name 0-255
PARAM_VALUE 0 *adapter->netdev->priv->tsem_int_table_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->tsem_pram_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->usem_int_table_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->usem_pram_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->xsem_int_table_data 0-255
PARAM_VALUE 0 *adapter->netdev->priv->xsem_pram_data 0-255
PARAM_VALUE 0 *adapter->pdev->saved_config_space 0-4294967295
CAPPED_DATA 0 adapter->drv_tx_rings 1
CAPPED_DATA 0 adapter->max_rds_rings 1
NOCHECK_CALL
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
NO_OVERFLOW_SIMPLE 0 adapter->max_rds_rings
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c qlcnic_83xx_diag_free_res() -> qlcnic_detach()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->ahw 4096-ptr_max
PARAM_VALUE 0 adapter->recv_ctx->state 0
PARAM_VALUE 0 *adapter->netdev->name 0-255
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex