Lines Matching refs:sgpe
1295 struct scatterlist *sgpe; /* s/g prot entry */ in lpfc_bg_err_inject() local
1311 sgpe = scsi_prot_sglist(sc); in lpfc_bg_err_inject()
1324 if (sgpe) { in lpfc_bg_err_inject()
1326 numblks = sg_dma_len(sgpe) / in lpfc_bg_err_inject()
1354 if (sgpe) { in lpfc_bg_err_inject()
1355 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_bg_err_inject()
2017 struct scatterlist *sgpe = NULL; /* s/g prot entry */ in lpfc_bg_setup_bpl_prot() local
2039 sgpe = scsi_prot_sglist(sc); in lpfc_bg_setup_bpl_prot()
2042 if (!sgpe || !sgde) { in lpfc_bg_setup_bpl_prot()
2045 sgpe, sgde); in lpfc_bg_setup_bpl_prot()
2117 protphysaddr = sg_dma_address(sgpe) + protgroup_offset; in lpfc_bg_setup_bpl_prot()
2118 protgroup_len = sg_dma_len(sgpe) - protgroup_offset; in lpfc_bg_setup_bpl_prot()
2211 sgpe = sg_next(sgpe); in lpfc_bg_setup_bpl_prot()
2399 struct scatterlist *sgpe = NULL; /* s/g prot entry */ in lpfc_bg_setup_sgl_prot() local
2420 sgpe = scsi_prot_sglist(sc); in lpfc_bg_setup_sgl_prot()
2423 if (!sgpe || !sgde) { in lpfc_bg_setup_sgl_prot()
2426 sgpe, sgde); in lpfc_bg_setup_sgl_prot()
2503 protphysaddr = sg_dma_address(sgpe) + protgroup_offset; in lpfc_bg_setup_sgl_prot()
2504 protgroup_len = sg_dma_len(sgpe) - protgroup_offset; in lpfc_bg_setup_sgl_prot()
2598 sgpe = sg_next(sgpe); in lpfc_bg_setup_sgl_prot()
2879 struct scatterlist *sgpe; /* s/g prot entry */ in lpfc_calc_bg_err() local
2910 sgpe = scsi_prot_sglist(cmd); in lpfc_calc_bg_err()
2913 if (sgpe && protsegcnt) { in lpfc_calc_bg_err()
2927 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_calc_bg_err()
2930 len = sgpe->length; in lpfc_calc_bg_err()
3001 sgpe = sg_next(sgpe); in lpfc_calc_bg_err()
3002 if (sgpe) { in lpfc_calc_bg_err()
3003 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_calc_bg_err()
3004 len = sgpe->length; in lpfc_calc_bg_err()