Home
last modified time | relevance | path

Searched refs:_PAGE_DEVMAP (Results 1 – 11 of 11) sorted by relevance

/linux/arch/loongarch/include/asm/
H A Dpgtable-bits.h39 #define _PAGE_DEVMAP (_ULCAST_(1) << _PAGE_DEVMAP_SHIFT) macro
79 #define _PAGE_CHG_MASK (_PAGE_MODIFIED | _PAGE_SPECIAL | _PAGE_DEVMAP | _PFN_MASK | _CACHE_MASK | _…
80 #define _HPAGE_CHG_MASK (_PAGE_MODIFIED | _PAGE_SPECIAL | _PAGE_DEVMAP | _PFN_MASK | _CACHE_MASK | …
H A Dpgtable.h410 static inline int pte_devmap(pte_t pte) { return !!(pte_val(pte) & _PAGE_DEVMAP); } in pte_devmap()
411 static inline pte_t pte_mkdevmap(pte_t pte) { pte_val(pte) |= _PAGE_DEVMAP; return pte; } in pte_mkdevmap()
549 return !!(pmd_val(pmd) & _PAGE_DEVMAP); in pmd_devmap()
554 pmd_val(pmd) |= _PAGE_DEVMAP; in pmd_mkdevmap()
/linux/arch/powerpc/include/asm/book3s/64/
H A Dradix.h267 return (pmd_val(pmd) & (_PAGE_PTE | _PAGE_DEVMAP)) == _PAGE_PTE; in radix__pmd_trans_huge()
277 return (pud_val(pud) & (_PAGE_PTE | _PAGE_DEVMAP)) == _PAGE_PTE; in radix__pud_trans_huge()
320 return __pmd(pmd_val(pmd) | (_PAGE_PTE | _PAGE_DEVMAP)); in radix__pmd_mkdevmap()
325 return __pud(pud_val(pud) | (_PAGE_PTE | _PAGE_DEVMAP)); in radix__pud_mkdevmap()
H A Dhash-64k.h262 return !!((pmd_val(pmd) & (_PAGE_PTE | H_PAGE_THP_HUGE | _PAGE_DEVMAP)) == in hash__pmd_trans_huge()
286 return __pmd(pmd_val(pmd) | (_PAGE_PTE | H_PAGE_THP_HUGE | _PAGE_DEVMAP)); in hash__pmd_mkdevmap()
H A Dpgtable.h91 #define _PAGE_DEVMAP _RPAGE_SW1 /* software: ZONE_DEVICE page */ macro
112 _PAGE_SOFT_DIRTY | _PAGE_DEVMAP)
126 _PAGE_SOFT_DIRTY | _PAGE_DEVMAP)
614 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SPECIAL | _PAGE_DEVMAP)); in pte_mkdevmap()
625 __be64 mask = cpu_to_be64(_PAGE_DEVMAP | _PAGE_PTE); in pte_devmap()
/linux/arch/riscv/include/asm/
H A Dpgtable-bits.h22 #define _PAGE_DEVMAP (1 << 9) /* RSW, devmap */ macro
H A Dpgtable.h405 return pte_val(pte) & _PAGE_DEVMAP; in pte_devmap()
452 return __pte(pte_val(pte) | _PAGE_DEVMAP); in pte_mkdevmap()
/linux/arch/x86/include/asm/
H A Dpgtable.h314 return (pmd_val(pmd) & (_PAGE_PSE|_PAGE_DEVMAP)) == _PAGE_PSE; in pmd_trans_huge()
320 return (pud_val(pud) & (_PAGE_PSE|_PAGE_DEVMAP)) == _PAGE_PSE; in pud_trans_huge()
333 return !!(pmd_val(pmd) & _PAGE_DEVMAP); in pmd_devmap()
339 return !!(pud_val(pud) & _PAGE_DEVMAP); in pud_devmap()
539 return pte_set_flags(pte, _PAGE_SPECIAL|_PAGE_DEVMAP); in pte_mkdevmap()
615 return pmd_set_flags(pmd, _PAGE_DEVMAP); in pmd_mkdevmap()
685 return pud_set_flags(pud, _PAGE_DEVMAP); in pud_mkdevmap()
1018 return (pte_flags(a) & _PAGE_DEVMAP) == _PAGE_DEVMAP; in pte_devmap()
H A Dpgtable_types.h120 #define _PAGE_DEVMAP (_AT(u64, 1) << _PAGE_BIT_DEVMAP) macro
124 #define _PAGE_DEVMAP (_AT(pteval_t, 0)) macro
151 _PAGE_DEVMAP | _PAGE_CC | _PAGE_UFFD_WP)
/linux/arch/powerpc/mm/book3s64/
H A Dhash_hugepage.c57 if (!(old_pmd & (H_PAGE_THP_HUGE | _PAGE_DEVMAP))) in __hash_page_thp()
H A Dhugetlbpage.c77 if (old_pte & (H_PAGE_THP_HUGE | _PAGE_DEVMAP)) in __hash_page_huge()