Searched refs:dst_pfns (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/lib/ |
D | test_hmm.c | 914 unsigned long dst_pfns[64] = { 0 }; in dmirror_migrate_to_system() local 942 args.dst = dst_pfns; in dmirror_migrate_to_system() 974 unsigned long dst_pfns[64] = { 0 }; in dmirror_migrate_to_device() local 1002 args.dst = dst_pfns; in dmirror_migrate_to_device() 1233 unsigned long *dst_pfns; in dmirror_device_evict_chunk() local 1236 dst_pfns = kcalloc(npages, sizeof(*dst_pfns), GFP_KERNEL); in dmirror_device_evict_chunk() 1253 dst_pfns[i] = migrate_pfn(page_to_pfn(dpage)); in dmirror_device_evict_chunk() 1255 dst_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() [all …]
|
/Linux-v6.1/mm/ |
D | migrate_device.c | 701 unsigned long *dst_pfns, unsigned long npages, in __migrate_device_pages() argument 709 struct page *newpage = migrate_pfn_to_page(dst_pfns[i]); in __migrate_device_pages() 795 void migrate_device_pages(unsigned long *src_pfns, unsigned long *dst_pfns, in migrate_device_pages() argument 798 __migrate_device_pages(src_pfns, dst_pfns, npages, NULL); in migrate_device_pages() 827 unsigned long *dst_pfns, unsigned long npages) in migrate_device_finalize() argument 833 struct page *newpage = migrate_pfn_to_page(dst_pfns[i]); in migrate_device_finalize()
|
/Linux-v6.1/drivers/gpu/drm/nouveau/ |
D | nouveau_dmem.c | 378 unsigned long *src_pfns, *dst_pfns; in nouveau_dmem_evict_chunk() local 383 dst_pfns = kcalloc(npages, sizeof(*dst_pfns), GFP_KERNEL); in nouveau_dmem_evict_chunk() 399 dst_pfns[i] = migrate_pfn(page_to_pfn(dpage)); in nouveau_dmem_evict_chunk() 407 migrate_device_pages(src_pfns, dst_pfns, npages); in nouveau_dmem_evict_chunk() 409 migrate_device_finalize(src_pfns, dst_pfns, npages); in nouveau_dmem_evict_chunk() 411 kfree(dst_pfns); in nouveau_dmem_evict_chunk()
|
/Linux-v6.1/include/linux/ |
D | migrate.h | 215 void migrate_device_pages(unsigned long *src_pfns, unsigned long *dst_pfns, 218 unsigned long *dst_pfns, unsigned long npages);
|