Lines Matching refs:src_pfns
913 unsigned long src_pfns[64] = { 0 }; in dmirror_migrate_to_system() local
936 next = min(end, addr + (ARRAY_SIZE(src_pfns) << PAGE_SHIFT)); in dmirror_migrate_to_system()
941 args.src = src_pfns; in dmirror_migrate_to_system()
973 unsigned long src_pfns[64] = { 0 }; in dmirror_migrate_to_device() local
996 next = min(end, addr + (ARRAY_SIZE(src_pfns) << PAGE_SHIFT)); in dmirror_migrate_to_device()
1001 args.src = src_pfns; in dmirror_migrate_to_device()
1232 unsigned long *src_pfns; in dmirror_device_evict_chunk() local
1235 src_pfns = kcalloc(npages, sizeof(*src_pfns), GFP_KERNEL); in dmirror_device_evict_chunk()
1238 migrate_device_range(src_pfns, start_pfn, npages); in dmirror_device_evict_chunk()
1242 spage = migrate_pfn_to_page(src_pfns[i]); in dmirror_device_evict_chunk()
1243 if (!spage || !(src_pfns[i] & MIGRATE_PFN_MIGRATE)) in dmirror_device_evict_chunk()
1254 if (src_pfns[i] & MIGRATE_PFN_WRITE) in dmirror_device_evict_chunk()
1257 migrate_device_pages(src_pfns, dst_pfns, npages); in dmirror_device_evict_chunk()
1258 migrate_device_finalize(src_pfns, dst_pfns, npages); in dmirror_device_evict_chunk()
1259 kfree(src_pfns); in dmirror_device_evict_chunk()
1431 unsigned long src_pfns = 0; in dmirror_devmem_fault() local
1449 args.src = &src_pfns; in dmirror_devmem_fault()