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