Home
last modified time | relevance | path

Searched refs:_PAGE_PRESENT (Results 1 – 25 of 91) sorted by relevance

1234

/linux-2.6.39/arch/cris/include/arch-v32/arch/
Dmmu.h55 #define _PAGE_PRESENT (1 << 5) /* Page is present in memory. */ macro
66 #define _PAGE_TABLE (_PAGE_PRESENT | __READABLE | __WRITEABLE)
69 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
70 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \
72 #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \
75 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | __READABLE)
76 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_EXECUTE | _PAGE_ACCESSED)
78 #define PAGE_COPY __pgprot(_PAGE_PRESENT | __READABLE)
79 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_EXECUTE)
81 _PAGE_PRESENT | __READABLE | __WRITEABLE)
[all …]
/linux-2.6.39/arch/mips/mm/
Dcache.c141 …protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
142 protection_map[1] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
143 …protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
144 protection_map[3] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
145 protection_map[4] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_READ); in setup_protection_map()
146 protection_map[5] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
147 protection_map[6] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_READ); in setup_protection_map()
148 protection_map[7] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
150 …protection_map[8] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
151 protection_map[9] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
[all …]
/linux-2.6.39/arch/cris/include/arch-v10/arch/
Dmmu.h60 #define _PAGE_PRESENT (1<<4) /* page present in memory */ macro
72 #define _PAGE_TABLE (_PAGE_PRESENT | __READABLE | __WRITEABLE)
75 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
76 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \
78 #define PAGE_COPY __pgprot(_PAGE_PRESENT | __READABLE) // | _PAGE_COW
79 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | __READABLE)
81 _PAGE_PRESENT | __READABLE | __WRITEABLE)
/linux-2.6.39/drivers/lguest/
Dpage_tables.c68 #define CHECK_GPGD_MASK _PAGE_PRESENT
129 BUG_ON(!(pgd_flags(spgd) & _PAGE_PRESENT)); in spmd_addr()
148 BUG_ON(!(pmd_flags(*pmd) & _PAGE_PRESENT)); in spte_addr()
152 BUG_ON(!(pgd_flags(spgd) & _PAGE_PRESENT)); in spte_addr()
173 BUG_ON(!(pgd_flags(gpgd) & _PAGE_PRESENT)); in gpmd_addr()
183 BUG_ON(!(pmd_flags(gpmd) & _PAGE_PRESENT)); in gpte_addr()
193 BUG_ON(!(pgd_flags(gpgd) & _PAGE_PRESENT)); in gpte_addr()
274 if (pte_flags(pte) & _PAGE_PRESENT) in release_pte()
330 if (!(pgd_flags(gpgd) & _PAGE_PRESENT)) in demand_page()
335 if (!(pgd_flags(*spgd) & _PAGE_PRESENT)) { in demand_page()
[all …]
/linux-2.6.39/arch/sh/include/asm/
Dpgtable_32.h51 #define _PAGE_PRESENT 0x100 /* V-bit : page is valid */ macro
182 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
189 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
198 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
203 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
208 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
217 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
225 __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \
232 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
245 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
[all …]
Dpgtable_64.h66 #define pmd_present(pmd_entry) (pmd_val(pmd_entry) & _PAGE_PRESENT)
112 #define _PAGE_PRESENT 0x004 /* software: page referenced */ macro
135 #define _PAGE_CLEAR_FLAGS (_PAGE_PRESENT | _PAGE_FILE | _PAGE_SHARED | \
169 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
183 #define _PAGE_COMMON (_PAGE_PRESENT | _PAGE_USER | \
204 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
233 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
/linux-2.6.39/arch/m32r/include/asm/
Dpgtable.h97 #define _PAGE_PRESENT (1UL << _PAGE_BIT_PRESENT) macro
108 ( _PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED \
111 ( _PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED \
120 __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED)
122 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_WRITE | _PAGE_READ \
125 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED)
127 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_ACCESSED)
129 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED)
131 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_ACCESSED)
134 ( _PAGE_PRESENT | _PAGE_EXEC | _PAGE_WRITE | _PAGE_READ | _PAGE_DIRTY \
[all …]
/linux-2.6.39/arch/tile/include/asm/
Dpgtable.h71 #define _PAGE_PRESENT HV_PTE_PRESENT macro
87 _PAGE_PRESENT | \
99 __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
101 __pgprot(_PAGE_PRESENT | _PAGE_READABLE | _PAGE_WRITABLE | \
105 __pgprot(_PAGE_PRESENT | _PAGE_READABLE | _PAGE_WRITABLE | \
108 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_READABLE)
110 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | \
115 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_READABLE)
117 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | \
121 (_PAGE_PRESENT | _PAGE_GLOBAL | _PAGE_READABLE | _PAGE_ACCESSED)
[all …]
Dpgalloc.h54 __pgprot(_PAGE_PRESENT))); in pmd_populate_kernel()
61 __pgprot(_PAGE_PRESENT))); in pmd_populate()
/linux-2.6.39/arch/x86/include/asm/
Dpgtable_types.h34 #define _PAGE_PRESENT (_AT(pteval_t, 1) << _PAGE_BIT_PRESENT) macro
67 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
69 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | \
84 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
87 #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | _PAGE_RW | \
89 #define PAGE_COPY_NOEXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
91 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
94 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
96 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
100 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)
Dpgtable.h149 return (pmd_flags(pte) & (_PAGE_PSE | _PAGE_PRESENT)) == in pmd_large()
150 (_PAGE_PSE | _PAGE_PRESENT); in pmd_large()
290 return pmd_clear_flags(pmd, _PAGE_PRESENT); in pmd_mknotpresent()
301 if (protval & _PAGE_PRESENT) in massage_pgprot()
408 return pte_flags(a) & (_PAGE_PRESENT | _PAGE_PROTNONE); in pte_present()
418 return pmd_flags(pmd) & _PAGE_PRESENT; in pmd_present()
496 return pud_flags(pud) & _PAGE_PRESENT; in pud_present()
518 return (pud_val(pud) & (_PAGE_PSE | _PAGE_PRESENT)) == in pud_large()
519 (_PAGE_PSE | _PAGE_PRESENT); in pud_large()
536 return pgd_flags(pgd) & _PAGE_PRESENT; in pgd_present()
/linux-2.6.39/arch/um/include/asm/
Dpgtable.h13 #define _PAGE_PRESENT 0x001 macro
60 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY)
61 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY)
64 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
66 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
67 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
68 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
69 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
107 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
120 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE))
/linux-2.6.39/arch/xtensa/include/asm/
Dpgtable.h119 #define _PAGE_PRESENT (_PAGE_VALID | _PAGE_CA_WB | _PAGE_ACCESSED) macro
124 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER)
125 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
126 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER)
127 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
128 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE)
130 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC)
131 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE)
132 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT|_PAGE_HW_WRITE|_PAGE_HW_EXEC)
/linux-2.6.39/arch/m68k/include/asm/
Dmotorola_pgtable.h8 #define _PAGE_PRESENT 0x001 macro
62 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | mm_cachebits)
63 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
64 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits)
70 #define PAGE_SHARED_C __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
71 #define PAGE_COPY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED)
72 #define PAGE_READONLY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED)
130 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE))
/linux-2.6.39/arch/score/include/asm/
Dpgtable.h133 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
135 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_CACHE)
136 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
138 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHE)
139 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHE)
140 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
142 #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \
255 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
/linux-2.6.39/arch/parisc/include/asm/
Dpgtable.h174 #define _PAGE_PRESENT (1 << xlate_pabit(_PAGE_PRESENT_BIT)) macro
178 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
180 #define _PAGE_KERNEL (_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_A…
200 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
201 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_ACCESSED)
205 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_ACCESSED)
206 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE | _PAGE_ACCESSED)
207 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESS…
209 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC…
213 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_GATEWAY| _PAGE…
[all …]
/linux-2.6.39/arch/mips/include/asm/
Dpgtable.h24 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHABLE_NONCOHERENT)
25 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | (kernel_uses_smartmips_rixi ? 0 : _PAGE_…
27 #define PAGE_COPY __pgprot(_PAGE_PRESENT | (kernel_uses_smartmips_rixi ? 0 : _PAGE_READ) | \
29 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | (kernel_uses_smartmips_rixi ? 0 : _PAGE_READ) | \
31 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
33 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | (kernel_uses_smartmips_rixi ? 0 : _PAGE_READ) | _PAGE_…
35 #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \
103 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT)
139 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
Dpgtable-bits.h37 #define _PAGE_PRESENT (1<<6) /* implemented in software */ macro
55 #define _PAGE_PRESENT (1<<0) /* implemented in software */ macro
81 #define _PAGE_PRESENT (1 << _PAGE_PRESENT_SHIFT) macro
/linux-2.6.39/arch/x86/xen/
Dxen-head.S50 .quad _PAGE_PRESENT; .quad _PAGE_PRESENT)
/linux-2.6.39/arch/m68k/mm/
Dkmap_mm.c156 physaddr |= (_PAGE_PRESENT | _PAGE_GLOBAL040 | in __ioremap()
174 physaddr |= (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_DIRTY); in __ioremap()
267 if (pmd_type == _PAGE_PRESENT) { in __iounmap()
344 if ((pmd_dir->pmd[pmd_off] & _DESCTYPE_MASK) == _PAGE_PRESENT) { in kernel_set_cachemode()
/linux-2.6.39/arch/frv/include/asm/
Dpgtable.h291 #define _PAGE_PRESENT xAMPRx_V macro
307 (_PAGE_PRESENT | xAMPRx_SS_16Kb | xAMPRx_D | _PAGE_NOTGLOBAL | _PAGE_ACCESSED)
324 #define _PAGE_TABLE (_PAGE_PRESENT | xAMPRx_SS_16Kb)
357 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
361 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)
422 #define mk_pte_huge(entry) ((entry).pte_low |= _PAGE_PRESENT | _PAGE_PSE)
/linux-2.6.39/arch/x86/kernel/
Dmachine_kexec_32.c111 if (!(pgd_val(*pgd) & _PAGE_PRESENT)) in machine_kexec_page_table_set_one()
112 set_pgd(pgd, __pgd(__pa(pmd) | _PAGE_PRESENT)); in machine_kexec_page_table_set_one()
116 if (!(pmd_val(*pmd) & _PAGE_PRESENT)) in machine_kexec_page_table_set_one()
/linux-2.6.39/arch/sh/mm/
Dgup.c81 result = _PAGE_PRESENT | _PAGE_EXT(_PAGE_EXT_KERN_READ | _PAGE_EXT_USER_READ); in gup_pte_range()
85 result = _PAGE_PRESENT | _PAGE_USER | _PAGE_READ; in gup_pte_range()
89 result = _PAGE_PRESENT | _PAGE_USER; in gup_pte_range()
/linux-2.6.39/arch/x86/power/
Dhibernate_32.c46 set_pgd(pgd, __pgd(__pa(pmd_table) | _PAGE_PRESENT)); in resume_one_md_table_init()
146 __pgd(__pa(empty_zero_page) | _PAGE_PRESENT)); in resume_init_first_level_page_table()
/linux-2.6.39/arch/mn10300/include/asm/
Dpgtable.h117 #define _PAGE_PRESENT xPTEL2_PV macro
144 #define _PAGE_PRESENTV (_PAGE_PRESENT|_PAGE_VALID)
402 ((entry).pte |= _PAGE_PRESENT | _PAGE_PSE | _PAGE_VALID)
419 ((pmd_val(pmd) & (_PAGE_PSE | _PAGE_PRESENT)) == \
420 (_PAGE_PSE | _PAGE_PRESENT))

1234