Lines Matching refs:sgpe
987 struct scatterlist *sgpe; /* s/g prot entry */ in lpfc_bg_err_inject() local
1002 sgpe = scsi_prot_sglist(sc); in lpfc_bg_err_inject()
1014 if (sgpe) { in lpfc_bg_err_inject()
1016 numblks = sg_dma_len(sgpe) / in lpfc_bg_err_inject()
1044 if (sgpe) { in lpfc_bg_err_inject()
1045 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_bg_err_inject()
1707 struct scatterlist *sgpe = NULL; /* s/g prot entry */ in lpfc_bg_setup_bpl_prot() local
1729 sgpe = scsi_prot_sglist(sc); in lpfc_bg_setup_bpl_prot()
1732 if (!sgpe || !sgde) { in lpfc_bg_setup_bpl_prot()
1735 sgpe, sgde); in lpfc_bg_setup_bpl_prot()
1807 protphysaddr = sg_dma_address(sgpe) + protgroup_offset; in lpfc_bg_setup_bpl_prot()
1808 protgroup_len = sg_dma_len(sgpe) - protgroup_offset; in lpfc_bg_setup_bpl_prot()
1901 sgpe = sg_next(sgpe); in lpfc_bg_setup_bpl_prot()
2133 struct scatterlist *sgpe = NULL; /* s/g prot entry */ in lpfc_bg_setup_sgl_prot() local
2155 sgpe = scsi_prot_sglist(sc); in lpfc_bg_setup_sgl_prot()
2158 if (!sgpe || !sgde) { in lpfc_bg_setup_sgl_prot()
2161 sgpe, sgde); in lpfc_bg_setup_sgl_prot()
2268 protphysaddr = sg_dma_address(sgpe) + protgroup_offset; in lpfc_bg_setup_sgl_prot()
2269 protgroup_len = sg_dma_len(sgpe) - protgroup_offset; in lpfc_bg_setup_sgl_prot()
2411 sgpe = sg_next(sgpe); in lpfc_bg_setup_sgl_prot()
2715 struct scatterlist *sgpe; /* s/g prot entry */ in lpfc_calc_bg_err() local
2746 sgpe = scsi_prot_sglist(cmd); in lpfc_calc_bg_err()
2749 if (sgpe && protsegcnt) { in lpfc_calc_bg_err()
2762 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_calc_bg_err()
2765 len = sgpe->length; in lpfc_calc_bg_err()
2836 sgpe = sg_next(sgpe); in lpfc_calc_bg_err()
2837 if (sgpe) { in lpfc_calc_bg_err()
2838 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_calc_bg_err()
2839 len = sgpe->length; in lpfc_calc_bg_err()