/kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
H A D | pgtable-bits.h | 35 #define _PAGE_PROTNONE (_ULCAST_(1) << _PAGE_PROTNONE_SHIFT) macro 76 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_NO_READ | \ 89 #define __P000 __pgprot(_CACHE_CC | _PAGE_USER | _PAGE_PROTNONE | _PAGE_NO_EXEC | _PAGE_NO_READ) 98 #define __S000 __pgprot(_CACHE_CC | _PAGE_USER | _PAGE_PROTNONE | _PAGE_NO_EXEC | _PAGE_NO_READ)
|
H A D | pgtable.h | 28 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) 155 if ((pte_val(a) & _PAGE_PROTNONE) && in pte_accessible() 292 pmd_val(pmd) &= ~(_PAGE_PRESENT | _PAGE_VALID | _PAGE_DIRTY | _PAGE_PROTNONE); in pmd_mkinvalid() 317 return (pte_val(pte) & _PAGE_PROTNONE); in pte_protnone() 322 return (pmd_val(pmd) & _PAGE_PROTNONE); in pmd_protnone()
|
H A D | pgtable-64.h | 208 return !!(pmd_val(pmd) & (_PAGE_PRESENT | _PAGE_PROTNONE | _PAGE_PRESENT_INVALID)); in pmd_present()
|
/kernel/linux/linux-5.10/arch/um/include/asm/ |
H A D | pgtable.h | 21 #define _PAGE_PROTNONE 0x010 /* if the user mapped it with PROT_NONE; macro 58 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 116 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE)) 136 !(pte_get_bits(pte, _PAGE_PROTNONE))); in pte_read() 141 !(pte_get_bits(pte, _PAGE_PROTNONE))); in pte_exec() 147 !(pte_get_bits(pte, _PAGE_PROTNONE))); in pte_write()
|
/kernel/linux/linux-6.6/arch/um/include/asm/ |
H A D | pgtable.h | 21 #define _PAGE_PROTNONE 0x010 /* if the user mapped it with PROT_NONE; macro 61 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 103 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE)) 123 !(pte_get_bits(pte, _PAGE_PROTNONE))); in pte_read() 128 !(pte_get_bits(pte, _PAGE_PROTNONE))); in pte_exec() 134 !(pte_get_bits(pte, _PAGE_PROTNONE))); in pte_write()
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
H A D | motorola_pgtable.h | 42 #define _PAGE_PROTNONE 0x004 macro 73 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED | mm_cachebits) 81 #define PAGE_NONE_C __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 136 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE))
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
H A D | pgtable_32.h | 21 * - Bit 9 is reserved by everyone and used by _PAGE_PROTNONE. 51 #define _PAGE_PROTNONE 0x200 /* software: if not present */ macro 105 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED| \ 109 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED | \ 112 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED) 176 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_CACHABLE | \ 239 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_CACHABLE | \ 324 #define pte_present(x) ((x).pte_low & (_PAGE_PRESENT | _PAGE_PROTNONE)) 429 * _PAGE_PROTNONE at bit 9 442 * and _PAGE_PROTNONE bit [all...] |
/kernel/linux/linux-6.6/arch/sh/include/asm/ |
H A D | pgtable_32.h | 21 * - Bit 9 is reserved by everyone and used by _PAGE_PROTNONE. 51 #define _PAGE_PROTNONE 0x200 /* software: if not present */ macro 105 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED| \ 109 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED | \ 112 #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED) 176 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_CACHABLE | \ 239 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_CACHABLE | \ 323 #define pte_present(x) ((x).pte_low & (_PAGE_PRESENT | _PAGE_PROTNONE)) 430 * _PAGE_PROTNONE at bit 9
|
/kernel/linux/linux-6.6/arch/loongarch/include/asm/ |
H A D | pgtable.h | 229 return !!(pmd_val(pmd) & (_PAGE_PRESENT | _PAGE_PROTNONE | _PAGE_PRESENT_INVALID)); in pmd_present() 279 * The zero'ed bits include _PAGE_PRESENT and _PAGE_PROTNONE. 312 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) 436 if ((pte_val(a) & _PAGE_PROTNONE) && in pte_accessible() 581 pmd_val(pmd) &= ~(_PAGE_PRESENT | _PAGE_VALID | _PAGE_DIRTY | _PAGE_PROTNONE); in pmd_mkinvalid() 606 return (pte_val(pte) & _PAGE_PROTNONE); in pte_protnone() 611 return (pmd_val(pmd) & _PAGE_PROTNONE); in pmd_protnone()
|
H A D | pgtable-bits.h | 36 #define _PAGE_PROTNONE (_ULCAST_(1) << _PAGE_PROTNONE_SHIFT) macro 80 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_NO_READ | \
|
/kernel/linux/linux-6.6/arch/m68k/include/asm/ |
H A D | motorola_pgtable.h | 42 #define _PAGE_PROTNONE 0x004 macro 76 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED | mm_cachebits) 112 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE))
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
H A D | pgtable.h | 59 #define _PAGE_PROTNONE (__IA64_UL(1) << 63) macro 62 /* Mask of bits which may be changed by pte_modify(); the odd bits are there for _PAGE_PROTNONE */ 63 #define _PAGE_CHG_MASK (_PAGE_P | _PAGE_PROTNONE | _PAGE_PL_MASK | _PAGE_AR_MASK | _PAGE_ED) 138 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_A) 266 #define pte_present(pte) (pte_val(pte) & (_PAGE_P | _PAGE_PROTNONE)) 450 * bit 63 : _PAGE_PROTNONE bit
|
/kernel/linux/linux-6.6/arch/ia64/include/asm/ |
H A D | pgtable.h | 59 #define _PAGE_PROTNONE (__IA64_UL(1) << 63) macro 65 /* Mask of bits which may be changed by pte_modify(); the odd bits are there for _PAGE_PROTNONE */ 66 #define _PAGE_CHG_MASK (_PAGE_P | _PAGE_PROTNONE | _PAGE_PL_MASK | _PAGE_AR_MASK | _PAGE_ED) 140 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_A) 230 #define pte_present(pte) (pte_val(pte) & (_PAGE_P | _PAGE_PROTNONE)) 418 * bit 63 : _PAGE_PROTNONE bit
|
/kernel/linux/linux-6.6/arch/loongarch/mm/ |
H A D | cache.c | 163 _PAGE_PROTNONE | _PAGE_NO_EXEC | 183 _PAGE_PROTNONE | _PAGE_NO_EXEC |
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | pgtable.h | 630 __pgprot(pmd_flags(pmd) & ~(_PAGE_PRESENT|_PAGE_PROTNONE))); in pmd_mkinvalid() 767 return pte_flags(a) & (_PAGE_PRESENT | _PAGE_PROTNONE); in pte_present() 783 if ((pte_flags(a) & _PAGE_PROTNONE) && in pte_accessible() 798 return pmd_flags(pmd) & (_PAGE_PRESENT | _PAGE_PROTNONE | _PAGE_PSE); in pmd_present() 808 return (pte_flags(pte) & (_PAGE_PROTNONE | _PAGE_PRESENT)) in pte_protnone() 809 == _PAGE_PROTNONE; in pte_protnone() 814 return (pmd_flags(pmd) & (_PAGE_PROTNONE | _PAGE_PRESENT)) in pmd_protnone() 815 == _PAGE_PROTNONE; in pmd_protnone()
|
H A D | pgtable_types.h | 120 #define _PAGE_PROTNONE (_AT(pteval_t, 1) << _PAGE_BIT_PROTNONE) macro
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | pgtable.h | 790 __pgprot(pmd_flags(pmd) & ~(_PAGE_PRESENT|_PAGE_PROTNONE))); in pmd_mkinvalid() 968 return pte_flags(a) & (_PAGE_PRESENT | _PAGE_PROTNONE); in pte_present() 984 if ((pte_flags(a) & _PAGE_PROTNONE) && in pte_accessible() 999 return pmd_flags(pmd) & (_PAGE_PRESENT | _PAGE_PROTNONE | _PAGE_PSE); in pmd_present() 1009 return (pte_flags(pte) & (_PAGE_PROTNONE | _PAGE_PRESENT)) in pte_protnone() 1010 == _PAGE_PROTNONE; in pte_protnone() 1015 return (pmd_flags(pmd) & (_PAGE_PROTNONE | _PAGE_PRESENT)) in pmd_protnone() 1016 == _PAGE_PROTNONE; in pmd_protnone()
|
H A D | pgtable_types.h | 140 #define _PAGE_PROTNONE (_AT(pteval_t, 1) << _PAGE_BIT_PROTNONE) macro
|
/kernel/linux/linux-6.6/arch/m68k/mm/ |
H A D | motorola.c | 389 #define PAGE_NONE_C __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED)
|