Lines Matching refs:total_pfns
272 unsigned int total_pfns; member
277 batch->total_pfns = 0; in batch_clear()
296 batch->total_pfns = keep_pfns; in batch_clear_carry()
305 if (!batch->total_pfns) in batch_skip_carry()
308 WARN_ON(batch->total_pfns != batch->npfns[0]); in batch_skip_carry()
309 skip_pfns = min(batch->total_pfns, skip_pfns); in batch_skip_carry()
312 batch->total_pfns -= skip_pfns; in batch_skip_carry()
358 batch->total_pfns++; in batch_add_pfn()
363 batch->total_pfns++; in batch_add_pfn()
1038 unsigned int npfns = pfns->batch.total_pfns; in pfn_reader_next()
1048 if (WARN_ON(!pfns->batch.total_pfns)) in pfn_reader_next()
1052 pfns->batch_start_index + pfns->batch.total_pfns; in pfn_reader_next()
1057 if (npfns == pfns->batch.total_pfns) in pfn_reader_next()
1212 batch->total_pfns) in iopt_area_unpin_domain()
1214 batch->total_pfns != in iopt_area_unpin_domain()
1218 batch_last_index = start_index + batch->total_pfns - 1; in iopt_area_unpin_domain()
1244 start_index + batch->total_pfns - 1); in iopt_area_unpin_domain()
1245 *unmapped_end_index = start_index + batch->total_pfns; in iopt_area_unpin_domain()
1305 WARN_ON(batch.total_pfns); in __iopt_area_unfill_domain()
1528 batch_unpin(batch, pages, 0, batch->total_pfns); in iopt_pages_unpin_xarray()
1529 start_index += batch->total_pfns; in iopt_pages_unpin_xarray()