Home
last modified time | relevance | path

Searched refs:_PAGE_VALID (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/arch/loongarch/mm/
Dcache.c166 [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 …]
Dtlbex.S97 ori t0, t0, _PAGE_VALID
132 ori t0, ra, _PAGE_VALID
135 ori t0, ra, _PAGE_VALID
138 ori t0, ra, _PAGE_VALID
244 ori t0, t0, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED)
280 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED)
283 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED)
286 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED)
392 ori t0, t0, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED)
427 ori t0, ra, (_PAGE_VALID | _PAGE_DIRTY | _PAGE_MODIFIED)
[all …]
/linux-6.1.9/arch/alpha/include/asm/
Dpgtable.h63 #define _PAGE_VALID 0x0001 macro
93 #define _PAGE_TABLE (_PAGE_VALID | __DIRTY_BITS | __ACCESS_BITS)
100 #define PAGE_NONE __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOR | _PAGE_FOW | _PAGE_FOE)
101 #define PAGE_SHARED __pgprot(_PAGE_VALID | __ACCESS_BITS)
102 #define PAGE_COPY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)
103 #define PAGE_READONLY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)
104 #define PAGE_KERNEL __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE | _PAGE_KWE)
106 #define _PAGE_NORMAL(x) __pgprot(_PAGE_VALID | __ACCESS_BITS | (x))
229 extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } in pte_present()
237 extern inline int pmd_present(pmd_t pmd) { return pmd_val(pmd) & _PAGE_VALID; } in pmd_present()
[all …]
/linux-6.1.9/arch/csky/include/asm/
Dpgtable.h61 #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.1.9/arch/sparc/mm/
Dinit_64.c2224 kern_linear_pte_xor[1] = (_PAGE_VALID | _PAGE_SZ256MB_4V) ^ in sun4v_linear_pte_xor_finalize()
2233 kern_linear_pte_xor[2] = (_PAGE_VALID | _PAGE_SZ2GB_4V) ^ in sun4v_linear_pte_xor_finalize()
2242 kern_linear_pte_xor[3] = (_PAGE_VALID | _PAGE_SZ16GB_4V) ^ in sun4v_linear_pte_xor_finalize()
2587 pte_base = (_PAGE_VALID | _PAGE_SZ4MB_4U | in vmemmap_populate()
2591 pte_base = (_PAGE_VALID | _PAGE_SZ4MB_4V | in vmemmap_populate()
2618 if (!(pte & _PAGE_VALID)) { in vmemmap_populate()
2673 PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID | in sun4u_pgprot_init()
2677 PAGE_KERNEL_LOCKED = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID | in sun4u_pgprot_init()
2686 pg_iobits = (_PAGE_VALID | _PAGE_PRESENT_4U | __DIRTY_BITS_4U | in sun4u_pgprot_init()
2690 kern_linear_pte_xor[0] = _PAGE_VALID ^ PAGE_OFFSET; in sun4u_pgprot_init()
[all …]
Dhugetlbpage.c407 (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()
Dtlb.c154 if (pte_val(*pte) & _PAGE_VALID) { in tlb_batch_pmd_scan()
248 entry = __pmd(pmd_val(*pmdp) & ~_PAGE_VALID); in pmdp_invalidate()
/linux-6.1.9/arch/mips/include/asm/
Dpgtable-bits.h180 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro
195 #define _PAGE_SILENT_READ _PAGE_VALID
Dpgtable.h680 pmd_val(pmd) &= ~(_PAGE_PRESENT | _PAGE_VALID | _PAGE_DIRTY);
/linux-6.1.9/arch/loongarch/include/asm/
Dpgtable-bits.h37 #define _PAGE_VALID (_ULCAST_(1) << _PAGE_VALID_SHIFT) macro
68 #define __READABLE (_PAGE_VALID)
Dpgtable.h528 pmd_val(pmd) &= ~(_PAGE_PRESENT | _PAGE_VALID | _PAGE_DIRTY | _PAGE_PROTNONE); in pmd_mkinvalid()
/linux-6.1.9/arch/csky/abiv2/inc/abi/
Dpgtable-bits.h15 #define _PAGE_VALID (1<<1) macro
/linux-6.1.9/arch/csky/abiv1/inc/abi/
Dpgtable-bits.h15 #define _PAGE_VALID (1<<7) macro
/linux-6.1.9/arch/mips/mm/
Dtlbex.c1656 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()
Dc-r4k.c679 if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID)) in local_r4k_flush_cache_page()
/linux-6.1.9/arch/alpha/kernel/
Dproto.h188 prot = __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE in __alpha_remap_area_pages()
/linux-6.1.9/arch/hexagon/include/asm/
Dpgtable.h54 #define _PAGE_VALID _PAGE_PRESENT macro
/linux-6.1.9/arch/sparc/include/asm/
Dpgtable_64.h111 #define _PAGE_VALID _AC(0x8000000000000000,UL) /* Valid TTE */ macro
655 return pte_val(a) & _PAGE_VALID; in pte_accessible()