Home
last modified time | relevance | path

Searched refs:_PAGE_USER (Results 1 – 25 of 44) sorted by relevance

12

/linux-2.6.39/arch/powerpc/include/asm/
Dpte-common.h98 _PAGE_USER | _PAGE_ACCESSED | \
125 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
126 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
127 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
128 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
129 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
130 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
179 #define pte_user(val) ((val & _PAGE_USER) == _PAGE_USER)
Dpte-fsl-booke.h22 #define _PAGE_USER 0x00002 /* S: User page (maps to UR) */ macro
Dpte-44x.h85 #define _PAGE_USER 0x00000040 /* S: User page */ macro
Dpte-40x.h45 #define _PAGE_USER 0x010 /* matches one of the zone permission bits */ macro
Dpte-hash32.h22 #define _PAGE_USER 0x004 /* usermode access allowed */ macro
Dpte-8xx.h50 #define _PAGE_USER 0x0800 /* msb PP bits */ macro
Dpte-hash64.h18 #define _PAGE_USER 0x0002 /* matches one of the PP bits */ macro
Dpte-book3e.h56 #define _PAGE_USER (_PAGE_BAP_UR | _PAGE_BAP_SR) /* Can be read */ macro
Dpgtable-ppc32.h191 if ((old & _PAGE_USER) && (old & _PAGE_EXEC)) in pte_update()
222 if ((old & _PAGE_USER) && (old & _PAGE_EXEC)) in pte_update()
/linux-2.6.39/arch/x86/include/asm/
Dpgtable_types.h36 #define _PAGE_USER (_AT(pteval_t, 1) << _PAGE_BIT_USER) macro
67 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
84 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
88 _PAGE_USER | _PAGE_ACCESSED)
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 | \
109 #define __PAGE_KERNEL_VSYSCALL (__PAGE_KERNEL_RX | _PAGE_USER)
Dpgtable.h477 return (pmd_flags(pmd) & ~_PAGE_USER) != _KERNPG_TABLE; in pmd_bad()
524 return (pud_flags(pud) & ~(_KERNPG_TABLE | _PAGE_USER)) != 0; in pud_bad()
563 return (pgd_flags(pgd) & ~_PAGE_USER) != _KERNPG_TABLE; in pgd_bad()
/linux-2.6.39/arch/um/include/asm/
Dpgtable.h17 #define _PAGE_USER 0x040 macro
60 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY)
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)
105 #define pmd_bad(x) ((pmd_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
139 return((pte_get_bits(pte, _PAGE_USER)) && in pte_read()
144 return((pte_get_bits(pte, _PAGE_USER)) && in pte_exec()
219 pte_set_bits(pte, _PAGE_USER); in pte_mkread()
/linux-2.6.39/arch/microblaze/include/asm/
Dpgtable.h218 #define _PAGE_USER 0x010 /* matches one of the zone permission bits */ macro
265 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
266 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
267 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
269 __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
270 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
271 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
345 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } in pte_read()
356 { pte_val(pte) &= ~_PAGE_USER; return pte; } in pte_rdprotect()
367 { pte_val(pte) |= _PAGE_USER; return pte; } in pte_mkread()
[all …]
/linux-2.6.39/arch/xtensa/include/asm/
Dpgtable.h103 #define _PAGE_USER (1<<4) /* user access (ring=1) */ macro
123 #define PAGE_NONE __pgprot(_PAGE_INVALID | _PAGE_USER | _PAGE_PROTNONE)
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)
/linux-2.6.39/arch/tile/include/asm/
Dpgtable.h79 #define _PAGE_USER HV_PTE_USER macro
95 _PAGE_USER \
102 _PAGE_USER | _PAGE_ACCESSED)
106 _PAGE_EXECUTABLE | _PAGE_USER | _PAGE_ACCESSED)
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 | \
/linux-2.6.39/arch/blackfin/include/asm/
Dpgtable.h61 #define _PAGE_USER (CPLB_USER_RD | CPLB_USER_WR) macro
72 PTE_BIT_FUNC(exprotect, &= ~_PAGE_USER);
73 PTE_BIT_FUNC(mkexec, |= _PAGE_USER);
/linux-2.6.39/arch/parisc/include/asm/
Dpgtable.h175 #define _PAGE_USER (1 << xlate_pabit(_PAGE_USER_BIT)) macro
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…
/linux-2.6.39/arch/avr32/include/asm/
Dpgtable.h96 #define _PAGE_USER (1 << _PAGE_BIT_USER) macro
143 #define PAGE_READ (_PAGE_FLAGS_READ | _PAGE_USER)
144 #define PAGE_EXEC (_PAGE_FLAGS_READ | _PAGE_EXECUTE | _PAGE_USER)
145 #define PAGE_WRITE (_PAGE_FLAGS_WRITE | _PAGE_USER)
/linux-2.6.39/arch/sh/include/asm/
Dpgtable_64.h69 #define pmd_bad(pmd_entry) ((pmd_val(pmd_entry) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
120 #define _PAGE_USER 0x200 /* PR3-bit : user space access allowed */ macro
175 #define _PAGE_TABLE (_KERNPG_TABLE | _PAGE_USER)
183 #define _PAGE_COMMON (_PAGE_PRESENT | _PAGE_USER | \
Dpgtable_32.h49 #define _PAGE_USER 0x040 /* PR1-bit : user space access allowed*/ macro
58 #define _PAGE_PR_MASK (_PAGE_RW | _PAGE_USER)
245 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
249 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | \
252 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | \
/linux-2.6.39/arch/x86/mm/
Dgup.c77 mask = _PAGE_PRESENT|_PAGE_USER; in gup_pte_range()
129 mask = _PAGE_PRESENT|_PAGE_USER; in gup_huge_pmd()
199 mask = _PAGE_PRESENT|_PAGE_USER; in gup_huge_pud()
/linux-2.6.39/arch/powerpc/mm/
Dppc_mmu_32.c135 if (flags & _PAGE_USER) in setbat()
151 ((flags & _PAGE_USER)? PP_RWRW: PP_RWXX): PP_RXRX; in setbat()
Dpgtable.c153 (_PAGE_PRESENT | _PAGE_SPECIAL | _PAGE_NO_CACHE | _PAGE_USER)) == in pte_looks_normal()
154 (_PAGE_PRESENT | _PAGE_USER); in pte_looks_normal()
/linux-2.6.39/arch/sh/mm/
Dgup.c85 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/drivers/lguest/
Dpage_tables.c415 if ((errcode & 4) && !(pte_flags(gpte) & _PAGE_USER)) in demand_page()
975 pte = pfn_pte(i, __pgprot(_PAGE_PRESENT|_PAGE_RW|_PAGE_USER)); in setup_pagetables()
988 __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER)); in setup_pagetables()
1017 (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER)); in setup_pagetables()

12