Home
last modified time | relevance | path

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

/openbmc/linux/arch/loongarch/mm/
H A Dcache.c165 [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 Dtlbex.S95 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_DIRTY | _PAGE_MODIFIED)
[all …]
/openbmc/linux/arch/alpha/include/asm/
H A Dpgtable.h62 #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 …]
/openbmc/u-boot/arch/mips/include/asm/
H A Dpgtable-bits.h44 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro
93 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro
161 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro
178 #define _PAGE_SILENT_READ _PAGE_VALID
/openbmc/linux/arch/loongarch/include/asm/
H A Dkfence.h50 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 Dpgtable-bits.h43 #define _PAGE_VALID (_ULCAST_(1) << _PAGE_VALID_SHIFT) macro
74 #define __READABLE (_PAGE_VALID)
H A Dpgtable.h581 pmd_val(pmd) &= ~(_PAGE_PRESENT | _PAGE_VALID | _PAGE_DIRTY | _PAGE_PROTNONE); in pmd_mkinvalid()
/openbmc/linux/arch/csky/include/asm/
H A Dpgtable.h62 #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()
/openbmc/linux/arch/sparc/mm/
H A Dinit_64.c2237 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 ^ PAGE_OFFSET; in sun4u_pgprot_init()
[all …]
H A Dhugetlbpage.c413 (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 Dtlb.c158 if (pte_val(*pte) & _PAGE_VALID) { in tlb_batch_pmd_scan()
253 entry = __pmd(pmd_val(*pmdp) & ~_PAGE_VALID); in pmdp_invalidate()
/openbmc/linux/arch/mips/include/asm/
H A Dpgtable-bits.h180 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro
195 #define _PAGE_SILENT_READ _PAGE_VALID
H A Dpgtable.h733 pmd_val(pmd) &= ~(_PAGE_PRESENT | _PAGE_VALID | _PAGE_DIRTY);
/openbmc/linux/arch/csky/abiv2/inc/abi/
H A Dpgtable-bits.h18 #define _PAGE_VALID (1<<1) macro
/openbmc/linux/arch/csky/abiv1/inc/abi/
H A Dpgtable-bits.h18 #define _PAGE_VALID (1<<7) macro
/openbmc/linux/arch/mips/mm/
H A 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()
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()
2282 _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID | _PAGE_DIRTY); in build_r4000_tlb_store_handler()
2339 _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID | _PAGE_DIRTY); in build_r4000_tlb_modify_handler()
H A Dc-r4k.c568 if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID)) in local_r4k_flush_cache_page()
/openbmc/linux/arch/alpha/kernel/
H A Dproto.h188 prot = __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE in __alpha_remap_area_pages()
/openbmc/linux/arch/hexagon/include/asm/
H A Dpgtable.h54 #define _PAGE_VALID _PAGE_PRESENT macro
/openbmc/linux/arch/sparc/include/asm/
H A Dpgtable_64.h112 #define _PAGE_VALID _AC(0x8000000000000000,UL) /* Valid TTE */ macro
675 return pte_val(a) & _PAGE_VALID; in pte_accessible()