Searched refs:dst_pfns (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/lib/ |
D | test_hmm.c | 908 unsigned long dst_pfns[64] = { 0 }; in dmirror_migrate_to_system() local 936 args.dst = dst_pfns; in dmirror_migrate_to_system() 968 unsigned long dst_pfns[64] = { 0 }; in dmirror_migrate_to_device() local 996 args.dst = dst_pfns; in dmirror_migrate_to_device() 1227 unsigned long *dst_pfns; in dmirror_device_evict_chunk() local 1230 dst_pfns = kcalloc(npages, sizeof(*dst_pfns), GFP_KERNEL); in dmirror_device_evict_chunk() 1247 dst_pfns[i] = migrate_pfn(page_to_pfn(dpage)); in dmirror_device_evict_chunk() 1249 dst_pfns[i] |= MIGRATE_PFN_WRITE; in dmirror_device_evict_chunk() 1251 migrate_device_pages(src_pfns, dst_pfns, npages); in dmirror_device_evict_chunk() 1252 migrate_device_finalize(src_pfns, dst_pfns, npages); in dmirror_device_evict_chunk() [all …]
|
/linux-6.6.21/mm/ |
D | migrate_device.c | 682 unsigned long *dst_pfns, unsigned long npages, in __migrate_device_pages() argument 690 struct page *newpage = migrate_pfn_to_page(dst_pfns[i]); in __migrate_device_pages() 780 void migrate_device_pages(unsigned long *src_pfns, unsigned long *dst_pfns, in migrate_device_pages() argument 783 __migrate_device_pages(src_pfns, dst_pfns, npages, NULL); in migrate_device_pages() 812 unsigned long *dst_pfns, unsigned long npages) in migrate_device_finalize() argument 818 struct page *newpage = migrate_pfn_to_page(dst_pfns[i]); in migrate_device_finalize()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/ |
D | nouveau_dmem.c | 377 unsigned long *src_pfns, *dst_pfns; in nouveau_dmem_evict_chunk() local 382 dst_pfns = kcalloc(npages, sizeof(*dst_pfns), GFP_KERNEL); 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 kfree(dst_pfns); in nouveau_dmem_evict_chunk()
|
/linux-6.6.21/include/linux/ |
D | migrate.h | 225 void migrate_device_pages(unsigned long *src_pfns, unsigned long *dst_pfns, 228 unsigned long *dst_pfns, unsigned long npages);
|