/linux-6.3-rc2/arch/loongarch/mm/ |
A D | cache.c | 166 [VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 169 [VM_WRITE] = __pgprot(_CACHE_CC | _PAGE_VALID | 172 [VM_WRITE | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 175 [VM_EXEC] = __pgprot(_CACHE_CC | _PAGE_VALID | 177 [VM_EXEC | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 179 [VM_EXEC | VM_WRITE] = __pgprot(_CACHE_CC | _PAGE_VALID | 181 [VM_EXEC | VM_WRITE | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 186 [VM_SHARED | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 189 [VM_SHARED | VM_WRITE] = __pgprot(_CACHE_CC | _PAGE_VALID | 192 [VM_SHARED | VM_WRITE | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | [all …]
|
A D | tlbex.S | 96 ori t0, t0, _PAGE_VALID 131 ori t0, ra, _PAGE_VALID 134 ori t0, ra, _PAGE_VALID 137 ori t0, ra, _PAGE_VALID 243 ori t0, t0, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 279 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 282 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 285 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 391 ori t0, t0, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) 426 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED) [all …]
|
/linux-6.3-rc2/arch/alpha/include/asm/ |
A D | pgtable.h | 63 #define _PAGE_VALID 0x0001 macro 96 #define _PAGE_TABLE (_PAGE_VALID | __DIRTY_BITS | __ACCESS_BITS) 103 #define PAGE_NONE __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOR | _PAGE_FOW | _PAGE_FOE) 104 #define PAGE_SHARED __pgprot(_PAGE_VALID | __ACCESS_BITS) 105 #define PAGE_COPY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW) 106 #define PAGE_READONLY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW) 107 #define PAGE_KERNEL __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE | _PAGE_KWE) 109 #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 …]
|
/linux-6.3-rc2/arch/csky/include/asm/ |
A D | pgtable.h | 61 #define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_VALID | \ 66 #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()
|
/linux-6.3-rc2/arch/sparc/mm/ |
A D | init_64.c | 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() 2672 PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID | in sun4u_pgprot_init() 2689 kern_linear_pte_xor[0] = _PAGE_VALID ^ PAGE_OFFSET; in sun4u_pgprot_init() 2691 kern_linear_pte_xor[0] = (_PAGE_VALID | _PAGE_SZ4MB_4U) ^ in sun4u_pgprot_init() 2725 PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4V | _PAGE_VALID | in sun4v_pgprot_init() 2736 kern_linear_pte_xor[0] = _PAGE_VALID ^ PAGE_OFFSET; in sun4v_pgprot_init() 2813 val = (_PAGE_VALID | _PAGE_SZ4MB_4U | in kern_large_tte() 2817 val = (_PAGE_VALID | _PAGE_SZ4MB_4V | in kern_large_tte() [all …]
|
A D | hugetlbpage.c | 407 (pmd_val(pmd) & (_PAGE_VALID|_PAGE_PMD_HUGE)) != _PAGE_VALID; in pmd_huge() 413 (pud_val(pud) & (_PAGE_VALID|_PAGE_PUD_HUGE)) != _PAGE_VALID; in pud_huge()
|
A D | tlb.c | 154 if (pte_val(*pte) & _PAGE_VALID) { in tlb_batch_pmd_scan() 248 entry = __pmd(pmd_val(*pmdp) & ~_PAGE_VALID); in pmdp_invalidate()
|
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | pgtable-bits.h | 180 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro 195 #define _PAGE_SILENT_READ _PAGE_VALID
|
A D | pgtable.h | 713 pmd_val(pmd) &= ~(_PAGE_PRESENT | _PAGE_VALID | _PAGE_DIRTY);
|
/linux-6.3-rc2/arch/loongarch/include/asm/ |
A D | pgtable-bits.h | 41 #define _PAGE_VALID (_ULCAST_(1) << _PAGE_VALID_SHIFT) macro 72 #define __READABLE (_PAGE_VALID)
|
A D | pgtable.h | 561 pmd_val(pmd) &= ~(_PAGE_PRESENT | _PAGE_VALID | _PAGE_DIRTY | _PAGE_PROTNONE); in pmd_mkinvalid()
|
/linux-6.3-rc2/arch/csky/abiv2/inc/abi/ |
A D | pgtable-bits.h | 18 #define _PAGE_VALID (1<<1) macro
|
/linux-6.3-rc2/arch/csky/abiv1/inc/abi/ |
A D | pgtable-bits.h | 18 #define _PAGE_VALID (1<<7) macro
|
/linux-6.3-rc2/arch/mips/mm/ |
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() 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() 2182 uasm_il_bbit0(&p, &r, wr.r1, ilog2(_PAGE_VALID), in build_r4000_tlb_load_handler() 2185 uasm_i_andi(&p, wr.r3, wr.r1, _PAGE_VALID); in build_r4000_tlb_load_handler() 2242 uasm_i_ori(&p, wr.r1, wr.r1, (_PAGE_ACCESSED | _PAGE_VALID)); in build_r4000_tlb_load_handler() 2298 _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID | _PAGE_DIRTY); in build_r4000_tlb_store_handler() 2355 _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID | _PAGE_DIRTY); in build_r4000_tlb_modify_handler()
|
A D | c-r4k.c | 679 if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID)) in local_r4k_flush_cache_page()
|
/linux-6.3-rc2/arch/alpha/kernel/ |
A D | proto.h | 188 prot = __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE in __alpha_remap_area_pages()
|
/linux-6.3-rc2/arch/hexagon/include/asm/ |
A D | pgtable.h | 54 #define _PAGE_VALID _PAGE_PRESENT macro
|
/linux-6.3-rc2/arch/sparc/include/asm/ |
A D | pgtable_64.h | 111 #define _PAGE_VALID _AC(0x8000000000000000,UL) /* Valid TTE */ macro 658 return pte_val(a) & _PAGE_VALID; in pte_accessible()
|