Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/qla4xxx/ql4_init.c qla4xxx_start_firmware() -> ql4xxx_lock_drvr_wait()

Type Parameter Key Value
PARAM_VALUE 0 a 4096-ptr_max
PARAM_VALUE 0 a->isp_ops 4096-ptr_max
PARAM_VALUE 0 a->isp_ops->idc_lock 0,4096-ptr_max
PARAM_VALUE 0 a->isp_ops->idc_unlock 0,4096-ptr_max
PARAM_VALUE 0 a->isp_ops->rd_reg_direct 0,4096-ptr_max
PARAM_VALUE 0 a->isp_ops->wr_reg_direct 0,4096-ptr_max
PARAM_VALUE 0 a->pdev 4096-ptr_max
PARAM_VALUE 0 a->pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 a->pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 a->pdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 a->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 a->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 a->pdev->is_busmaster 1
PARAM_VALUE 0 a->pdev->pcie_cap 0-1
PARAM_VALUE 0 *a->mbox_status 0-4294967295
PARAM_VALUE 0 *a->reset_tmplt.array 0-4294967295
BUF_SIZE 0 a s32min-(-1),1-s32max
BUF_SIZE 0 a s32min-(-1),1-s32max
DATA_SOURCE 0 a $0
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/qla4xxx/ql4_init.c qla4xxx_start_firmware() -> ql4xxx_lock_drvr_wait()

Type Parameter Key Value
PARAM_VALUE 0 a 4096-ptr_max
PARAM_VALUE 0 a->hardware_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 a->isp_ops->idc_lock 0,4096-ptr_max
PARAM_VALUE 0 a->isp_ops->idc_unlock 0,4096-ptr_max
PARAM_VALUE 0 a->isp_ops->rd_reg_direct 0,4096-ptr_max
PARAM_VALUE 0 a->isp_ops->wr_reg_direct 0,4096-ptr_max
PARAM_VALUE 0 a->pdev 4096-ptr_max
PARAM_VALUE 0 a->pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 a->pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 a->pdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 a->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 a->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 a->pdev->is_busmaster 1
PARAM_VALUE 0 a->pdev->pcie_cap 0-1
PARAM_VALUE 0 *a->mbox_status 0-4294967295
PARAM_VALUE 0 *a->reset_tmplt.array 0-4294967295
BUF_SIZE 0 a s32min-(-1),1-s32max
BUF_SIZE 0 a s32min-(-1),1-s32max
DATA_SOURCE 0 a $0
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/qla4xxx/ql4_os.c qla4xxx_do_dpc() -> ql4xxx_lock_drvr_wait()

Type Parameter Key Value
PARAM_VALUE 0 a 4096-ptr_max
PARAM_VALUE 0 a->hardware_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 a->host 4096-ptr_max
PARAM_VALUE 0 a->host->pseudo_sdev->sdev_dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 a->host->pseudo_sdev->sdev_gendev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 a->host->shost_dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 a->host->shost_dev.dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 0 a->host->shost_dev.dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 0 a->host->shost_dev.dma_ops->dma_supported 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 0 a->host->shost_dev.dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 0 a->host->shost_dev.dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 0 a->host->shost_dev.dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 0 a->host->shost_dev.dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 0 a->host->shost_dev.dma_ops->map_phys 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 0 a->host->shost_dev.dma_ops->map_sg 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 0 a->host->shost_dev.dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 0 a->host->shost_dev.dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 0 a->host->shost_dev.dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 0 a->host->shost_dev.dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 0 a->host->shost_dev.dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 0 a->host->shost_dev.dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 0 a->host->shost_dev.dma_ops->unmap_phys 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 0 a->host->shost_dev.dma_ops->unmap_sg 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 0 a->host->shost_dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 a->host->shost_gendev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->dma_supported 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->map_phys 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->map_sg 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->unmap_phys 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->unmap_sg 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 0 a->host->shost_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 a->isp_ops->idc_lock 0,4096-ptr_max
PARAM_VALUE 0 a->isp_ops->idc_unlock 0,4096-ptr_max
PARAM_VALUE 0 a->isp_ops->rd_reg_direct 0,4096-ptr_max
PARAM_VALUE 0 a->isp_ops->wr_reg_direct 0,4096-ptr_max
PARAM_VALUE 0 a->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 a->reg 4096-ptr_max
PARAM_VALUE 0 a->shadow_regs->req_q_out 0
PARAM_VALUE 0 a->shadow_regs->rsp_q_in 0
PARAM_VALUE 0 a->work_list.next->next 4096-ptr_max
PARAM_VALUE 0 a->work_list.next->prev 4096-ptr_max
PARAM_VALUE 0 a->work_list.prev->next 4096-ptr_max
PARAM_VALUE 0 a->work_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 a->work_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *a->mbox_status 0-4294967295
PARAM_VALUE 0 *a->reset_tmplt.array 0-4294967295
CAPPED_DATA 0 a 1
CAPPED_DATA 0 a->host->can_queue 1
HOST_DATA 0 a->nx_dev_init_timeout 0-255
HOST_DATA 0 *a->request_ring 0-255

drivers/scsi/qla4xxx/ql4_os.c qla4xxx_hw_reset() -> ql4xxx_lock_drvr_wait()

Type Parameter Key Value
PARAM_VALUE 0 a 4096-ptr_max
PARAM_VALUE 0 a->host->pseudo_sdev->sdev_dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 a->host->pseudo_sdev->sdev_dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 a->host->pseudo_sdev->sdev_dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 a->host->pseudo_sdev->sdev_dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 a->host->pseudo_sdev->sdev_gendev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 a->host->pseudo_sdev->sdev_gendev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 a->host->pseudo_sdev->sdev_gendev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 a->host->pseudo_sdev->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 a->host->shost_dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 a->host->shost_dev.dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 0 a->host->shost_dev.dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 0 a->host->shost_dev.dma_ops->dma_supported 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 0 a->host->shost_dev.dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 0 a->host->shost_dev.dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 0 a->host->shost_dev.dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 0 a->host->shost_dev.dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 0 a->host->shost_dev.dma_ops->map_phys 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 0 a->host->shost_dev.dma_ops->map_sg 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 0 a->host->shost_dev.dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 0 a->host->shost_dev.dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 0 a->host->shost_dev.dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 0 a->host->shost_dev.dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 0 a->host->shost_dev.dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 0 a->host->shost_dev.dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 0 a->host->shost_dev.dma_ops->unmap_phys 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 0 a->host->shost_dev.dma_ops->unmap_sg 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 0 a->host->shost_dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 a->host->shost_dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 a->host->shost_gendev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->dma_supported 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->map_phys 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->map_sg 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->unmap_phys 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 0 a->host->shost_gendev.dma_ops->unmap_sg 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 0 a->host->shost_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 a->isp_ops->disable_intrs 4096-ptr_max
PARAM_VALUE 0 a->isp_ops->idc_lock 0,4096-ptr_max
PARAM_VALUE 0 a->isp_ops->idc_unlock 0,4096-ptr_max
PARAM_VALUE 0 a->isp_ops->pci_config 4096-ptr_max
PARAM_VALUE 0 a->isp_ops->rd_reg_direct 0,4096-ptr_max
PARAM_VALUE 0 a->isp_ops->start_firmware 4096-ptr_max
PARAM_VALUE 0 a->isp_ops->wr_reg_direct 0,4096-ptr_max
PARAM_VALUE 0 a->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 *a->mbox_status 0-4294967295
PARAM_VALUE 0 *a->reset_tmplt.array 0-4294967295
BUF_SIZE 0 a s32min-(-1),1-s32max
BUF_SIZE 0 a s32min-(-1),1-s32max
BUF_SIZE 0 a->host->hostt (-1),360
BUF_SIZE 0 a->hw (-1),6400
CAPPED_DATA 0 a 1
DATA_SOURCE 0 a $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 a->fw_heartbeat_counter 0-s32max
HOST_DATA 0 a->hw_lock.raw_lock.cnts.counter 0
HOST_DATA 0 a->link_width 0[c]
HOST_DATA 0 a->nx_dev_init_timeout 0-255
HOST_DATA 0 a->nx_reset_timeout 0
HOST_DATA 0 a->pdev->current_state 0-3[c]
NO_OVERFLOW_SIMPLE 0 a->gnl.size
NO_OVERFLOW_SIMPLE 0 a->hw->init_cb_size
NO_OVERFLOW_SIMPLE 0 a->hw->pdev->dev.cma_area->available_count
NO_OVERFLOW_SIMPLE 0 a->req->num_outstanding_cmds
NO_OVERFLOW_SIMPLE 0 a->reset_tmplt.buff
NO_OVERFLOW_SIMPLE 0 a->srb_mempool->min_nr
HALF_LOCKED2 0 &a->hw->hardware_lock
HALF_LOCKED2 0 &a->hw->vport_slock