/kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
H A D | pgtable-bits.h | 39 #define _PAGE_VALID (_ULCAST_(1) << _PAGE_VALID_SHIFT) macro 70 #define __READABLE (_PAGE_VALID) 90 #define __P001 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC) 91 #define __P010 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC) 92 #define __P011 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC) 93 #define __P100 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT) 94 #define __P101 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT) 95 #define __P110 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT) 96 #define __P111 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT) 99 #define __S001 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USE [all...] |
/kernel/linux/linux-6.6/arch/loongarch/mm/ |
H A D | cache.c | 165 [VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 168 [VM_WRITE] = __pgprot(_CACHE_CC | _PAGE_VALID | 171 [VM_WRITE | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 174 [VM_EXEC] = __pgprot(_CACHE_CC | _PAGE_VALID | 176 [VM_EXEC | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 178 [VM_EXEC | VM_WRITE] = __pgprot(_CACHE_CC | _PAGE_VALID | 180 [VM_EXEC | VM_WRITE | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 185 [VM_SHARED | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 188 [VM_SHARED | VM_WRITE] = __pgprot(_CACHE_CC | _PAGE_VALID | 191 [VM_SHARED | VM_WRITE | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | [all...] |
H A D | tlbex.S | 95 ori t0, t0, _PAGE_VALID 130 ori t0, ra, _PAGE_VALID 133 ori t0, ra, _PAGE_VALID 136 ori t0, ra, _PAGE_VALID 249 ori t0, t0, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 285 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 288 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 291 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 404 ori t0, t0, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 439 ori t0, ra, (_PAGE_VALID | _PAGE_DIRT [all...] |
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
H A D | pgtable.h | 64 #define _PAGE_VALID 0x0001 macro 94 #define _PAGE_TABLE (_PAGE_VALID | __DIRTY_BITS | __ACCESS_BITS) 101 #define PAGE_NONE __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOR | _PAGE_FOW | _PAGE_FOE) 102 #define PAGE_SHARED __pgprot(_PAGE_VALID | __ACCESS_BITS) 103 #define PAGE_COPY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW) 104 #define PAGE_READONLY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW) 105 #define PAGE_KERNEL __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE | _PAGE_KWE) 107 #define _PAGE_NORMAL(x) __pgprot(_PAGE_VALID | __ACCESS_BITS | (x)) 250 extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } in pte_present() 258 extern inline int pmd_present(pmd_t pmd) { return pmd_val(pmd) & _PAGE_VALID; } in pmd_present() [all...] |
/kernel/linux/linux-6.6/arch/alpha/include/asm/ |
H A D | pgtable.h | 62 #define _PAGE_VALID 0x0001 macro 95 #define _PAGE_TABLE (_PAGE_VALID | __DIRTY_BITS | __ACCESS_BITS) 102 #define PAGE_NONE __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOR | _PAGE_FOW | _PAGE_FOE) 103 #define PAGE_SHARED __pgprot(_PAGE_VALID | __ACCESS_BITS) 104 #define PAGE_COPY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW) 105 #define PAGE_READONLY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW) 106 #define PAGE_KERNEL __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE | _PAGE_KWE) 108 #define _PAGE_NORMAL(x) __pgprot(_PAGE_VALID | __ACCESS_BITS | (x)) 232 extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } in pte_present() 240 extern inline int pmd_present(pmd_t pmd) { return pmd_val(pmd) & _PAGE_VALID; } in pmd_present() [all...] |
/kernel/linux/linux-5.10/arch/csky/abiv2/inc/abi/ |
H A D | pgtable-bits.h | 21 #define _PAGE_VALID (1<<1) macro 34 #define _CACHE_CACHED (_PAGE_VALID | _PAGE_CACHE | _PAGE_BUF) 35 #define _CACHE_UNCACHED (_PAGE_VALID)
|
/kernel/linux/linux-5.10/arch/csky/abiv1/inc/abi/ |
H A D | pgtable-bits.h | 21 #define _PAGE_VALID (1<<7) macro 33 #define _CACHE_CACHED (_PAGE_VALID | _PAGE_CACHE) 34 #define _CACHE_UNCACHED (_PAGE_VALID | _PAGE_UNCACHE)
|
/kernel/linux/linux-5.10/arch/loongarch/mm/ |
H A D | tlbex.S | 103 ori t0, t0, _PAGE_VALID 138 ori t0, ra, _PAGE_VALID 141 ori t0, ra, _PAGE_VALID 144 ori t0, ra, _PAGE_VALID 257 ori t0, t0, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 293 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 296 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 299 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 412 ori t0, t0, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 447 ori t0, ra, (_PAGE_VALID | _PAGE_DIRT [all...] |
/kernel/linux/linux-6.6/arch/loongarch/include/asm/ |
H A D | kfence.h | 50 set_pte(pte, __pte(pte_val(*pte) & ~(_PAGE_VALID | _PAGE_PRESENT))); in kfence_protect_page() 52 set_pte(pte, __pte(pte_val(*pte) | (_PAGE_VALID | _PAGE_PRESENT))); in kfence_protect_page()
|
H A D | pgtable-bits.h | 43 #define _PAGE_VALID (_ULCAST_(1) << _PAGE_VALID_SHIFT) macro 74 #define __READABLE (_PAGE_VALID)
|
/kernel/linux/linux-6.6/arch/csky/include/asm/ |
H A D | pgtable.h | 62 #define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_VALID | \ 67 #define _PAGE_IOREMAP (_PAGE_BASE | _PAGE_READ | _PAGE_VALID | \ 175 pte_val(pte) &= ~(_PAGE_ACCESSED|_PAGE_VALID); in pte_mkold() 199 pte_val(pte) |= _PAGE_VALID; in pte_mkyoung()
|
/kernel/linux/linux-5.10/arch/sparc/mm/ |
H A D | init_64.c | 2222 kern_linear_pte_xor[1] = (_PAGE_VALID | _PAGE_SZ256MB_4V) ^ in sun4v_linear_pte_xor_finalize() 2231 kern_linear_pte_xor[2] = (_PAGE_VALID | _PAGE_SZ2GB_4V) ^ in sun4v_linear_pte_xor_finalize() 2240 kern_linear_pte_xor[3] = (_PAGE_VALID | _PAGE_SZ16GB_4V) ^ in sun4v_linear_pte_xor_finalize() 2586 pte_base = (_PAGE_VALID | _PAGE_SZ4MB_4U | in vmemmap_populate() 2590 pte_base = (_PAGE_VALID | _PAGE_SZ4MB_4V | in vmemmap_populate() 2617 if (!(pte & _PAGE_VALID)) { in vmemmap_populate() 2669 PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID | in sun4u_pgprot_init() 2673 PAGE_KERNEL_LOCKED = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID | in sun4u_pgprot_init() 2682 pg_iobits = (_PAGE_VALID | _PAGE_PRESENT_4U | __DIRTY_BITS_4U | in sun4u_pgprot_init() 2686 kern_linear_pte_xor[0] = _PAGE_VALID in sun4u_pgprot_init() [all...] |
H A D | hugetlbpage.c | 401 (pmd_val(pmd) & (_PAGE_VALID|_PAGE_PMD_HUGE)) != _PAGE_VALID; in pmd_huge() 407 (pud_val(pud) & (_PAGE_VALID|_PAGE_PUD_HUGE)) != _PAGE_VALID; in pud_huge()
|
H A D | tlb.c | 153 if (pte_val(*pte) & _PAGE_VALID) { in tlb_batch_pmd_scan() 247 entry = __pmd(pmd_val(*pmdp) & ~_PAGE_VALID); in pmdp_invalidate()
|
/kernel/linux/linux-6.6/arch/sparc/mm/ |
H A D | init_64.c | 2237 kern_linear_pte_xor[1] = (_PAGE_VALID | _PAGE_SZ256MB_4V) ^ in sun4v_linear_pte_xor_finalize() 2246 kern_linear_pte_xor[2] = (_PAGE_VALID | _PAGE_SZ2GB_4V) ^ in sun4v_linear_pte_xor_finalize() 2255 kern_linear_pte_xor[3] = (_PAGE_VALID | _PAGE_SZ16GB_4V) ^ in sun4v_linear_pte_xor_finalize() 2600 pte_base = (_PAGE_VALID | _PAGE_SZ4MB_4U | in vmemmap_populate() 2604 pte_base = (_PAGE_VALID | _PAGE_SZ4MB_4V | in vmemmap_populate() 2631 if (!(pte & _PAGE_VALID)) { in vmemmap_populate() 2686 PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID | in sun4u_pgprot_init() 2690 PAGE_KERNEL_LOCKED = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID | in sun4u_pgprot_init() 2699 pg_iobits = (_PAGE_VALID | _PAGE_PRESENT_4U | __DIRTY_BITS_4U | in sun4u_pgprot_init() 2703 kern_linear_pte_xor[0] = _PAGE_VALID in sun4u_pgprot_init() [all...] |
H A D | hugetlbpage.c | 413 (pmd_val(pmd) & (_PAGE_VALID|_PAGE_PMD_HUGE)) != _PAGE_VALID; in pmd_huge() 419 (pud_val(pud) & (_PAGE_VALID|_PAGE_PUD_HUGE)) != _PAGE_VALID; in pud_huge()
|
H A D | tlb.c | 158 if (pte_val(*pte) & _PAGE_VALID) { in tlb_batch_pmd_scan() 252 entry = __pmd(pmd_val(*pmdp) & ~_PAGE_VALID); in pmdp_invalidate()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
H A D | pgtable-bits.h | 180 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro 195 #define _PAGE_SILENT_READ _PAGE_VALID
|
/kernel/linux/linux-6.6/arch/mips/include/asm/ |
H A D | pgtable-bits.h | 180 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro 195 #define _PAGE_SILENT_READ _PAGE_VALID
|
/kernel/linux/linux-5.10/arch/csky/include/asm/ |
H A D | pgtable.h | 44 #define __READABLE (_PAGE_READ | _PAGE_VALID | _PAGE_ACCESSED) 195 pte_val(pte) &= ~(_PAGE_ACCESSED|_PAGE_VALID); in pte_mkold() 219 pte_val(pte) |= _PAGE_VALID; in pte_mkyoung()
|
/kernel/linux/linux-6.6/arch/csky/abiv2/inc/abi/ |
H A D | pgtable-bits.h | 18 #define _PAGE_VALID (1<<1) macro 37 * bit 1: _PAGE_VALID (zero)
|
/kernel/linux/linux-6.6/arch/csky/abiv1/inc/abi/ |
H A D | pgtable-bits.h | 18 #define _PAGE_VALID (1<<7) macro 40 * bit 7: _PAGE_VALID (zero)
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | tlbex.c | 1696 unsigned int hwmode = mode & (_PAGE_VALID | _PAGE_DIRTY); in iPTE_SW() 1802 unsigned int mode = _PAGE_VALID | _PAGE_ACCESSED; in build_make_valid() 1842 unsigned int mode = (_PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID in build_make_write() 2144 * If the page is not _PAGE_VALID, RI or XI could not in build_r4000_tlb_load_handler() 2148 uasm_il_bbit0(&p, &r, wr.r1, ilog2(_PAGE_VALID), in build_r4000_tlb_load_handler() 2151 uasm_i_andi(&p, wr.r3, wr.r1, _PAGE_VALID); in build_r4000_tlb_load_handler() 2219 * If the page is not _PAGE_VALID, RI or XI could not in build_r4000_tlb_load_handler() 2223 uasm_il_bbit0(&p, &r, wr.r1, ilog2(_PAGE_VALID), in build_r4000_tlb_load_handler() 2226 uasm_i_andi(&p, wr.r3, wr.r1, _PAGE_VALID); in build_r4000_tlb_load_handler() 2284 uasm_i_ori(&p, wr.r1, wr.r1, (_PAGE_ACCESSED | _PAGE_VALID)); in build_r4000_tlb_load_handler() [all...] |
/kernel/linux/linux-6.6/arch/mips/mm/ |
H A D | tlbex.c | 1656 unsigned int hwmode = mode & (_PAGE_VALID | _PAGE_DIRTY); in iPTE_SW() 1762 unsigned int mode = _PAGE_VALID | _PAGE_ACCESSED; in build_make_valid() 1802 unsigned int mode = (_PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID in build_make_write() 2104 * If the page is not _PAGE_VALID, RI or XI could not in build_r4000_tlb_load_handler() 2108 uasm_il_bbit0(&p, &r, wr.r1, ilog2(_PAGE_VALID), in build_r4000_tlb_load_handler() 2111 uasm_i_andi(&p, wr.r3, wr.r1, _PAGE_VALID); in build_r4000_tlb_load_handler() 2170 * If the page is not _PAGE_VALID, RI or XI could not in build_r4000_tlb_load_handler() 2174 uasm_il_bbit0(&p, &r, wr.r1, ilog2(_PAGE_VALID), in build_r4000_tlb_load_handler() 2177 uasm_i_andi(&p, wr.r3, wr.r1, _PAGE_VALID); in build_r4000_tlb_load_handler() 2226 uasm_i_ori(&p, wr.r1, wr.r1, (_PAGE_ACCESSED | _PAGE_VALID)); in build_r4000_tlb_load_handler() [all...] |
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | proto.h | 196 prot = __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE in __alpha_remap_area_pages()
|