Lines Matching refs:max_ents
183 * @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,
200 unsigned curr_max_ents = nents_first_chunk ?: max_ents;
211 * If we have more than max_ents segments left,
231 curr_max_ents = max_ents;
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.
286 unsigned int max_ents, struct scatterlist *first_chunk,
292 unsigned curr_max_ents = nents_first_chunk ?: max_ents;
300 if (WARN_ON_ONCE(nents > max_ents))
356 curr_max_ents = max_ents;