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,
103 * @nents_first_chunk: number of the SGL of @first_chunk
107 * @nents_first_chunk a chained sg table will be setup. @first_chunk is
108 * ignored if nents_first_chunk <= 1 because user expects the SGL points
113 struct scatterlist *first_chunk, unsigned nents_first_chunk)
119 if (first_chunk && nents_first_chunk) {
120 if (nents <= nents_first_chunk) {
128 if (nents_first_chunk <= 1) {
130 nents_first_chunk = 0;
134 first_chunk, nents_first_chunk,
137 sg_free_table_chained(table, nents_first_chunk);