Home
last modified time | relevance | path

Searched refs:nb_splits (Results 1 – 1 of 1) sorted by relevance

/lib/
Dsg_split.c20 static int sg_calculate_split(struct scatterlist *in, int nents, int nb_splits, in sg_calculate_split() argument
30 for (i = 0; i < nb_splits; i++) { in sg_calculate_split()
51 while (!size && (skip + len < sglen) && (--nb_splits > 0)) { in sg_calculate_split()
65 if (!size && --nb_splits > 0) { in sg_calculate_split()
70 if (!nb_splits) in sg_calculate_split()
77 static void sg_split_phys(struct sg_splitter *splitters, const int nb_splits) in sg_split_phys() argument
83 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_phys()
103 static void sg_split_mapped(struct sg_splitter *splitters, const int nb_splits) in sg_split_mapped() argument
109 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_mapped()
149 const off_t skip, const int nb_splits, in sg_split() argument
[all …]