Home
last modified time | relevance | path

Searched refs:HMM_PFN_WRITE (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/include/linux/
Dhmm.h42 HMM_PFN_WRITE = 1UL << (BITS_PER_LONG - 2), enumerator
48 HMM_PFN_REQ_WRITE = HMM_PFN_WRITE,
/Linux-v5.10/mm/
Dhmm.c109 !(cpu_flags & HMM_PFN_WRITE)) in hmm_pte_need_fault()
179 return (pmd_write(pmd) ? (HMM_PFN_VALID | HMM_PFN_WRITE) : in pmd_to_hmm_pfn_flags()
226 return pte_write(pte) ? (HMM_PFN_VALID | HMM_PFN_WRITE) : HMM_PFN_VALID; in pte_to_hmm_pfn_flags()
259 cpu_flags |= HMM_PFN_WRITE; in hmm_vma_handle_pte()
400 return (pud_write(pud) ? (HMM_PFN_VALID | HMM_PFN_WRITE) : in pud_to_hmm_pfn_flags()
/Linux-v5.10/lib/
Dtest_hmm.c182 if (*pfns & HMM_PFN_WRITE) in dmirror_do_fault()
184 else if (WARN_ON(range->default_flags & HMM_PFN_WRITE)) in dmirror_do_fault()
765 if (entry & HMM_PFN_WRITE) in dmirror_mkentry()
/Linux-v5.10/drivers/infiniband/core/
Dumem_odp.c437 if (range.hmm_pfns[pfn_index] & HMM_PFN_WRITE) in ib_umem_odp_map_dma_and_lock()
/Linux-v5.10/drivers/gpu/drm/nouveau/
Dnouveau_svm.c550 if (range->hmm_pfns[0] & HMM_PFN_WRITE) in nouveau_hmm_convert_pfn()
/Linux-v5.10/Documentation/vm/
Dhmm.rst251 the page tables, ie HMM_PFN_VALID | HMM_PFN_WRITE will be set if the page is