Lines Matching defs:sgpe
962 struct scatterlist *sgpe; /* s/g prot entry */
977 sgpe = scsi_prot_sglist(sc);
989 if (sgpe) {
991 numblks = sg_dma_len(sgpe) /
1019 if (sgpe) {
1020 src = (struct scsi_dif_tuple *)sg_virt(sgpe);
1681 struct scatterlist *sgpe = NULL; /* s/g prot entry */
1703 sgpe = scsi_prot_sglist(sc);
1706 if (!sgpe || !sgde) {
1709 sgpe, sgde);
1781 protphysaddr = sg_dma_address(sgpe) + protgroup_offset;
1782 protgroup_len = sg_dma_len(sgpe) - protgroup_offset;
1874 sgpe = sg_next(sgpe);
2108 struct scatterlist *sgpe = NULL; /* s/g prot entry */
2130 sgpe = scsi_prot_sglist(sc);
2133 if (!sgpe || !sgde) {
2136 sgpe, sgde);
2242 protphysaddr = sg_dma_address(sgpe) + protgroup_offset;
2243 protgroup_len = sg_dma_len(sgpe) - protgroup_offset;
2384 sgpe = sg_next(sgpe);
2688 struct scatterlist *sgpe; /* s/g prot entry */
2719 sgpe = scsi_prot_sglist(cmd);
2722 if (sgpe && protsegcnt) {
2735 src = (struct scsi_dif_tuple *)sg_virt(sgpe);
2738 len = sgpe->length;
2810 sgpe = sg_next(sgpe);
2811 if (sgpe) {
2812 src = (struct scsi_dif_tuple *)sg_virt(sgpe);
2813 len = sgpe->length;