Searched refs:max_ents (Results 1 – 1 of 1) sorted by relevance
193 void __sg_free_table(struct sg_table *table, unsigned int max_ents, in __sg_free_table() argument212 if (alloc_size > max_ents) { in __sg_free_table()213 next = sg_chain_ptr(&sgl[max_ents - 1]); in __sg_free_table()214 alloc_size = max_ents; in __sg_free_table()264 unsigned int max_ents, struct scatterlist *first_chunk, in __sg_alloc_table() argument275 if (WARN_ON_ONCE(nents > max_ents)) in __sg_alloc_table()284 if (alloc_size > max_ents) { in __sg_alloc_table()285 alloc_size = max_ents; in __sg_alloc_table()319 sg_chain(prv, max_ents, sg); in __sg_alloc_table()