Lines Matching refs:sgpe

1020 	struct scatterlist *sgpe; /* s/g prot entry */  in lpfc_bg_err_inject()  local
1035 sgpe = scsi_prot_sglist(sc); in lpfc_bg_err_inject()
1049 if (sgpe) { in lpfc_bg_err_inject()
1051 numblks = sg_dma_len(sgpe) / in lpfc_bg_err_inject()
1079 if (sgpe) { in lpfc_bg_err_inject()
1080 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_bg_err_inject()
1743 struct scatterlist *sgpe = NULL; /* s/g prot entry */ in lpfc_bg_setup_bpl_prot() local
1765 sgpe = scsi_prot_sglist(sc); in lpfc_bg_setup_bpl_prot()
1768 if (!sgpe || !sgde) { in lpfc_bg_setup_bpl_prot()
1771 sgpe, sgde); in lpfc_bg_setup_bpl_prot()
1845 protphysaddr = sg_dma_address(sgpe) + protgroup_offset; in lpfc_bg_setup_bpl_prot()
1846 protgroup_len = sg_dma_len(sgpe) - protgroup_offset; in lpfc_bg_setup_bpl_prot()
1939 sgpe = sg_next(sgpe); in lpfc_bg_setup_bpl_prot()
2175 struct scatterlist *sgpe = NULL; /* s/g prot entry */ in lpfc_bg_setup_sgl_prot() local
2197 sgpe = scsi_prot_sglist(sc); in lpfc_bg_setup_sgl_prot()
2200 if (!sgpe || !sgde) { in lpfc_bg_setup_sgl_prot()
2203 sgpe, sgde); in lpfc_bg_setup_sgl_prot()
2311 protphysaddr = sg_dma_address(sgpe) + protgroup_offset; in lpfc_bg_setup_sgl_prot()
2312 protgroup_len = sg_dma_len(sgpe) - protgroup_offset; in lpfc_bg_setup_sgl_prot()
2454 sgpe = sg_next(sgpe); in lpfc_bg_setup_sgl_prot()
2758 struct scatterlist *sgpe; /* s/g prot entry */ in lpfc_calc_bg_err() local
2789 sgpe = scsi_prot_sglist(cmd); in lpfc_calc_bg_err()
2792 if (sgpe && protsegcnt) { in lpfc_calc_bg_err()
2805 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_calc_bg_err()
2810 len = sgpe->length; in lpfc_calc_bg_err()
2882 sgpe = sg_next(sgpe); in lpfc_calc_bg_err()
2883 if (sgpe) { in lpfc_calc_bg_err()
2884 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_calc_bg_err()
2885 len = sgpe->length; in lpfc_calc_bg_err()