Lines Matching defs:nents_first_chunk
73 * @nents_first_chunk: size of the first_chunk SGL passed to
80 * @nents_first_chunk has to be same with that same parameter passed
85 unsigned nents_first_chunk)
87 if (table->orig_nents <= nents_first_chunk)
90 if (nents_first_chunk == 1)
91 nents_first_chunk = 0;
93 __sg_free_table(table, SG_CHUNK_SIZE, nents_first_chunk, sg_pool_free);
102 * @nents_first_chunk: number of the SGL of @first_chunk
106 * @nents_first_chunk a chained sg table will be setup. @first_chunk is
107 * ignored if nents_first_chunk <= 1 because user expects the SGL points
112 struct scatterlist *first_chunk, unsigned nents_first_chunk)
118 if (first_chunk && nents_first_chunk) {
119 if (nents <= nents_first_chunk) {
127 if (nents_first_chunk <= 1) {
129 nents_first_chunk = 0;
133 first_chunk, nents_first_chunk,
136 sg_free_table_chained(table, nents_first_chunk);