Lines Matching refs:sgpe

1295 	struct scatterlist *sgpe; /* s/g prot entry */  in lpfc_bg_err_inject()  local
1310 sgpe = scsi_prot_sglist(sc); in lpfc_bg_err_inject()
1322 if (sgpe) { in lpfc_bg_err_inject()
1324 numblks = sg_dma_len(sgpe) / in lpfc_bg_err_inject()
1352 if (sgpe) { in lpfc_bg_err_inject()
1353 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_bg_err_inject()
2013 struct scatterlist *sgpe = NULL; /* s/g prot entry */ in lpfc_bg_setup_bpl_prot() local
2035 sgpe = scsi_prot_sglist(sc); in lpfc_bg_setup_bpl_prot()
2038 if (!sgpe || !sgde) { in lpfc_bg_setup_bpl_prot()
2041 sgpe, sgde); in lpfc_bg_setup_bpl_prot()
2113 protphysaddr = sg_dma_address(sgpe) + protgroup_offset; in lpfc_bg_setup_bpl_prot()
2114 protgroup_len = sg_dma_len(sgpe) - protgroup_offset; in lpfc_bg_setup_bpl_prot()
2207 sgpe = sg_next(sgpe); in lpfc_bg_setup_bpl_prot()
2393 struct scatterlist *sgpe = NULL; /* s/g prot entry */ in lpfc_bg_setup_sgl_prot() local
2414 sgpe = scsi_prot_sglist(sc); in lpfc_bg_setup_sgl_prot()
2417 if (!sgpe || !sgde) { in lpfc_bg_setup_sgl_prot()
2420 sgpe, sgde); in lpfc_bg_setup_sgl_prot()
2497 protphysaddr = sg_dma_address(sgpe) + protgroup_offset; in lpfc_bg_setup_sgl_prot()
2498 protgroup_len = sg_dma_len(sgpe) - protgroup_offset; in lpfc_bg_setup_sgl_prot()
2592 sgpe = sg_next(sgpe); in lpfc_bg_setup_sgl_prot()
2873 struct scatterlist *sgpe; /* s/g prot entry */ in lpfc_calc_bg_err() local
2904 sgpe = scsi_prot_sglist(cmd); in lpfc_calc_bg_err()
2907 if (sgpe && protsegcnt) { in lpfc_calc_bg_err()
2920 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_calc_bg_err()
2923 len = sgpe->length; in lpfc_calc_bg_err()
2994 sgpe = sg_next(sgpe); in lpfc_calc_bg_err()
2995 if (sgpe) { in lpfc_calc_bg_err()
2996 src = (struct scsi_dif_tuple *)sg_virt(sgpe); in lpfc_calc_bg_err()
2997 len = sgpe->length; in lpfc_calc_bg_err()