Lines Matching refs:npages
27 migrate->dst[migrate->npages] = 0; in migrate_vma_collect_skip()
28 migrate->src[migrate->npages++] = 0; in migrate_vma_collect_skip()
47 migrate->src[migrate->npages] = MIGRATE_PFN_MIGRATE; in migrate_vma_collect_hole()
48 migrate->dst[migrate->npages] = 0; in migrate_vma_collect_hole()
49 migrate->npages++; in migrate_vma_collect_hole()
248 migrate->dst[migrate->npages] = 0; in migrate_vma_collect_pmd()
249 migrate->src[migrate->npages++] = mpfn; in migrate_vma_collect_pmd()
292 migrate->end = migrate->start + (migrate->npages << PAGE_SHIFT); in migrate_vma_collect()
347 const unsigned long npages = migrate->npages; in migrate_vma_unmap() local
353 for (i = 0; i < npages; i++) { in migrate_vma_unmap()
396 for (i = 0; i < npages && restore; i++) { in migrate_vma_unmap()
498 args->npages = 0; in migrate_vma_setup()
668 const unsigned long npages = migrate->npages; in migrate_vma_pages() local
674 for (i = 0, addr = start; i < npages; addr += PAGE_SIZE, i++) { in migrate_vma_pages()
749 const unsigned long npages = migrate->npages; in migrate_vma_finalize() local
752 for (i = 0; i < npages; i++) { in migrate_vma_finalize()