Lines Matching refs:max_ents
169 * @max_ents: The maximum number of entries per single scatterlist
173 * __sg_alloc_table(). The @max_ents value must be identical to
178 __sg_free_table(struct sg_table *table, unsigned int max_ents)
191 * If we have more than max_ents segments left,
196 if (alloc_size > max_ents) {
197 next = sgl[max_ents - 1].sl_un.sg;
198 alloc_size = max_ents;
228 * @max_ents: The maximum number of entries the allocator returns per call
233 * defined to return scatterlist chunks of maximum size @max_ents.
234 * Thus if @nents is bigger than @max_ents, the scatterlists will be
235 * chained in units of @max_ents.
244 unsigned int max_ents, gfp_t gfp_mask)
258 if (alloc_size > max_ents) {
259 alloc_size = max_ents;
288 sg_chain(prv, max_ents, sg);