Lines Matching defs:alloc_size
167 unsigned int alloc_size = table->orig_nents;
176 if (alloc_size > max_ents) {
178 alloc_size = max_ents;
179 sg_size = alloc_size - 1;
181 sg_size = alloc_size;
186 free_fn(sgl, alloc_size);
240 unsigned int sg_size, alloc_size = left;
242 if (alloc_size > max_ents) {
243 alloc_size = max_ents;
244 sg_size = alloc_size - 1;
246 sg_size = alloc_size;
250 sg = alloc_fn(alloc_size, gfp_mask);
264 sg_init_table(sg, alloc_size);