Home
last modified time | relevance | path

Searched refs:nents_first_chunk (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/lib/
Dsg_pool.c85 unsigned nents_first_chunk) in sg_free_table_chained() argument
87 if (table->orig_nents <= nents_first_chunk) in sg_free_table_chained()
90 if (nents_first_chunk == 1) in sg_free_table_chained()
91 nents_first_chunk = 0; in sg_free_table_chained()
93 __sg_free_table(table, SG_CHUNK_SIZE, nents_first_chunk, sg_pool_free); in sg_free_table_chained()
112 struct scatterlist *first_chunk, unsigned nents_first_chunk) in sg_alloc_table_chained() argument
118 if (first_chunk && nents_first_chunk) { in sg_alloc_table_chained()
119 if (nents <= nents_first_chunk) { in sg_alloc_table_chained()
127 if (nents_first_chunk <= 1) { in sg_alloc_table_chained()
129 nents_first_chunk = 0; in sg_alloc_table_chained()
[all …]
Dscatterlist.c193 unsigned int nents_first_chunk, sg_free_fn *free_fn) in __sg_free_table() argument
196 unsigned curr_max_ents = nents_first_chunk ?: max_ents; in __sg_free_table()
222 if (nents_first_chunk) in __sg_free_table()
223 nents_first_chunk = 0; in __sg_free_table()
268 unsigned int nents_first_chunk, gfp_t gfp_mask, in __sg_alloc_table() argument
273 unsigned curr_max_ents = nents_first_chunk ?: max_ents; in __sg_alloc_table()
/kernel/linux/linux-5.10/include/linux/
Dscatterlist.h356 unsigned nents_first_chunk);
359 unsigned nents_first_chunk);