Home
last modified time | relevance | path

Searched refs:migrate_vma (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/include/linux/
Dmigrate.h175 struct migrate_vma { struct
210 int migrate_vma_setup(struct migrate_vma *args); argument
211 void migrate_vma_pages(struct migrate_vma *migrate);
212 void migrate_vma_finalize(struct migrate_vma *migrate);
/linux-6.1.9/mm/
Dmigrate_device.c24 struct migrate_vma *migrate = walk->private; in migrate_vma_collect_skip()
40 struct migrate_vma *migrate = walk->private; in migrate_vma_collect_hole()
62 struct migrate_vma *migrate = walk->private; in migrate_vma_collect_pmd()
299 static void migrate_vma_collect(struct migrate_vma *migrate) in migrate_vma_collect()
450 static void migrate_vma_unmap(struct migrate_vma *migrate) in migrate_vma_unmap()
520 int migrate_vma_setup(struct migrate_vma *args) in migrate_vma_setup()
568 static void migrate_vma_insert_page(struct migrate_vma *migrate, in migrate_vma_insert_page()
702 struct migrate_vma *migrate) in __migrate_device_pages()
810 void migrate_vma_pages(struct migrate_vma *migrate) in migrate_vma_pages()
884 void migrate_vma_finalize(struct migrate_vma *migrate) in migrate_vma_finalize()
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dhmm.rst259 2. ``migrate_vma_setup(struct migrate_vma *args)``
261 设备驱动初始化了 ``struct migrate_vma`` 的字段,并将该指针传递给
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_migrate.c269 static unsigned long svm_migrate_successful_pages(struct migrate_vma *migrate) in svm_migrate_successful_pages()
282 static unsigned long svm_migrate_unsuccessful_pages(struct migrate_vma *migrate) in svm_migrate_unsuccessful_pages()
297 struct migrate_vma *migrate, struct dma_fence **mfence, in svm_migrate_copy_to_vram()
413 struct migrate_vma migrate = { 0 }; in svm_migrate_vma_to_vram()
565 struct migrate_vma *migrate, struct dma_fence **mfence, in svm_migrate_copy_to_ram()
677 struct migrate_vma migrate = { 0 }; in svm_migrate_vma_to_ram()
/linux-6.1.9/lib/
Dtest_hmm.c645 static void dmirror_migrate_alloc_and_copy(struct migrate_vma *args, in dmirror_migrate_alloc_and_copy()
745 static int dmirror_migrate_finalize_and_map(struct migrate_vma *args, in dmirror_migrate_finalize_and_map()
855 static vm_fault_t dmirror_devmem_fault_alloc_and_copy(struct migrate_vma *args, in dmirror_devmem_fault_alloc_and_copy()
893 dmirror_successful_migrated_pages(struct migrate_vma *migrate) in dmirror_successful_migrated_pages()
915 struct migrate_vma args = { 0 }; in dmirror_migrate_to_system()
976 struct migrate_vma args = { 0 }; in dmirror_migrate_to_device()
1430 struct migrate_vma args = { 0 }; in dmirror_devmem_fault()
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c172 struct migrate_vma args = { in nouveau_dmem_migrate_to_ram()
665 struct nouveau_svmm *svmm, struct migrate_vma *args, in nouveau_dmem_migrate_chunk()
701 struct migrate_vma args = { in nouveau_dmem_migrate_vma()
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_uvmem.c514 struct migrate_vma mig = { 0 }; in __kvmppc_svm_page_out()
742 struct migrate_vma mig = { 0 }; in kvmppc_svm_page_in()
/linux-6.1.9/Documentation/mm/
Dhmm.rst316 2. ``migrate_vma_setup(struct migrate_vma *args)``
318 The device driver initializes the ``struct migrate_vma`` fields and passes