Searched refs:dst_pfns (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/lib/ |
H A 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 = kvcalloc(npages, sizeof(*dst_pfns), GFP_KERNEL | __GFP_NOFAIL); 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() 1254 kvfree(dst_pfns); in dmirror_device_evict_chunk() 1426 unsigned long dst_pfns = 0; in dmirror_devmem_fault() local [all …]
|
/openbmc/linux/mm/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dmem.c | 377 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()
|
/openbmc/linux/include/linux/ |
H A D | migrate.h | 225 void migrate_device_pages(unsigned long *src_pfns, unsigned long *dst_pfns, 228 unsigned long *dst_pfns, unsigned long npages);
|