Lines Matching refs:sgpe

964 	struct scatterlist *sgpe; /* s/g prot entry */  in lpfc_bg_err_inject()  local
979 sgpe = scsi_prot_sglist(sc); in lpfc_bg_err_inject()
993 if (sgpe) { in lpfc_bg_err_inject()
995 numblks = sg_dma_len(sgpe) / in lpfc_bg_err_inject()
1023 if (sgpe) { in lpfc_bg_err_inject()
1024 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_bg_err_inject()
1687 struct scatterlist *sgpe = NULL; /* s/g prot entry */ in lpfc_bg_setup_bpl_prot() local
1709 sgpe = scsi_prot_sglist(sc); in lpfc_bg_setup_bpl_prot()
1712 if (!sgpe || !sgde) { in lpfc_bg_setup_bpl_prot()
1715 sgpe, sgde); in lpfc_bg_setup_bpl_prot()
1789 protphysaddr = sg_dma_address(sgpe) + protgroup_offset; in lpfc_bg_setup_bpl_prot()
1790 protgroup_len = sg_dma_len(sgpe) - protgroup_offset; in lpfc_bg_setup_bpl_prot()
1883 sgpe = sg_next(sgpe); in lpfc_bg_setup_bpl_prot()
2119 struct scatterlist *sgpe = NULL; /* s/g prot entry */ in lpfc_bg_setup_sgl_prot() local
2141 sgpe = scsi_prot_sglist(sc); in lpfc_bg_setup_sgl_prot()
2144 if (!sgpe || !sgde) { in lpfc_bg_setup_sgl_prot()
2147 sgpe, sgde); in lpfc_bg_setup_sgl_prot()
2255 protphysaddr = sg_dma_address(sgpe) + protgroup_offset; in lpfc_bg_setup_sgl_prot()
2256 protgroup_len = sg_dma_len(sgpe) - protgroup_offset; in lpfc_bg_setup_sgl_prot()
2398 sgpe = sg_next(sgpe); in lpfc_bg_setup_sgl_prot()
2702 struct scatterlist *sgpe; /* s/g prot entry */ in lpfc_calc_bg_err() local
2733 sgpe = scsi_prot_sglist(cmd); in lpfc_calc_bg_err()
2736 if (sgpe && protsegcnt) { in lpfc_calc_bg_err()
2749 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_calc_bg_err()
2754 len = sgpe->length; in lpfc_calc_bg_err()
2826 sgpe = sg_next(sgpe); in lpfc_calc_bg_err()
2827 if (sgpe) { in lpfc_calc_bg_err()
2828 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_calc_bg_err()
2829 len = sgpe->length; in lpfc_calc_bg_err()