Lines Matching refs:seg_cnt
1193 psb->seg_cnt = 0; in lpfc_release_scsi_buf_s3()
1219 psb->seg_cnt = 0; in lpfc_release_scsi_buf_s4()
1303 lpfc_cmd->seg_cnt = nseg; in lpfc_scsi_prep_dma_buf_s3()
1304 if (lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt) { in lpfc_scsi_prep_dma_buf_s3()
1309 lpfc_cmd->seg_cnt); in lpfc_scsi_prep_dma_buf_s3()
1310 lpfc_cmd->seg_cnt = 0; in lpfc_scsi_prep_dma_buf_s3()
2858 lpfc_cmd->seg_cnt = datasegcnt; in lpfc_bg_scsi_prep_dma_buf_s3()
2861 if (lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt) in lpfc_bg_scsi_prep_dma_buf_s3()
2870 if ((lpfc_cmd->seg_cnt + 2) > phba->cfg_total_seg_cnt) in lpfc_bg_scsi_prep_dma_buf_s3()
2915 lpfc_cmd->seg_cnt = 0; in lpfc_bg_scsi_prep_dma_buf_s3()
2946 if (lpfc_cmd->seg_cnt) in lpfc_bg_scsi_prep_dma_buf_s3()
2956 lpfc_cmd->seg_cnt, lpfc_cmd->prot_seg_cnt, in lpfc_bg_scsi_prep_dma_buf_s3()
2960 lpfc_cmd->seg_cnt = 0; in lpfc_bg_scsi_prep_dma_buf_s3()
3392 lpfc_cmd->seg_cnt = nseg; in lpfc_scsi_prep_dma_buf_s4()
3393 if (lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt) { in lpfc_scsi_prep_dma_buf_s4()
3398 lpfc_cmd->seg_cnt); in lpfc_scsi_prep_dma_buf_s4()
3399 lpfc_cmd->seg_cnt = 0; in lpfc_scsi_prep_dma_buf_s4()
3519 lpfc_cmd->seg_cnt = datasegcnt; in lpfc_bg_scsi_prep_dma_buf_s4()
3522 if (lpfc_cmd->seg_cnt > phba->cfg_sg_seg_cnt) in lpfc_bg_scsi_prep_dma_buf_s4()
3530 if ((lpfc_cmd->seg_cnt + 1) > phba->cfg_total_seg_cnt) in lpfc_bg_scsi_prep_dma_buf_s4()
3576 lpfc_cmd->seg_cnt = 0; in lpfc_bg_scsi_prep_dma_buf_s4()
3619 if (lpfc_cmd->seg_cnt) in lpfc_bg_scsi_prep_dma_buf_s4()
3629 lpfc_cmd->seg_cnt, lpfc_cmd->prot_seg_cnt, in lpfc_bg_scsi_prep_dma_buf_s4()
3633 lpfc_cmd->seg_cnt = 0; in lpfc_bg_scsi_prep_dma_buf_s4()
3787 if (psb->seg_cnt > 0) in lpfc_scsi_unprep_dma_buf()