Home
last modified time | relevance | path

Searched refs:max_ents (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/lib/
H A Dscatterlist.c181 * @max_ents: The maximum number of entries per single scatterlist
188 * __sg_alloc_table(). The @max_ents value must be identical to
192 void __sg_free_table(struct sg_table *table, unsigned int max_ents, in __sg_free_table() argument
196 unsigned curr_max_ents = nents_first_chunk ?: max_ents; in __sg_free_table()
207 * If we have more than max_ents segments left, in __sg_free_table()
227 curr_max_ents = max_ents; in __sg_free_table()
249 * @max_ents: The maximum number of entries the allocator returns per call
257 * defined to return scatterlist chunks of maximum size @max_ents.
258 * Thus if @nents is bigger than @max_ents, the scatterlists will be
259 * chained in units of @max_ents
266 __sg_alloc_table(struct sg_table *table, unsigned int nents, unsigned int max_ents, struct scatterlist *first_chunk, unsigned int nents_first_chunk, gfp_t gfp_mask, sg_alloc_fn *alloc_fn) __sg_alloc_table() argument
[all...]
/kernel/linux/linux-6.6/lib/
H A Dscatterlist.c183 * @max_ents: The maximum number of entries per single scatterlist
191 * __sg_alloc_table(). The @max_ents value must be identical to
195 void __sg_free_table(struct sg_table *table, unsigned int max_ents, in __sg_free_table() argument
200 unsigned curr_max_ents = nents_first_chunk ?: max_ents; in __sg_free_table()
211 * If we have more than max_ents segments left, in __sg_free_table()
231 curr_max_ents = max_ents; in __sg_free_table()
267 * @max_ents: The maximum number of entries the allocator returns per call
276 * defined to return scatterlist chunks of maximum size @max_ents.
277 * Thus if @nents is bigger than @max_ents, the scatterlists will be
278 * chained in units of @max_ents
285 __sg_alloc_table(struct sg_table *table, unsigned int nents, unsigned int max_ents, struct scatterlist *first_chunk, unsigned int nents_first_chunk, gfp_t gfp_mask, sg_alloc_fn *alloc_fn) __sg_alloc_table() argument
[all...]

Completed in 3 milliseconds