Lines Matching refs:i
26 int i; in sg_calculate_split() local
32 for (i = 0; i < nb_splits; i++) { in sg_calculate_split()
33 splitters[i].in_sg0 = NULL; in sg_calculate_split()
34 splitters[i].nents = 0; in sg_calculate_split()
37 for_each_sg(in, sg, nents, i) { in sg_calculate_split()
81 int i, j; in sg_split_phys() local
85 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_phys()
107 int i, j; in sg_split_mapped() local
111 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_mapped()
156 int i, ret; in sg_split() local
169 for (i = 0; i < nb_splits; i++) { in sg_split()
170 splitters[i].out_sg = kmalloc_array(splitters[i].nents, in sg_split()
173 if (!splitters[i].out_sg) in sg_split()
187 for (i = 0; i < nb_splits; i++) { in sg_split()
188 out[i] = splitters[i].out_sg; in sg_split()
190 out_mapped_nents[i] = splitters[i].nents; in sg_split()
197 for (i = 0; i < nb_splits; i++) in sg_split()
198 kfree(splitters[i].out_sg); in sg_split()