Lines Matching full:split
81 struct sg_splitter *split; in sg_split_phys() local
83 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_phys()
84 in_sg = split->in_sg0; in sg_split_phys()
85 out_sg = split->out_sg; in sg_split_phys()
86 for (j = 0; j < split->nents; j++, out_sg++) { in sg_split_phys()
89 out_sg->offset += split->skip_sg0; in sg_split_phys()
90 out_sg->length -= split->skip_sg0; in sg_split_phys()
98 out_sg[-1].length = split->length_last_sg; in sg_split_phys()
107 struct sg_splitter *split; in sg_split_mapped() local
109 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_mapped()
110 in_sg = split->in_sg0; in sg_split_mapped()
111 out_sg = split->out_sg; in sg_split_mapped()
112 for (j = 0; j < split->nents; j++, out_sg++) { in sg_split_mapped()
116 sg_dma_address(out_sg) += split->skip_sg0; in sg_split_mapped()
117 sg_dma_len(out_sg) -= split->skip_sg0; in sg_split_mapped()
121 sg_dma_len(--out_sg) = split->length_last_sg; in sg_split_mapped()
126 * sg_split - split a scatterlist into several scatterlists
139 * The @in is split into :