Lines Matching refs:sgpe
1320 struct scatterlist *sgpe; /* s/g prot entry */ in lpfc_bg_err_inject() local
1335 sgpe = scsi_prot_sglist(sc); in lpfc_bg_err_inject()
1347 if (sgpe) { in lpfc_bg_err_inject()
1349 numblks = sg_dma_len(sgpe) / in lpfc_bg_err_inject()
1377 if (sgpe) { in lpfc_bg_err_inject()
1378 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_bg_err_inject()
2038 struct scatterlist *sgpe = NULL; /* s/g prot entry */ in lpfc_bg_setup_bpl_prot() local
2060 sgpe = scsi_prot_sglist(sc); in lpfc_bg_setup_bpl_prot()
2063 if (!sgpe || !sgde) { in lpfc_bg_setup_bpl_prot()
2066 sgpe, sgde); in lpfc_bg_setup_bpl_prot()
2138 protphysaddr = sg_dma_address(sgpe) + protgroup_offset; in lpfc_bg_setup_bpl_prot()
2139 protgroup_len = sg_dma_len(sgpe) - protgroup_offset; in lpfc_bg_setup_bpl_prot()
2232 sgpe = sg_next(sgpe); in lpfc_bg_setup_bpl_prot()
2418 struct scatterlist *sgpe = NULL; /* s/g prot entry */ in lpfc_bg_setup_sgl_prot() local
2439 sgpe = scsi_prot_sglist(sc); in lpfc_bg_setup_sgl_prot()
2442 if (!sgpe || !sgde) { in lpfc_bg_setup_sgl_prot()
2445 sgpe, sgde); in lpfc_bg_setup_sgl_prot()
2522 protphysaddr = sg_dma_address(sgpe) + protgroup_offset; in lpfc_bg_setup_sgl_prot()
2523 protgroup_len = sg_dma_len(sgpe) - protgroup_offset; in lpfc_bg_setup_sgl_prot()
2617 sgpe = sg_next(sgpe); in lpfc_bg_setup_sgl_prot()
2898 struct scatterlist *sgpe; /* s/g prot entry */ in lpfc_calc_bg_err() local
2929 sgpe = scsi_prot_sglist(cmd); in lpfc_calc_bg_err()
2932 if (sgpe && protsegcnt) { in lpfc_calc_bg_err()
2945 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_calc_bg_err()
2948 len = sgpe->length; in lpfc_calc_bg_err()
3019 sgpe = sg_next(sgpe); in lpfc_calc_bg_err()
3020 if (sgpe) { in lpfc_calc_bg_err()
3021 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_calc_bg_err()
3022 len = sgpe->length; in lpfc_calc_bg_err()