Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dmigrate_device.c48 migrate->src[migrate->npages] = MIGRATE_PFN_MIGRATE; in migrate_vma_collect_hole()
125 mpfn = MIGRATE_PFN_MIGRATE; in migrate_vma_collect_pmd()
148 MIGRATE_PFN_MIGRATE; in migrate_vma_collect_pmd()
155 mpfn = MIGRATE_PFN_MIGRATE; in migrate_vma_collect_pmd()
167 mpfn = migrate_pfn(pfn) | MIGRATE_PFN_MIGRATE; in migrate_vma_collect_pmd()
378 if (src_pfns[i] & MIGRATE_PFN_MIGRATE) in migrate_device_unmap()
392 src_pfns[i] &= ~MIGRATE_PFN_MIGRATE; in migrate_device_unmap()
412 src_pfns[i] &= ~MIGRATE_PFN_MIGRATE; in migrate_device_unmap()
424 if (!page || (src_pfns[i] & MIGRATE_PFN_MIGRATE)) in migrate_device_unmap()
691 *src = MIGRATE_PFN_MIGRATE; in migrate_vma_insert_page()
[all …]
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dhmm.rst287 驱动程序检查每个 ``src`` 条目以查看该 ``MIGRATE_PFN_MIGRATE`` 位是否已
311 ``MIGRATE_PFN_MIGRATE`` 位被清除。
318 如果 ``src`` 条目仍然有 ``MIGRATE_PFN_MIGRATE`` 位被设置,设备驱动可以
/linux-6.1.9/include/linux/
Dmigrate.h153 #define MIGRATE_PFN_MIGRATE (1UL << 1) macro
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c194 if (!spage || !(src & MIGRATE_PFN_MIGRATE)) in nouveau_dmem_migrate_to_ram()
390 if (src_pfns[i] & MIGRATE_PFN_MIGRATE) { in nouveau_dmem_evict_chunk()
625 if (!(src & MIGRATE_PFN_MIGRATE)) in nouveau_dmem_migrate_copy_one()
/linux-6.1.9/lib/
Dtest_hmm.c659 if (!(*src & MIGRATE_PFN_MIGRATE)) in dmirror_migrate_alloc_and_copy()
762 if (!(*src & MIGRATE_PFN_MIGRATE)) in dmirror_migrate_finalize_and_map()
869 if (!spage || !(*src & MIGRATE_PFN_MIGRATE)) in dmirror_devmem_fault_alloc_and_copy()
900 migrate->src[i] & MIGRATE_PFN_MIGRATE) in dmirror_successful_migrated_pages()
1243 if (!spage || !(src_pfns[i] & MIGRATE_PFN_MIGRATE)) in dmirror_device_evict_chunk()
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_uvmem.c539 if (!spage || !(*mig.src & MIGRATE_PFN_MIGRATE)) in __kvmppc_svm_page_out()
760 if (!(*mig.src & MIGRATE_PFN_MIGRATE)) { in kvmppc_svm_page_in()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_migrate.c276 migrate->src[i] & MIGRATE_PFN_MIGRATE) in svm_migrate_successful_pages()
289 !(migrate->src[i] & MIGRATE_PFN_MIGRATE)) in svm_migrate_unsuccessful_pages()
/linux-6.1.9/Documentation/mm/
Dhmm.rst354 The driver checks each ``src`` entry to see if the ``MIGRATE_PFN_MIGRATE``
384 The device driver will see that the ``MIGRATE_PFN_MIGRATE`` bit is cleared
394 If the ``src`` entry still has ``MIGRATE_PFN_MIGRATE`` bit set, the device