Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/lpfc/lpfc_scsi.c lpfc_bg_setup_bpl() -> lpfc_bg_err_inject()

Type Parameter Key Value
PARAM_VALUE 0 phba 4096-ptr_max
PARAM_VALUE 0 phba->cfg_sg_seg_cnt 1-u32max
PARAM_VALUE 0 phba->cfg_total_seg_cnt 3-u32max
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->size 0-4294967295
PARAM_VALUE 0 phba->lpfc_get_scsi_buf 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_get.next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_get.next->prev 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.next->next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.prev 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.prev->next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.prev->prev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.dma_mask 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 phba->pport 0,4096-ptr_max
PARAM_VALUE 0 phba->scsi_buf_list_get_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 phba->scsi_buf_list_put_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 sc 4096-ptr_max
PARAM_VALUE 1 sc->cmd_len 16-u16max
PARAM_VALUE 1 sc->device 4096-ptr_max
PARAM_VALUE 1 sc->flags 0-s32max
PARAM_VALUE 1 sc->prot_op 3-4
PARAM_VALUE 1 sc->resid_len 0
PARAM_VALUE 1 sc->sc_data_direction 0-2
PARAM_VALUE 1 sc->sdb.table.nents 1-u32max
PARAM_VALUE 1 sc->submitter 0-1
PARAM_VALUE 2 reftag 1969312624665350144
PARAM_VALUE 3 apptag 0
PARAM_VALUE 4 new_guard 1
CAPPED_DATA 0 phba->lpfc_cmd_rsp_buf_pool->size 1
CAPPED_DATA 0 phba->sli4_hba.max_cfg_param.max_xri 1
DATA_SOURCE 0 phba $0
DATA_SOURCE 1 sc $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 phba->lpfc_cmd_rsp_buf_pool->allocation
HALF_LOCKED2 &sdev->state_mutex

drivers/scsi/lpfc/lpfc_scsi.c lpfc_bg_setup_bpl_prot() -> lpfc_bg_err_inject()

Type Parameter Key Value
PARAM_VALUE 0 phba 4096-ptr_max
PARAM_VALUE 0 phba->cfg_sg_seg_cnt 1-u32max
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->size 0-4294967295
PARAM_VALUE 0 phba->lpfc_get_scsi_buf 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_get.next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_get.next->prev 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.next->next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.prev 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.prev->next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.prev->prev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.dma_mask 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 phba->pport 0,4096-ptr_max
PARAM_VALUE 0 phba->scsi_buf_list_get_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 phba->scsi_buf_list_put_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 sc 4096-ptr_max
PARAM_VALUE 1 sc->cmd_len 16-u16max
PARAM_VALUE 1 sc->device 4096-ptr_max
PARAM_VALUE 1 sc->flags 0-s32max
PARAM_VALUE 1 sc->prot_op 1-2,5-6
PARAM_VALUE 1 sc->prot_sdb 4096-ptr_max
PARAM_VALUE 1 sc->resid_len 0
PARAM_VALUE 1 sc->sc_data_direction 0-2
PARAM_VALUE 1 sc->sdb.table.nents 1-u32max
PARAM_VALUE 1 sc->submitter 0-1
PARAM_VALUE 2 reftag 5961937663061180416
PARAM_VALUE 3 apptag 0
PARAM_VALUE 4 new_guard 1
CAPPED_DATA 0 phba->lpfc_cmd_rsp_buf_pool->size 1
CAPPED_DATA 0 phba->sli4_hba.max_cfg_param.max_xri 1
DATA_SOURCE 0 phba $0
DATA_SOURCE 1 sc $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 phba->lpfc_cmd_rsp_buf_pool->allocation
HALF_LOCKED2 &sdev->state_mutex

drivers/scsi/lpfc/lpfc_scsi.c lpfc_bg_setup_sgl() -> lpfc_bg_err_inject()

Type Parameter Key Value
PARAM_VALUE 0 phba 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->size 0-4294967295
PARAM_VALUE 0 phba->lpfc_get_scsi_buf 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_get.next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_get.next->prev 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.next->next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.prev 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.prev->next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.prev->prev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.dma_mask 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 phba->pport 0,4096-ptr_max
PARAM_VALUE 0 phba->scsi_buf_list_get_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 phba->scsi_buf_list_put_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 sc 4096-ptr_max
PARAM_VALUE 1 sc->cmd_len 16-u16max
PARAM_VALUE 1 sc->device 4096-ptr_max
PARAM_VALUE 1 sc->flags 0-s32max
PARAM_VALUE 1 sc->prot_op 3-4
PARAM_VALUE 1 sc->resid_len 0
PARAM_VALUE 1 sc->sc_data_direction 0-2
PARAM_VALUE 1 sc->sdb.table.nents 1-u32max
PARAM_VALUE 1 sc->submitter 0-1
PARAM_VALUE 2 reftag 2073521808574623744
PARAM_VALUE 3 apptag 0
PARAM_VALUE 4 new_guard 1
CAPPED_DATA 0 phba->cfg_sg_seg_cnt 1
CAPPED_DATA 0 phba->cfg_total_seg_cnt 1
CAPPED_DATA 0 phba->lpfc_cmd_rsp_buf_pool->size 1
CAPPED_DATA 0 phba->sli4_hba.max_cfg_param.max_xri 1
DATA_SOURCE 0 phba $0
DATA_SOURCE 1 sc $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 phba->lpfc_cmd_rsp_buf_pool->allocation
HALF_LOCKED2 &sdev->state_mutex

drivers/scsi/lpfc/lpfc_scsi.c lpfc_bg_setup_sgl_prot() -> lpfc_bg_err_inject()

Type Parameter Key Value
PARAM_VALUE 0 phba 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 phba->lpfc_cmd_rsp_buf_pool->size 0-4294967295
PARAM_VALUE 0 phba->lpfc_get_scsi_buf 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_get.next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_get.next->prev 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.next->next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.prev 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.prev->next 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_scsi_buf_list_put.prev->prev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.dma_mask 4096-ptr_max
PARAM_VALUE 0 phba->pcidev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 phba->pport 0,4096-ptr_max
PARAM_VALUE 0 phba->scsi_buf_list_get_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 phba->scsi_buf_list_put_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 sc 4096-ptr_max
PARAM_VALUE 1 sc->cmd_len 16-u16max
PARAM_VALUE 1 sc->device 4096-ptr_max
PARAM_VALUE 1 sc->flags 0-s32max
PARAM_VALUE 1 sc->prot_op 1-2,5-6
PARAM_VALUE 1 sc->prot_sdb 4096-ptr_max
PARAM_VALUE 1 sc->resid_len 0
PARAM_VALUE 1 sc->sc_data_direction 0-2
PARAM_VALUE 1 sc->sdb.table.nents 1-u32max
PARAM_VALUE 1 sc->submitter 0-1
PARAM_VALUE 2 reftag 1310239317835276288
PARAM_VALUE 3 apptag 0
PARAM_VALUE 4 new_guard 1
CAPPED_DATA 0 phba->cfg_sg_seg_cnt 1
CAPPED_DATA 0 phba->lpfc_cmd_rsp_buf_pool->size 1
CAPPED_DATA 0 phba->sli4_hba.max_cfg_param.max_xri 1
DATA_SOURCE 0 phba $0
DATA_SOURCE 1 sc $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 phba->lpfc_cmd_rsp_buf_pool->allocation
HALF_LOCKED2 &sdev->state_mutex