Home
last modified time | relevance | path

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

/linux-4.19.296/lib/
Dsg_split.c22 static int sg_calculate_split(struct scatterlist *in, int nents, int nb_splits, in sg_calculate_split() argument
32 for (i = 0; i < nb_splits; i++) { in sg_calculate_split()
53 while (!size && (skip + len < sglen) && (--nb_splits > 0)) { in sg_calculate_split()
67 if (!size && --nb_splits > 0) { in sg_calculate_split()
72 if (!nb_splits) in sg_calculate_split()
79 static void sg_split_phys(struct sg_splitter *splitters, const int nb_splits) in sg_split_phys() argument
85 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_phys()
105 static void sg_split_mapped(struct sg_splitter *splitters, const int nb_splits) in sg_split_mapped() argument
111 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_mapped()
151 const off_t skip, const int nb_splits, in sg_split() argument
[all …]
/linux-4.19.296/include/linux/
Dscatterlist.h261 const off_t skip, const int nb_splits,