Lines Matching refs:nents_first_chunk
85 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()
113 struct scatterlist *first_chunk, unsigned nents_first_chunk) in sg_alloc_table_chained() argument
119 if (first_chunk && nents_first_chunk) { in sg_alloc_table_chained()
120 if (nents <= nents_first_chunk) { in sg_alloc_table_chained()
128 if (nents_first_chunk <= 1) { in sg_alloc_table_chained()
130 nents_first_chunk = 0; in sg_alloc_table_chained()
134 first_chunk, nents_first_chunk, in sg_alloc_table_chained()
137 sg_free_table_chained(table, nents_first_chunk); in sg_alloc_table_chained()