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_scsi_adjust_dl()

Type Parameter Key Value
PARAM_VALUE 0 phba 4096-ptr_max
PARAM_VALUE 1 lpfc_cmd 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->prot_op 1-255
BUF_SIZE 1 lpfc_cmd->rdata (-1),12,16,18,24,32,272,280,520,2064
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 lpfc_cmd $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 lpfc_cmd->prot_seg_cnt
NO_OVERFLOW_SIMPLE 1 lpfc_cmd->seg_cnt
HALF_LOCKED2 &sdev->state_mutex

drivers/scsi/lpfc/lpfc_scsi.c lpfc_bg_scsi_prep_dma_buf_s4() -> lpfc_bg_scsi_adjust_dl()

Type Parameter Key Value
PARAM_VALUE 0 phba 4096-ptr_max
PARAM_VALUE 1 lpfc_cmd 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->prot_op 1-255
BUF_SIZE 1 lpfc_cmd->rdata (-1),12,16,18,24,32,272,280,520,2064
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 lpfc_cmd $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 lpfc_cmd->prot_seg_cnt
NO_OVERFLOW_SIMPLE 1 lpfc_cmd->seg_cnt
HALF_LOCKED2 &sdev->state_mutex