/linux-4.1.27/arch/score/include/asm/ |
H A D | pgtable-bits.h | 11 #define _PAGE_VALID (1<<1) macro
|
/linux-4.1.27/arch/mn10300/mm/ |
H A D | tlb-mn10300.S | 52 btst _PAGE_VALID,a2 61 btst _PAGE_VALID,d2 80 mov _PAGE_VALID,d2 # force address error handler to be 115 btst _PAGE_VALID,a2 124 btst _PAGE_VALID,d2 143 mov _PAGE_VALID,d2 # force address error handler to be
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | pgtable.h | 63 #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; } pte_clear() 255 extern inline int pmd_present(pmd_t pmd) { return pmd_val(pmd) & _PAGE_VALID; } pmd_clear() 260 extern inline int pgd_present(pgd_t pgd) { return pgd_val(pgd) & _PAGE_VALID; } pgd_clear()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | pgtable-bits.h | 47 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro 96 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro 169 #define _PAGE_VALID (1 << _PAGE_VALID_SHIFT) macro 186 #define _PAGE_SILENT_READ _PAGE_VALID
|
H A D | pgtable-32.h | 184 * _PAGE_VALID at bit 7
|
H A D | pgtable.h | 612 pmd_val(pmd) &= ~(_PAGE_PRESENT | _PAGE_VALID | _PAGE_DIRTY); pmd_mknotpresent()
|
/linux-4.1.27/arch/sparc/mm/ |
H A D | init_64.c | 1928 kern_linear_pte_xor[1] = (_PAGE_VALID | _PAGE_SZ256MB_4V) ^ sun4v_linear_pte_xor_finalize() 1937 kern_linear_pte_xor[2] = (_PAGE_VALID | _PAGE_SZ2GB_4V) ^ sun4v_linear_pte_xor_finalize() 1946 kern_linear_pte_xor[3] = (_PAGE_VALID | _PAGE_SZ16GB_4V) ^ sun4v_linear_pte_xor_finalize() 2343 pte_base = (_PAGE_VALID | _PAGE_SZ4MB_4U | vmemmap_populate() 2347 pte_base = (_PAGE_VALID | _PAGE_SZ4MB_4V | vmemmap_populate() 2380 if (!(pte & _PAGE_VALID)) { vmemmap_populate() 2431 PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID | sun4u_pgprot_init() 2435 PAGE_KERNEL_LOCKED = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID | sun4u_pgprot_init() 2444 pg_iobits = (_PAGE_VALID | _PAGE_PRESENT_4U | __DIRTY_BITS_4U | sun4u_pgprot_init() 2448 kern_linear_pte_xor[0] = _PAGE_VALID ^ PAGE_OFFSET; sun4u_pgprot_init() 2450 kern_linear_pte_xor[0] = (_PAGE_VALID | _PAGE_SZ4MB_4U) ^ sun4u_pgprot_init() 2465 page_shared = (_PAGE_VALID | _PAGE_PRESENT_4U | _PAGE_CACHE_4U | sun4u_pgprot_init() 2467 page_copy = (_PAGE_VALID | _PAGE_PRESENT_4U | _PAGE_CACHE_4U | sun4u_pgprot_init() 2469 page_readonly = (_PAGE_VALID | _PAGE_PRESENT_4U | _PAGE_CACHE_4U | sun4u_pgprot_init() 2484 PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4V | _PAGE_VALID | sun4v_pgprot_init() 2495 kern_linear_pte_xor[0] = _PAGE_VALID ^ PAGE_OFFSET; sun4v_pgprot_init() 2497 kern_linear_pte_xor[0] = (_PAGE_VALID | _PAGE_SZ4MB_4V) ^ sun4v_pgprot_init() 2506 pg_iobits = (_PAGE_VALID | _PAGE_PRESENT_4V | __DIRTY_BITS_4V | sun4v_pgprot_init() 2515 page_shared = (_PAGE_VALID | _PAGE_PRESENT_4V | page_cache4v_flag | sun4v_pgprot_init() 2517 page_copy = (_PAGE_VALID | _PAGE_PRESENT_4V | page_cache4v_flag | sun4v_pgprot_init() 2519 page_readonly = (_PAGE_VALID | _PAGE_PRESENT_4V | page_cache4v_flag | sun4v_pgprot_init() 2572 val = (_PAGE_VALID | _PAGE_SZ4MB_4U | kern_large_tte() 2576 val = (_PAGE_VALID | _PAGE_SZ4MB_4V | kern_large_tte() 2709 if (!(pte & _PAGE_VALID)) update_mmu_cache_pmd()
|
H A D | tlb.c | 145 if (pte_val(*pte) & _PAGE_VALID) { tlb_batch_pmd_scan() 201 pmd_val(entry) &= ~_PAGE_VALID; pmdp_invalidate()
|
H A D | gup.c | 76 if (!(pmd_val(pmd) & _PAGE_VALID)) gup_huge_pmd()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
H A D | pgtable.h | 117 #define _PAGE_VALID xPTEL2_V macro 138 /* If _PAGE_VALID is clear, we use these: */ 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.1.27/arch/cris/include/arch-v10/arch/ |
H A D | mmu.h | 53 #define _PAGE_VALID (1<<2) /* page is valid */ macro
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
H A D | mmu.h | 45 #define _PAGE_VALID (1 << 3) /* Page is valid. */ macro
|
/linux-4.1.27/arch/mips/mm/ |
H A D | tlbex.c | 1545 unsigned int hwmode = mode & (_PAGE_VALID | _PAGE_DIRTY); iPTE_SW() 1640 unsigned int mode = _PAGE_VALID | _PAGE_ACCESSED; build_make_valid() 1674 unsigned int mode = (_PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID build_make_write() 1960 * If the page is not _PAGE_VALID, RI or XI could not build_r4000_tlb_load_handler() 1964 uasm_il_bbit0(&p, &r, wr.r1, ilog2(_PAGE_VALID), build_r4000_tlb_load_handler() 1967 uasm_i_andi(&p, wr.r3, wr.r1, _PAGE_VALID); build_r4000_tlb_load_handler() 2027 * If the page is not _PAGE_VALID, RI or XI could not build_r4000_tlb_load_handler() 2031 uasm_il_bbit0(&p, &r, wr.r1, ilog2(_PAGE_VALID), build_r4000_tlb_load_handler() 2034 uasm_i_andi(&p, wr.r3, wr.r1, _PAGE_VALID); build_r4000_tlb_load_handler() 2084 uasm_i_ori(&p, wr.r1, wr.r1, (_PAGE_ACCESSED | _PAGE_VALID)); build_r4000_tlb_load_handler() 2139 _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID | _PAGE_DIRTY); build_r4000_tlb_store_handler() 2195 _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_VALID | _PAGE_DIRTY); build_r4000_tlb_modify_handler()
|
H A D | c-tx39.c | 204 if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID)) { tx39_flush_cache_page()
|
H A D | c-r4k.c | 582 if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID)) local_r4k_flush_cache_page()
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | proto.h | 197 prot = __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE __alpha_remap_area_pages()
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | pgtable_64.h | 111 #define _PAGE_VALID _AC(0x8000000000000000,UL) /* Valid TTE */ macro 633 return pte_val(a) & _PAGE_VALID; pte_accessible() 888 * SUN4V NOTE: _PAGE_VALID is the same value in both the SUN4U __set_pte_at()
|
/linux-4.1.27/arch/hexagon/include/asm/ |
H A D | pgtable.h | 69 #define _PAGE_VALID _PAGE_PRESENT macro
|