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_s4() -> lpfc_bg_setup_sgl_prot()

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->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 1-2,5-6
PARAM_VALUE 1 sc->prot_sdb 0,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 sgl->word2 0-s32max
PARAM_VALUE 3 datacnt 1-s32max
PARAM_VALUE 4 protcnt 1-s32max
PARAM_VALUE 5 lpfc_cmd 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.cmd_cmpl 4297827516950310912,6256109610651881472
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.io_buf 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.io_buf->cur_iocbq.io_buf 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.io_buf->cur_iocbq.iocb.ulpCommand 152,154,156
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.io_buf->cur_iocbq.iocb.ulpPU 0,2
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.io_buf->cur_iocbq.vport 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.io_buf->fcp_cmnd 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.io_buf->fcp_rsp 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.io_buf->ndlp 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.io_buf->pCmd 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.io_buf->rdata 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.iocb.ulpCommand 152,154,156
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.iocb.ulpPU 0,2
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.vport 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.vport->phba 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.abort_cmd.word3 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.cmf_sync.word10 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.cmf_sync.word11 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.cmf_sync.word13 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.cmf_sync.word14 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.cmf_sync.word15 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.cmf_sync.word3 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.cmf_sync.word5 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.cmf_sync.word6 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.cmf_sync.word7 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.cmf_sync.word8 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.cmf_sync.word9 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.els_req.word12 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.els_req.word13 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.els_req.word14 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.els_req.word4 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.fcp_icmd.rsrvd4 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.fcp_icmd.rsrvd5 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.fcp_icmd.word3 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.fcp_iread.word3 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.generic.word3 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.generic.word4 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.generic.word5 0
PARAM_VALUE 5 lpfc_cmd->cur_iocbq.wqe.generic.wqe_com.abort_tag 0-u16max
PARAM_VALUE 5 lpfc_cmd->fcp_cmnd->fcpCntl1 0
PARAM_VALUE 5 lpfc_cmd->fcp_cmnd->fcpCntl2 0
PARAM_VALUE 5 lpfc_cmd->fcp_cmnd->fcpCntl3 0-2,17-18
PARAM_VALUE 5 lpfc_cmd->fcp_cmnd->fcp_lun->scsi_lun 0-255
PARAM_VALUE 5 lpfc_cmd->fcp_rsp->rspSnsLen 0
PARAM_VALUE 5 lpfc_cmd->ndlp 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->pCmd 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->pCmd->cmd_len 16-u16max
PARAM_VALUE 5 lpfc_cmd->pCmd->device 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->pCmd->flags 0-s32max
PARAM_VALUE 5 lpfc_cmd->pCmd->prot_op 1-2,5-6
PARAM_VALUE 5 lpfc_cmd->pCmd->prot_sdb 0,4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->pCmd->resid_len 0
PARAM_VALUE 5 lpfc_cmd->pCmd->sdb.table.nents 1-u32max
PARAM_VALUE 5 lpfc_cmd->pCmd->submitter 0-1
PARAM_VALUE 5 lpfc_cmd->prot_seg_cnt 1-s32max
PARAM_VALUE 5 lpfc_cmd->rdata 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->rdata->pnode 4096-ptr_max
PARAM_VALUE 5 lpfc_cmd->seg_cnt 1-s32max
BUF_SIZE 5 lpfc_cmd->rdata (-1),12,16,18,24,32,272,280,520,2064
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
CAPPED_DATA 0 &phba->pcidev->dev 1
CAPPED_DATA 3 datacnt 1
CAPPED_DATA 4 protcnt 1
CAPPED_DATA 5 lpfc_cmd->prot_seg_cnt 1
CAPPED_DATA 5 lpfc_cmd->seg_cnt 1
DATA_SOURCE 0 phba $0
DATA_SOURCE 3 datacnt r dma_map_sg_attrs
DATA_SOURCE 4 protcnt r dma_map_sg_attrs
DATA_SOURCE 5 lpfc_cmd $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 3 datacnt
NO_OVERFLOW_SIMPLE 4 protcnt
NO_OVERFLOW_SIMPLE 5 lpfc_cmd->prot_seg_cnt
NO_OVERFLOW_SIMPLE 5 lpfc_cmd->seg_cnt
UNITS 2 sgl unit_byte
HALF_LOCKED2 &sdev->state_mutex