Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/lpfc/lpfc_scsi.c lpfc_scsi_prep_cmnd_buf() -> (struct lpfc_hba)->lpfc_scsi_prep_cmnd_buf()

Type Parameter Key Value
PARAM_VALUE 0 vport 4096-ptr_max
PARAM_VALUE 0 vport->phba 4096-ptr_max
PARAM_VALUE 0 vport->phba->lpfc_cmd_rsp_buf_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 vport->phba->lpfc_cmd_rsp_buf_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 vport->phba->lpfc_cmd_rsp_buf_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 vport->phba->lpfc_cmd_rsp_buf_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vport->phba->lpfc_cmd_rsp_buf_pool->size 0-4294967295
PARAM_VALUE 0 vport->phba->lpfc_get_scsi_buf 4096-ptr_max
PARAM_VALUE 0 vport->phba->lpfc_scsi_buf_list_get.next 4096-ptr_max
PARAM_VALUE 0 vport->phba->lpfc_scsi_buf_list_get.next->prev 4096-ptr_max
PARAM_VALUE 0 vport->phba->lpfc_scsi_buf_list_put.next 4096-ptr_max
PARAM_VALUE 0 vport->phba->lpfc_scsi_buf_list_put.next->next 4096-ptr_max
PARAM_VALUE 0 vport->phba->lpfc_scsi_buf_list_put.prev 4096-ptr_max
PARAM_VALUE 0 vport->phba->lpfc_scsi_buf_list_put.prev->next 4096-ptr_max
PARAM_VALUE 0 vport->phba->lpfc_scsi_buf_list_put.prev->prev 4096-ptr_max
PARAM_VALUE 0 vport->phba->scsi_buf_list_get_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vport->phba->scsi_buf_list_put_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 lpfc_cmd 4096-ptr_max
PARAM_VALUE 1 lpfc_cmd->cur_iocbq.cmd_cmpl 0
PARAM_VALUE 1 lpfc_cmd->fcp_cmnd 4096-ptr_max
PARAM_VALUE 1 lpfc_cmd->fcp_cmnd->fcpCdb 4096-ptr_max
PARAM_VALUE 1 lpfc_cmd->fcp_cmnd->fcpCntl1 0
PARAM_VALUE 1 lpfc_cmd->fcp_cmnd->fcpCntl2 0
PARAM_VALUE 1 lpfc_cmd->fcp_cmnd->fcp_lun->scsi_lun 0-255
PARAM_VALUE 1 lpfc_cmd->fcp_rsp 4096-ptr_max
PARAM_VALUE 1 lpfc_cmd->fcp_rsp->rspSnsLen 0
PARAM_VALUE 1 lpfc_cmd->ndlp 4096-ptr_max
PARAM_VALUE 1 lpfc_cmd->pCmd 4096-ptr_max
PARAM_VALUE 1 lpfc_cmd->pCmd->device 4096-ptr_max
PARAM_VALUE 1 lpfc_cmd->pCmd->flags 0-s32max
PARAM_VALUE 1 lpfc_cmd->pCmd->resid_len 0
PARAM_VALUE 1 lpfc_cmd->pCmd->submitter 0-1
PARAM_VALUE 1 lpfc_cmd->rdata 4096-ptr_max
PARAM_VALUE 1 lpfc_cmd->rdata->pnode 4096-ptr_max
BUF_SIZE 1 lpfc_cmd->rdata (-1),12,16,18,24,32,272,280,520,2064
DATA_SOURCE 0 vport $0
DATA_SOURCE 1 lpfc_cmd $1
DATA_SOURCE 2 tmo $2
CONTAINER 0 -48-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sdev->state_mutex