Home
last modified time | relevance | path

Searched refs:dst_pfns (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/lib/
Dtest_hmm.c905 unsigned long dst_pfns[64] = { 0 }; in dmirror_migrate_to_system() local
933 args.dst = dst_pfns; in dmirror_migrate_to_system()
965 unsigned long dst_pfns[64] = { 0 }; in dmirror_migrate_to_device() local
993 args.dst = dst_pfns; in dmirror_migrate_to_device()
1224 unsigned long *dst_pfns; in dmirror_device_evict_chunk() local
1227 dst_pfns = kvcalloc(npages, sizeof(*dst_pfns), GFP_KERNEL | __GFP_NOFAIL); in dmirror_device_evict_chunk()
1244 dst_pfns[i] = migrate_pfn(page_to_pfn(dpage)); in dmirror_device_evict_chunk()
1246 dst_pfns[i] |= MIGRATE_PFN_WRITE; in dmirror_device_evict_chunk()
1248 migrate_device_pages(src_pfns, dst_pfns, npages); in dmirror_device_evict_chunk()
1249 migrate_device_finalize(src_pfns, dst_pfns, npages); in dmirror_device_evict_chunk()
[all …]
/linux-6.12.1/mm/
Dmigrate_device.c684 unsigned long *dst_pfns, unsigned long npages, in __migrate_device_pages() argument
692 struct page *newpage = migrate_pfn_to_page(dst_pfns[i]); in __migrate_device_pages()
781 void migrate_device_pages(unsigned long *src_pfns, unsigned long *dst_pfns, in migrate_device_pages() argument
784 __migrate_device_pages(src_pfns, dst_pfns, npages, NULL); in migrate_device_pages()
813 unsigned long *dst_pfns, unsigned long npages) in migrate_device_finalize() argument
819 struct page *newpage = migrate_pfn_to_page(dst_pfns[i]); in migrate_device_finalize()
/linux-6.12.1/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c377 unsigned long *src_pfns, *dst_pfns; in nouveau_dmem_evict_chunk() local
382 dst_pfns = kvcalloc(npages, sizeof(*dst_pfns), GFP_KERNEL | __GFP_NOFAIL); in nouveau_dmem_evict_chunk()
398 dst_pfns[i] = migrate_pfn(page_to_pfn(dpage)); in nouveau_dmem_evict_chunk()
406 migrate_device_pages(src_pfns, dst_pfns, npages); in nouveau_dmem_evict_chunk()
408 migrate_device_finalize(src_pfns, dst_pfns, npages); in nouveau_dmem_evict_chunk()
410 kvfree(dst_pfns); in nouveau_dmem_evict_chunk()
/linux-6.12.1/include/linux/
Dmigrate.h232 void migrate_device_pages(unsigned long *src_pfns, unsigned long *dst_pfns,
235 unsigned long *dst_pfns, unsigned long npages);