Searched refs:nents_first_chunk (Results 1 – 2 of 2) sorted by relevance
85 unsigned nents_first_chunk) in sg_free_table_chained() argument87 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() argument118 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 …]
193 unsigned int nents_first_chunk, sg_free_fn *free_fn) in __sg_free_table() argument196 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() argument273 unsigned curr_max_ents = nents_first_chunk ?: max_ents; in __sg_alloc_table()