Home
last modified time | relevance | path

Searched refs:hmm_pfn (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/include/linux/
Dhmm.h60 static inline struct page *hmm_pfn_to_page(unsigned long hmm_pfn) in hmm_pfn_to_page() argument
62 return pfn_to_page(hmm_pfn & ~HMM_PFN_FLAGS); in hmm_pfn_to_page()
79 static inline unsigned int hmm_pfn_to_map_order(unsigned long hmm_pfn) in hmm_pfn_to_map_order() argument
81 return (hmm_pfn >> HMM_PFN_ORDER_SHIFT) & 0x1F; in hmm_pfn_to_map_order()
/Linux-v5.10/mm/
Dhmm.c231 unsigned long *hmm_pfn) in hmm_vma_handle_pte() argument
238 uint64_t pfn_req_flags = *hmm_pfn; in hmm_vma_handle_pte()
245 *hmm_pfn = 0; in hmm_vma_handle_pte()
260 *hmm_pfn = device_private_entry_to_pfn(entry) | in hmm_vma_handle_pte()
268 *hmm_pfn = 0; in hmm_vma_handle_pte()
302 *hmm_pfn = HMM_PFN_ERROR; in hmm_vma_handle_pte()
306 *hmm_pfn = pte_pfn(pte) | cpu_flags; in hmm_vma_handle_pte()