Home
last modified time | relevance | path

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

/Linux-v6.1/lib/
Dsg_split.c22 struct sg_splitter *splitters, bool mapped) in sg_calculate_split() argument
27 struct sg_splitter *curr = splitters; in sg_calculate_split()
31 splitters[i].in_sg0 = NULL; in sg_calculate_split()
32 splitters[i].nents = 0; in sg_calculate_split()
74 return (size || !splitters[0].in_sg0) ? -EINVAL : 0; 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()
155 struct sg_splitter *splitters; in sg_split() local
[all …]