Lines Matching refs:total_pfns
272 unsigned int total_pfns;
277 batch->total_pfns = 0;
296 batch->total_pfns = keep_pfns;
305 if (!batch->total_pfns)
308 WARN_ON(batch->total_pfns != batch->npfns[0]);
309 skip_pfns = min(batch->total_pfns, skip_pfns);
312 batch->total_pfns -= skip_pfns;
358 batch->total_pfns++;
363 batch->total_pfns++;
373 * batch->total_pfns to determine the starting point for the next iteration.
1037 unsigned int npfns = pfns->batch.total_pfns;
1047 if (WARN_ON(!pfns->batch.total_pfns))
1051 pfns->batch_start_index + pfns->batch.total_pfns;
1056 if (npfns == pfns->batch.total_pfns)
1211 batch->total_pfns)
1213 batch->total_pfns !=
1217 batch_last_index = start_index + batch->total_pfns - 1;
1243 start_index + batch->total_pfns - 1);
1244 *unmapped_end_index = start_index + batch->total_pfns;
1304 WARN_ON(batch.total_pfns);
1527 batch_unpin(batch, pages, 0, batch->total_pfns);
1528 start_index += batch->total_pfns;