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_scsi_prep_dma_buf_s3() -> lpfc_bg_setup_bpl()

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->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_lock.rlock.dep_map->name 0-255
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->attach_deferred 0-1
PARAM_VALUE 0 phba->pcidev->dev.iommu->pci_32bit_workaround 0-1
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 bpl 4096-ptr_max
PARAM_VALUE 3 datasegcnt 1-s32max
CAPPED_DATA 0 phba->lpfc_cmd_rsp_buf_pool->size 1
CAPPED_DATA 0 phba->sli4_hba.max_cfg_param.max_xri 1
CAPPED_DATA 0 &phba->pcidev->dev 1
CAPPED_DATA 3 datasegcnt 1
DATA_SOURCE 0 phba $0
DATA_SOURCE 3 datasegcnt r dma_map_sg_attrs
PARAM_COMPARE 3 datasegcnt <= $0->cfg_sg_seg_cnt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 3 datasegcnt
UNITS 2 bpl unit_byte
HALF_LOCKED2 &sdev->state_mutex