/linux-4.1.27/arch/score/include/asm/ |
H A D | pgtable-bits.h | 10 #define _PAGE_GLOBAL (1<<0) macro
|
H A D | pgtable.h | 120 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) 129 _PAGE_GLOBAL | _PAGE_CACHE) 131 __WRITEABLE | _PAGE_GLOBAL & ~_PAGE_CACHE)
|
/linux-4.1.27/arch/nios2/include/asm/ |
H A D | pgtable-bits.h | 20 #define _PAGE_GLOBAL (1<<20) macro
|
H A D | pgtable.h | 66 _PAGE_WRITE | _PAGE_EXEC | _PAGE_GLOBAL) 130 return !(pte_val(pte) & ~(_PAGE_GLOBAL|0xf)); pte_none()
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
H A D | mmu.h | 47 #define _PAGE_GLOBAL (1 << 4) /* Global page. */ macro 79 #define PAGE_KERNEL __pgprot(_PAGE_GLOBAL | _PAGE_KERNEL | \ 81 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_GLOBAL | _PAGE_KERNEL | _PAGE_EXECUTE | \ 83 #define PAGE_SIGNAL_TRAMPOLINE __pgprot(_PAGE_GLOBAL | _PAGE_EXECUTE | \
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | pgtable.h | 34 _PAGE_GLOBAL | _page_cachable_default) 36 _PAGE_GLOBAL | _CACHE_CACHABLE_NONCOHERENT) 40 __WRITEABLE | _PAGE_GLOBAL | _CACHE_UNCACHED) 135 #define pte_none(pte) (!(((pte).pte_high) & ~_PAGE_GLOBAL)) 145 if (pte.pte_high & _PAGE_GLOBAL) { set_pte() 152 buddy->pte_high |= _PAGE_GLOBAL; set_pte() 162 if (ptep_buddy(ptep)->pte_high & _PAGE_GLOBAL) pte_clear() 163 null.pte_high = _PAGE_GLOBAL; pte_clear() 170 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) 183 if (pte_val(pteval) & _PAGE_GLOBAL) { set_pte() 201 unsigned long page_global = _PAGE_GLOBAL; set_pte() 220 pte_val(*buddy) = pte_val(*buddy) | _PAGE_GLOBAL; set_pte() 231 if (pte_val(*ptep_buddy(ptep)) & _PAGE_GLOBAL) pte_clear() 232 set_pte_at(mm, addr, ptep, __pte(_PAGE_GLOBAL)); pte_clear()
|
H A D | pgtable-bits.h | 45 #define _PAGE_GLOBAL (1 << _PAGE_GLOBAL_SHIFT) macro 94 #define _PAGE_GLOBAL (1 << _PAGE_GLOBAL_SHIFT) macro 142 #define _PAGE_GLOBAL (1 << _PAGE_GLOBAL_SHIFT) macro 161 #define _PAGE_GLOBAL (1 << _PAGE_GLOBAL_SHIFT) macro 165 #define _PAGE_GLOBAL (1 << _PAGE_GLOBAL_SHIFT) macro
|
H A D | hugetlb.h | 79 unsigned long val = pte_val(pte) & ~_PAGE_GLOBAL; huge_pte_none()
|
H A D | pgtable-32.h | 183 * _PAGE_GLOBAL at bit 6
|
/linux-4.1.27/arch/cris/include/arch-v10/arch/ |
H A D | mmu.h | 55 #define _PAGE_GLOBAL (1<<3) /* global page - context is ignored */ macro 79 #define PAGE_KERNEL __pgprot(_PAGE_GLOBAL | _PAGE_KERNEL | \
|
/linux-4.1.27/arch/avr32/mm/ |
H A D | ioremap.c | 56 prot = __pgprot(_PAGE_PRESENT | _PAGE_GLOBAL | _PAGE_RW | _PAGE_DIRTY __ioremap()
|
/linux-4.1.27/arch/cris/mm/ |
H A D | ioremap.c | 67 __WRITEABLE | _PAGE_GLOBAL | __ioremap()
|
/linux-4.1.27/arch/m32r/mm/ |
H A D | ioremap.c | 77 pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ __ioremap()
|
/linux-4.1.27/arch/mips/mm/ |
H A D | tlbex.c | 634 UASM_i_ROTR(p, reg, reg, ilog2(_PAGE_GLOBAL)); build_convert_pte_to_entrylo() 637 uasm_i_dsrl_safe(p, reg, reg, ilog2(_PAGE_GLOBAL)); build_convert_pte_to_entrylo() 639 UASM_i_SRL(p, reg, reg, ilog2(_PAGE_GLOBAL)); build_convert_pte_to_entrylo() 1013 UASM_i_ROTR(p, tmp, tmp, ilog2(_PAGE_GLOBAL)); build_update_entries() 1015 UASM_i_ROTR(p, ptep, ptep, ilog2(_PAGE_GLOBAL)); build_update_entries() 1017 uasm_i_dsrl_safe(p, tmp, tmp, ilog2(_PAGE_GLOBAL)); /* convert to entrylo0 */ build_update_entries() 1019 uasm_i_dsrl_safe(p, ptep, ptep, ilog2(_PAGE_GLOBAL)); /* convert to entrylo1 */ build_update_entries() 1032 UASM_i_ROTR(p, tmp, tmp, ilog2(_PAGE_GLOBAL)); build_update_entries() 1033 UASM_i_ROTR(p, ptep, ptep, ilog2(_PAGE_GLOBAL)); build_update_entries() 1053 UASM_i_ROTR(p, tmp, tmp, ilog2(_PAGE_GLOBAL)); build_update_entries() 1057 UASM_i_ROTR(p, ptep, ptep, ilog2(_PAGE_GLOBAL)); build_update_entries() 1059 UASM_i_SRL(p, tmp, tmp, ilog2(_PAGE_GLOBAL)); /* convert to entrylo0 */ build_update_entries() 1063 UASM_i_SRL(p, ptep, ptep, ilog2(_PAGE_GLOBAL)); /* convert to entrylo1 */ build_update_entries() 1219 uasm_i_drotr(p, even, even, ilog2(_PAGE_GLOBAL)); build_fast_tlb_refill_handler() 1221 uasm_i_drotr(p, odd, odd, ilog2(_PAGE_GLOBAL)); build_fast_tlb_refill_handler() 1223 uasm_i_dsrl_safe(p, even, even, ilog2(_PAGE_GLOBAL)); build_fast_tlb_refill_handler() 1225 uasm_i_dsrl_safe(p, odd, odd, ilog2(_PAGE_GLOBAL)); build_fast_tlb_refill_handler()
|
H A D | ioremap.c | 24 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | __READABLE remap_area_pte()
|
/linux-4.1.27/arch/avr32/include/asm/ |
H A D | pgtable.h | 95 #define _PAGE_GLOBAL (1 << _PAGE_BIT_GLOBAL) macro 142 #define PAGE_KERNEL _PAGE_NORMAL(_PAGE_FLAGS_WRITE | _PAGE_EXECUTE | _PAGE_GLOBAL) 143 #define PAGE_KERNEL_RO _PAGE_NORMAL(_PAGE_FLAGS_READ | _PAGE_EXECUTE | _PAGE_GLOBAL)
|
/linux-4.1.27/arch/arc/include/asm/ |
H A D | pgtable.h | 64 #define _PAGE_GLOBAL (1<<8) /* Page is global (H) */ macro 75 #define _PAGE_GLOBAL (1<<8) /* Page is global (H) */ macro 83 _PAGE_GLOBAL | _PAGE_PRESENT) 121 #define PTE_BITS_IN_PD0 (_PAGE_GLOBAL | _PAGE_PRESENT)
|
/linux-4.1.27/arch/m32r/include/asm/ |
H A D | pgtable.h | 95 #define _PAGE_GLOBAL (1UL << _PAGE_BIT_GLOBAL) macro 136 #define MAKE_GLOBAL(x) __pgprot((x) | _PAGE_GLOBAL)
|
/linux-4.1.27/arch/x86/mm/ |
H A D | pageattr.c | 525 * a non present pmd. The canon_pgprot will clear _PAGE_GLOBAL try_preserve_large_page() 529 pgprot_val(req_prot) |= _PAGE_PSE | _PAGE_GLOBAL; try_preserve_large_page() 531 pgprot_val(req_prot) &= ~(_PAGE_PSE | _PAGE_GLOBAL); try_preserve_large_page() 638 * present pmd/pte. The canon_pgprot will clear _PAGE_GLOBAL __split_large_page() 642 pgprot_val(ref_prot) |= _PAGE_GLOBAL; __split_large_page() 644 pgprot_val(ref_prot) &= ~_PAGE_GLOBAL; __split_large_page() 1162 * _PAGE_GLOBAL for the ancient hardware that doesn't __change_page_attr() 1166 pgprot_val(new_prot) |= _PAGE_GLOBAL; __change_page_attr() 1168 pgprot_val(new_prot) &= ~_PAGE_GLOBAL; __change_page_attr()
|
H A D | init.c | 167 __supported_pte_mask |= _PAGE_GLOBAL; probe_page_size_mask() 169 __supported_pte_mask &= ~_PAGE_GLOBAL; probe_page_size_mask()
|
H A D | dump_pagetables.c | 161 if (pr & _PAGE_GLOBAL) printk_prot()
|
H A D | init_32.c | 541 pteval_t __supported_pte_mask __read_mostly = ~(_PAGE_NX | _PAGE_GLOBAL);
|
/linux-4.1.27/arch/arc/mm/ |
H A D | tlbex.S | 224 and.f 0, r0, _PAGE_GLOBAL 281 or.hs r2, r2, _PAGE_GLOBAL 322 or.hs r2, r2, _PAGE_GLOBAL ; kernel PTE only
|
H A D | tlb.c | 501 if (pte_val(*ptep) & _PAGE_GLOBAL) create_tlb()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | head64.c | 38 pmdval_t early_pmd_flags = __PAGE_KERNEL_LARGE & ~(_PAGE_GLOBAL | _PAGE_NX);
|
H A D | head_64.S | 129 addq $(__PAGE_KERNEL_LARGE_EXEC & ~_PAGE_GLOBAL), %rax
|
/linux-4.1.27/arch/nios2/mm/ |
H A D | ioremap.c | 28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ remap_area_pte()
|
H A D | tlb.c | 190 (tlbacc & _PAGE_GLOBAL ? 'g' : '-'), dump_tlb_line()
|
/linux-4.1.27/arch/cris/arch-v10/mm/ |
H A D | tlb.c | 76 * here we could also check the _PAGE_GLOBAL bit and NOT flush flush_tlb_mm()
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | pgtable_types.h | 42 #define _PAGE_GLOBAL (_AT(pteval_t, 1) << _PAGE_BIT_GLOBAL) macro 145 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)
|
H A D | pgtable.h | 125 return pte_flags(pte) & _PAGE_GLOBAL; pte_global() 238 return pte_set_flags(pte, _PAGE_GLOBAL); pte_mkglobal() 243 return pte_clear_flags(pte, _PAGE_GLOBAL); pte_clrglobal()
|
/linux-4.1.27/arch/tile/include/asm/ |
H A D | pgtable.h | 80 #define _PAGE_GLOBAL HV_PTE_GLOBAL macro 97 _PAGE_GLOBAL | \ 124 (_PAGE_PRESENT | _PAGE_GLOBAL | _PAGE_READABLE | _PAGE_ACCESSED)
|
/linux-4.1.27/arch/mn10300/include/asm/ |
H A D | pgtable.h | 127 #define _PAGE_GLOBAL xPTEL2_G macro 170 #define __PAGE_KERNEL_BASE (_PAGE_PRESENTV | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)
|
/linux-4.1.27/drivers/lguest/ |
H A D | page_tables.c | 216 flags = (pte_flags(gpte) & ~_PAGE_GLOBAL); gpte_to_spte() 1211 set_pte(pte, mk_pte(regs_page, __pgprot(__PAGE_KERNEL & ~_PAGE_GLOBAL))); map_switcher_in_guest() 1223 __pgprot(__PAGE_KERNEL_RO & ~_PAGE_GLOBAL))); map_switcher_in_guest()
|
/linux-4.1.27/arch/hexagon/include/asm/ |
H A D | pgtable.h | 72 * We're not defining _PAGE_GLOBAL here, since there's no concept
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_vm.c | 728 pgprot & _PAGE_GLOBAL ? 'g' : 'l'); drm_vma_info()
|
/linux-4.1.27/arch/x86/xen/ |
H A D | enlighten.c | 1553 __supported_pte_mask &= ~_PAGE_GLOBAL; xen_start_kernel()
|