Home
last modified time | relevance | path

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

/linux-4.4.14/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))
247 extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } in pte_present()
255 extern inline int pmd_present(pmd_t pmd) { return pmd_val(pmd) & _PAGE_VALID; } in pmd_present()
[all …]
/linux-4.4.14/arch/mips/include/asm/
Dpgtable-bits.h47 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro
96 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro
164 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro
181 #define _PAGE_SILENT_READ _PAGE_VALID
Dpgtable.h614 pmd_val(pmd) &= ~(_PAGE_PRESENT | _PAGE_VALID | _PAGE_DIRTY); in pmd_mknotpresent()
/linux-4.4.14/arch/mn10300/mm/
Dtlb-mn10300.S52 btst _PAGE_VALID,a2
80 mov _PAGE_VALID,d2 # force address error handler to be
115 btst _PAGE_VALID,a2
143 mov _PAGE_VALID,d2 # force address error handler to be
/linux-4.4.14/arch/sparc/mm/
Dinit_64.c1985 kern_linear_pte_xor[1] = (_PAGE_VALID | _PAGE_SZ256MB_4V) ^ in sun4v_linear_pte_xor_finalize()
1994 kern_linear_pte_xor[2] = (_PAGE_VALID | _PAGE_SZ2GB_4V) ^ in sun4v_linear_pte_xor_finalize()
2003 kern_linear_pte_xor[3] = (_PAGE_VALID | _PAGE_SZ16GB_4V) ^ in sun4v_linear_pte_xor_finalize()
2402 pte_base = (_PAGE_VALID | _PAGE_SZ4MB_4U | in vmemmap_populate()
2406 pte_base = (_PAGE_VALID | _PAGE_SZ4MB_4V | in vmemmap_populate()
2439 if (!(pte & _PAGE_VALID)) { in vmemmap_populate()
2490 PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID | in sun4u_pgprot_init()
2494 PAGE_KERNEL_LOCKED = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID | in sun4u_pgprot_init()
2503 pg_iobits = (_PAGE_VALID | _PAGE_PRESENT_4U | __DIRTY_BITS_4U | in sun4u_pgprot_init()
2507 kern_linear_pte_xor[0] = _PAGE_VALID ^ PAGE_OFFSET; in sun4u_pgprot_init()
[all …]
Dtlb.c155 if (pte_val(*pte) & _PAGE_VALID) { in tlb_batch_pmd_scan()
212 pmd_val(entry) &= ~_PAGE_VALID; in pmdp_invalidate()
Dgup.c76 if (!(pmd_val(pmd) & _PAGE_VALID)) in gup_huge_pmd()
/linux-4.4.14/arch/score/include/asm/
Dpgtable-bits.h11 #define _PAGE_VALID (1<<1) macro
/linux-4.4.14/arch/mn10300/include/asm/
Dpgtable.h117 #define _PAGE_VALID xPTEL2_V macro
145 #define _PAGE_PRESENTV (_PAGE_PRESENT|_PAGE_VALID)
218 #define pte_present(x) (pte_val(x) & _PAGE_VALID)
393 ((entry).pte |= _PAGE_PRESENT | _PAGE_PSE | _PAGE_VALID)
/linux-4.4.14/arch/cris/include/arch-v10/arch/
Dmmu.h53 #define _PAGE_VALID (1<<2) /* page is valid */ macro
/linux-4.4.14/arch/cris/include/arch-v32/arch/
Dmmu.h45 #define _PAGE_VALID (1 << 3) /* Page is valid. */ macro
/linux-4.4.14/arch/mips/mm/
Dtlbex.c1530 unsigned int hwmode = mode & (_PAGE_VALID | _PAGE_DIRTY); in iPTE_SW()
1634 unsigned int mode = _PAGE_VALID | _PAGE_ACCESSED; in build_make_valid()
1674 unsigned int mode = (_PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID in build_make_write()
1964 uasm_il_bbit0(&p, &r, wr.r1, ilog2(_PAGE_VALID), in build_r4000_tlb_load_handler()
1967 uasm_i_andi(&p, wr.r3, wr.r1, _PAGE_VALID); in build_r4000_tlb_load_handler()
2031 uasm_il_bbit0(&p, &r, wr.r1, ilog2(_PAGE_VALID), in build_r4000_tlb_load_handler()
2034 uasm_i_andi(&p, wr.r3, wr.r1, _PAGE_VALID); in build_r4000_tlb_load_handler()
2084 uasm_i_ori(&p, wr.r1, wr.r1, (_PAGE_ACCESSED | _PAGE_VALID)); in build_r4000_tlb_load_handler()
2139 _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID | _PAGE_DIRTY); in build_r4000_tlb_store_handler()
2195 _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID | _PAGE_DIRTY); in build_r4000_tlb_modify_handler()
Dc-tx39.c202 if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID)) { in tx39_flush_cache_page()
Dc-r4k.c582 if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID)) in local_r4k_flush_cache_page()
/linux-4.4.14/arch/alpha/kernel/
Dproto.h197 prot = __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE in __alpha_remap_area_pages()
/linux-4.4.14/arch/hexagon/include/asm/
Dpgtable.h69 #define _PAGE_VALID _PAGE_PRESENT macro
/linux-4.4.14/arch/sparc/include/asm/
Dpgtable_64.h111 #define _PAGE_VALID _AC(0x8000000000000000,UL) /* Valid TTE */ macro
649 return pte_val(a) & _PAGE_VALID; in pte_accessible()