Searched refs:max_ents (Results 1 – 1 of 1) sorted by relevance
205 void __sg_free_table(struct sg_table *table, unsigned int max_ents, in __sg_free_table() argument224 if (alloc_size > max_ents) { in __sg_free_table()225 next = sg_chain_ptr(&sgl[max_ents - 1]); in __sg_free_table()226 alloc_size = max_ents; in __sg_free_table()276 unsigned int max_ents, struct scatterlist *first_chunk, in __sg_alloc_table() argument287 if (WARN_ON_ONCE(nents > max_ents)) in __sg_alloc_table()296 if (alloc_size > max_ents) { in __sg_alloc_table()297 alloc_size = max_ents; in __sg_alloc_table()331 sg_chain(prv, max_ents, sg); in __sg_alloc_table()