Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c, line 3828
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c, line 1653
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
Smatch caller information:
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c qlcnic_83xx_idc_detach_driver() -> qlcnic_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->mailbox | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->completion.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->first_flusher->done.done | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->first_flusher->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->first_flusher->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->first_flusher->done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->flusher_queue.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->nr_pwqs_to_flush.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->work_color | s32min-s32max |
| 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->ops->attach | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dcb->ops->free | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->netdev | 4096-ptr_max |
| 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->pdev->bus->self->link_bwctrl->cdev | 0-s64max |
| PARAM_VALUE | 0 | adapter->pdev->link_bwctrl->cdev | 0,4096-s64max |
| PARAM_VALUE | 1 | netdev | 4096-ptr_max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | adapter | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adapter->ahw->coal.flag | 4 |
| HOST_DATA | 0 | adapter->ahw->coal.type | 1-3 |
| HOST_DATA | 0 | adapter->ahw->crb_lock.magic | 0-u32max |
| HOST_DATA | 0 | adapter->ahw->crb_lock.owner_cpu | 0-u32max |
| HOST_DATA | 0 | adapter->ahw->crb_lock.raw_lock.cnts.counter | s32min-s32max |
| HOST_DATA | 0 | adapter->ahw->crb_lock.raw_lock.wlocked | 0-255 |
| HOST_DATA | 0 | adapter->ahw->fdt.mfg_id | 0[c] |
| HOST_DATA | 0 | adapter->ahw->has_link_events | 0-1 |
| HOST_DATA | 0 | adapter->ahw->idc.curr_state | 3-4 |
| HOST_DATA | 0 | adapter->ahw->idc.delay | 250 |
| HOST_DATA | 0 | adapter->ahw->idc.delay_reset | 1 |
| HOST_DATA | 0 | adapter->ahw->idc.prev_state | 0 |
| HOST_DATA | 0 | adapter->ahw->int_vec_bit | 0,128,256,512,1024,2048,4096,8192,16384 |
| HOST_DATA | 0 | adapter->ahw->max_mac_filters | 0 |
| HOST_DATA | 0 | adapter->ahw->max_rx_ques | 0 |
| HOST_DATA | 0 | adapter->ahw->max_tx_ques | 0 |
| HOST_DATA | 0 | adapter->ahw->max_uc_count | 0,6,237-474,502,2029-4058 |
| HOST_DATA | 0 | adapter->ahw->nic_mode | 0-1,255 |
| HOST_DATA | 0 | adapter->ahw->port_type | 0-2 |
| HOST_DATA | 0 | adapter->ahw->reset.array_index | 1 |
| UNITS | 0 | adapter | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c qlcnic_83xx_idc_tx_soft_reset() -> qlcnic_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->coal.flag | 4 |
| PARAM_VALUE | 0 | adapter->ahw->idc.collect_dump | 0 |
| PARAM_VALUE | 0 | adapter->ahw->idc.curr_state | 3 |
| PARAM_VALUE | 0 | adapter->ahw->idc.name | 427240885284814848 |
| PARAM_VALUE | 0 | adapter->ahw->reg_tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->reset.array_index | 1 |
| PARAM_VALUE | 0 | adapter->ahw->reset_context | 0 |
| PARAM_VALUE | 0 | adapter->ahw->temp | 0-2,4-u32max |
| PARAM_VALUE | 0 | adapter->netdev | 4096-ptr_max |
| 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,744 |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | adapter | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adapter->ahw->idc.curr_state | 3 |
| HOST_DATA | 0 | adapter->ahw->idc.prev_state | 0 |
| HOST_DATA | 0 | adapter->ahw->temp | 0-1,4-u16max |
| HOST_DATA | 0 | adapter->dev_init_timeo | 0-255 |
| HOST_DATA | 0 | adapter->dev_rst_time | 0-u64max |
| HOST_DATA | 0 | adapter->dev_state | 0-255 |
| HOST_DATA | 0 | adapter->drv_mac_learn | 0-1 |
| HOST_DATA | 0 | adapter->drv_rss_rings | 0-255 |
| HOST_DATA | 0 | adapter->drv_sds_rings | 0-255 |
| HOST_DATA | 0 | adapter->drv_tss_rings | 0-255 |
| HOST_DATA | 0 | adapter->drv_tx_rings | 0-255 |
| HOST_DATA | 0 | adapter->fdb_mac_learn | 0-1 |
| HOST_DATA | 0 | adapter->fhash.fbucket_size | 0-u16max |
| HOST_DATA | 0 | adapter->fhash.fmax | 0-u16max |
| HOST_DATA | 0 | adapter->fhash.fnum | 0-255 |
| HOST_DATA | 0 | adapter->file_prd_off | 0-u32max |
| HOST_DATA | 0 | adapter->flags | 0-u32max |
| HOST_DATA | 0 | adapter->flash_mfg_id | 0-255 |
| HOST_DATA | 0 | adapter->fw_fail_cnt | 0-255 |
| HOST_DATA | 0 | adapter->fw_version | 0-u32max |
| HOST_DATA | 0 | adapter->fw_wait_cnt | 0-255 |
| HOST_DATA | 0 | adapter->fw_work.cpu | s32min-s32max |
| HOST_DATA | 0 | adapter->fw_work.timer.expires | 0-u64max |
| HOST_DATA | 0 | adapter->fw_work.timer.flags | 0-u32max |
| HOST_DATA | 0 | adapter->fw_work.work.data.counter | s64min-s64max |
| HOST_DATA | 0 | adapter->heartbeat | 0-u32max |
| HOST_DATA | 0 | adapter->idc_aen_work.cpu | s32min-s32max |
| HOST_DATA | 0 | adapter->idc_aen_work.timer.expires | 0-u64max |
| HOST_DATA | 0 | adapter->idc_aen_work.timer.flags | 0-u32max |
| HOST_DATA | 0 | adapter->idc_aen_work.work.data.counter | s64min-s64max |
| HOST_DATA | 0 | adapter->irq | 0-u32max |
| HOST_DATA | 0 | adapter->is_up | 0-u16max |
| HOST_DATA | 0 | adapter->max_jumbo_rxd | 0-u16max |
| HOST_DATA | 0 | adapter->max_rds_rings | 0-255 |
| HOST_DATA | 0 | adapter->max_rxd | 0-u16max |
| HOST_DATA | 0 | adapter->max_sds_rings | 0-255 |
| HOST_DATA | 0 | adapter->max_tx_rings | 0-255 |
| HOST_DATA | 0 | adapter->mbx_poll_work.cpu | s32min-s32max |
| HOST_DATA | 0 | adapter->mbx_poll_work.timer.expires | 0-u64max |
| HOST_DATA | 0 | adapter->mbx_poll_work.timer.flags | 0-u32max |
| HOST_DATA | 0 | adapter->mbx_poll_work.work.data.counter | s64min-s64max |
| HOST_DATA | 0 | adapter->need_fw_reset | 0-255 |
| HOST_DATA | 0 | adapter->num_jumbo_rxd | 0-u16max |
| HOST_DATA | 0 | adapter->num_rxd | 0-u16max |
| HOST_DATA | 0 | adapter->num_txd | 0-u16max |
| HOST_DATA | 0 | adapter->offload_flags | 0-u32max |
| HOST_DATA | 0 | adapter->portnum | 0-255 |
| HOST_DATA | 0 | adapter->reset_ack_timeo | 0-255 |
| HOST_DATA | 0 | adapter->reset_ctx_cnt | 0-255 |
| HOST_DATA | 0 | adapter->rx_csum | 0-255 |
| HOST_DATA | 0 | adapter->rx_fhash.fbucket_size | 0-u16max |
| HOST_DATA | 0 | adapter->rx_fhash.fmax | 0-u16max |
| HOST_DATA | 0 | adapter->rx_fhash.fnum | 0-255 |
| HOST_DATA | 0 | adapter->rx_mac_learn | 0-1 |
| HOST_DATA | 0 | adapter->rx_pvid | 0-u16max |
| HOST_DATA | 0 | adapter->stats.csummed | 0-u64max |
| HOST_DATA | 0 | adapter->stats.encap_lso_frames | 0-u64max |
| HOST_DATA | 0 | adapter->stats.encap_rx_csummed | 0-u64max |
| HOST_DATA | 0 | adapter->stats.encap_tx_csummed | 0-u64max |
| HOST_DATA | 0 | adapter->stats.lro_pkts | 0-u64max |
| HOST_DATA | 0 | adapter->stats.lrobytes | 0-u64max |
| HOST_DATA | 0 | adapter->stats.lso_frames | 0-u64max |
| HOST_DATA | 0 | adapter->stats.mac_filter_limit_overrun | 0-u64max |
| HOST_DATA | 0 | adapter->stats.mbx_spurious_intr | 0-u64max |
| HOST_DATA | 0 | adapter->stats.null_rxbuf | 0-u64max |
| HOST_DATA | 0 | adapter->stats.rx_dma_map_error | 0-u64max |
| HOST_DATA | 0 | adapter->stats.rx_pkts | 0-u64max |
| HOST_DATA | 0 | adapter->stats.rxbytes | 0-u64max |
| HOST_DATA | 0 | adapter->stats.rxdropped | 0-u64max |
| HOST_DATA | 0 | adapter->stats.skb_alloc_failure | 0-u64max |
| HOST_DATA | 0 | adapter->stats.spurious_intr | 0-u64max |
| HOST_DATA | 0 | adapter->stats.tx_dma_map_error | 0-u64max |
| HOST_DATA | 0 | adapter->stats.txbytes | 0-u64max |
| HOST_DATA | 0 | adapter->stats.txdropped | 0-u64max |
| HOST_DATA | 0 | adapter->stats.xmit_off | 0-u64max |
| HOST_DATA | 0 | adapter->stats.xmit_on | 0-u64max |
| HOST_DATA | 0 | adapter->stats.xmitcalled | 0-u64max |
| HOST_DATA | 0 | adapter->stats.xmitfinished | 0-u64max |
| HOST_DATA | 0 | adapter->tx_pvid | 0-u16max |
| HOST_DATA | 0 | adapter->tx_timeo_cnt | 0-255 |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c qlcnic_sriov_vf_detach() -> qlcnic_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->idc.prev_state | 3 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->completion.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->first_flusher->done.done | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->first_flusher->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->first_flusher->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->first_flusher->done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->flusher_queue.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->nr_pwqs_to_flush.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->ahw->mailbox->work_q->work_color | s32min-s32max |
| 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->ops->attach | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dcb->ops->free | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->netdev | 4096-ptr_max |
| 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->pdev->bus->self->link_bwctrl->cdev | 0-s64max |
| PARAM_VALUE | 0 | adapter->pdev->link_bwctrl->cdev | 0,4096-s64max |
| PARAM_VALUE | 1 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | adapter | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c qlcnic_sriov_vf_shutdown() -> qlcnic_down()
| 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 |
| PARAM_VALUE | 0 | adapter->nic_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | 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 | &dev->mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c qlcnic_82xx_shutdown() -> qlcnic_down()
| 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 |
| PARAM_VALUE | 0 | adapter->nic_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | 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 | &dev->mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_82xx_io_error_detected() -> qlcnic_down()
| 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 |
| PARAM_VALUE | 1 | 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_detach_work() -> qlcnic_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dev_state | 0-4,6-255 |
| PARAM_VALUE | 0 | adapter->netdev | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_reset_hw_context() -> qlcnic_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->reg_tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->reset_context | 1-255 |
| PARAM_VALUE | 0 | adapter->ahw->temp | 0-2,4-u16max |
| PARAM_VALUE | 0 | adapter->fw_fail_cnt | 0 |
| PARAM_VALUE | 0 | adapter->need_fw_reset | 0 |
| PARAM_VALUE | 0 | adapter->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | adapter | $0 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adapter->heartbeat | 0-u32max |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c qlcnic_83xx_shutdown() -> qlcnic_down()
| 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 |
| PARAM_VALUE | 0 | adapter->nic_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | 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 | &dev->mutex |