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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/
H A Dscatterlist.c148 * @max_ents: The maximum number of entries per single scatterlist
153 * __sg_alloc_table(). The @max_ents value must be identical to
157 void __sg_free_table(struct sg_table *table, unsigned int max_ents, argument
171 * If we have more than max_ents segments left,
176 if (alloc_size > max_ents) {
177 next = sg_chain_ptr(&sgl[max_ents - 1]);
178 alloc_size = max_ents;
209 * @max_ents: The maximum number of entries the allocator returns per call
215 * defined to return scatterlist chunks of maximum size @max_ents.
216 * Thus if @nents is bigger than @max_ents, th
224 __sg_alloc_table(struct sg_table *table, unsigned int nents, unsigned int max_ents, gfp_t gfp_mask, sg_alloc_fn *alloc_fn) argument
[all...]

Completed in 157 milliseconds