nb_splits 261 include/linux/scatterlist.h const off_t skip, const int nb_splits, nb_splits 20 lib/sg_split.c static int sg_calculate_split(struct scatterlist *in, int nents, int nb_splits, nb_splits 30 lib/sg_split.c for (i = 0; i < nb_splits; i++) { nb_splits 51 lib/sg_split.c while (!size && (skip + len < sglen) && (--nb_splits > 0)) { nb_splits 65 lib/sg_split.c if (!size && --nb_splits > 0) { nb_splits 70 lib/sg_split.c if (!nb_splits) nb_splits 77 lib/sg_split.c static void sg_split_phys(struct sg_splitter *splitters, const int nb_splits) nb_splits 83 lib/sg_split.c for (i = 0, split = splitters; i < nb_splits; i++, split++) { nb_splits 103 lib/sg_split.c static void sg_split_mapped(struct sg_splitter *splitters, const int nb_splits) nb_splits 109 lib/sg_split.c for (i = 0, split = splitters; i < nb_splits; i++, split++) { nb_splits 149 lib/sg_split.c const off_t skip, const int nb_splits, nb_splits 157 lib/sg_split.c splitters = kcalloc(nb_splits, sizeof(*splitters), gfp_mask); nb_splits 161 lib/sg_split.c ret = sg_calculate_split(in, sg_nents(in), nb_splits, skip, split_sizes, nb_splits 167 lib/sg_split.c for (i = 0; i < nb_splits; i++) { nb_splits 178 lib/sg_split.c sg_split_phys(splitters, nb_splits); nb_splits 180 lib/sg_split.c ret = sg_calculate_split(in, in_mapped_nents, nb_splits, skip, nb_splits 184 lib/sg_split.c sg_split_mapped(splitters, nb_splits); nb_splits 187 lib/sg_split.c for (i = 0; i < nb_splits; i++) { nb_splits 197 lib/sg_split.c for (i = 0; i < nb_splits; i++)