Lines Matching defs:npfns
269 u32 *npfns;
280 batch->npfns[0] = 0;
294 batch->npfns[batch->end - 1] < keep_pfns);
298 (batch->npfns[batch->end - 1] - keep_pfns);
299 batch->npfns[0] = keep_pfns;
308 WARN_ON(batch->total_pfns != batch->npfns[0]);
311 batch->npfns[0] -= skip_pfns;
318 const size_t elmsz = sizeof(*batch->pfns) + sizeof(*batch->npfns);
327 batch->npfns = (u32 *)(batch->pfns + batch->array_size);
352 const unsigned int MAX_NPFNS = type_max(typeof(*batch->npfns));
355 pfn == batch->pfns[batch->end - 1] + batch->npfns[batch->end - 1] &&
356 batch->npfns[batch->end - 1] != MAX_NPFNS) {
357 batch->npfns[batch->end - 1]++;
365 batch->npfns[batch->end] = 1;
494 next_iova + batch->npfns[cur] * PAGE_SIZE -
631 if (batch->npfns[cur] > first_page_off)
633 first_page_off -= batch->npfns[cur];
639 batch->npfns[cur] - first_page_off);
684 if (npage == batch->npfns[cur]) {
1037 unsigned int npfns = pfns->batch.total_pfns;
1056 if (npfns == pfns->batch.total_pfns)