Searched refs:_PAGE_READ (Results 1 - 25 of 25) sorted by relevance

/linux-4.1.27/arch/score/include/asm/
H A Dpgtable-bits.h5 #define _PAGE_READ (1<<6) /* implemented in software */ macro
19 #define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED)
H A Dpgtable.h124 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
126 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHE)
127 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHE)
231 if (pte_val(pte) & _PAGE_READ) pte_mkyoung()
/linux-4.1.27/arch/m32r/include/asm/
H A Dpgtable.h99 #define _PAGE_READ (1UL << _PAGE_BIT_READ) macro
105 ( _PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED \
108 ( _PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED \
117 __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED)
119 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_WRITE | _PAGE_READ \
122 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED)
124 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_ACCESSED)
126 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED)
128 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_ACCESSED)
131 ( _PAGE_PRESENT | _PAGE_EXEC | _PAGE_WRITE | _PAGE_READ | _PAGE_DIRTY \
/linux-4.1.27/arch/nios2/include/asm/
H A Dpgtable-bits.h23 #define _PAGE_READ (1<<23) macro
H A Dpgtable.h37 ((r) ? _PAGE_READ : 0) | \
65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
68 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
180 const unsigned long mask = _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC; pte_modify()
/linux-4.1.27/arch/mips/include/asm/
H A Dpgtable-bits.h59 #define _PAGE_READ (1 << _PAGE_READ_SHIFT) macro
82 #define _PAGE_READ (1 << _PAGE_READ_SHIFT) macro
115 /* R2 or later cores check for RI/XI support to determine _PAGE_READ */
121 #define _PAGE_READ (1 << _PAGE_READ_SHIFT) macro
156 #define _PAGE_READ (cpu_has_rixi ? 0 : (1 << _PAGE_READ_SHIFT)) macro
284 #define __READABLE (_PAGE_SILENT_READ | _PAGE_READ | _PAGE_ACCESSED)
H A Dpgtable.h27 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | \
29 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_NO_EXEC | \
31 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | \
37 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
329 if (pte.pte_low & _PAGE_READ) pte_mkyoung()
380 if (pte_val(pte) & _PAGE_READ) pte_mkyoung()
582 if (pmd_val(pmd) & _PAGE_READ) pmd_mkyoung()
/linux-4.1.27/arch/hexagon/include/asm/
H A Dpgtable.h48 #define _PAGE_READ __HVM_PTE_R macro
124 _PAGE_READ | _PAGE_EXECUTE | _dflt_cache_att)
127 _PAGE_READ | _PAGE_EXECUTE | _dflt_cache_att)
129 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
131 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \
146 #define __P001 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | CACHEDEF)
152 _PAGE_READ | CACHEDEF)
161 #define __S011 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
168 #define __S111 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
386 return pte_val(pte) & _PAGE_READ; pte_read()
/linux-4.1.27/arch/arc/include/asm/
H A Dpgtable.h62 #define _PAGE_READ (1<<5) /* Page has user read perm (H) */ macro
72 #define _PAGE_READ (1<<3) /* Page has user read perm (H) */ macro
82 #define _K_PAGE_PERMS (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ | \
103 #define PAGE_U_R __pgprot(___DEF | _PAGE_READ)
104 #define PAGE_U_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE)
105 #define PAGE_U_X_R __pgprot(___DEF | _PAGE_READ | _PAGE_EXECUTE)
106 #define PAGE_U_X_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE | \
122 #define PTE_BITS_RWX (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ)
286 #define pte_read(pte) (pte_val(pte) & _PAGE_READ)
/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Dmmu.h63 #define _PAGE_READ (1<<7) /* read-enabled */ macro
68 #define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED)
/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Dmmu.h58 #define _PAGE_READ (1 << 8) /* Read enabled. */ macro
62 #define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED)
/linux-4.1.27/arch/hexagon/mm/
H A Dioremap.c31 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE ioremap_nocache()
/linux-4.1.27/arch/sh/include/asm/
H A Dpgtable_64.h113 #define _PAGE_READ 0x040 /* PR0-bit : read access allowed */ macro
165 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
183 #define PAGE_SHARED __pgprot(_PAGE_COMMON | _PAGE_READ | _PAGE_WRITE | \
185 #define PAGE_EXECREAD __pgprot(_PAGE_COMMON | _PAGE_READ | _PAGE_EXECUTE)
193 #define PAGE_READONLY __pgprot(_PAGE_COMMON | _PAGE_READ)
195 #define PAGE_RWX __pgprot(_PAGE_COMMON | _PAGE_READ | \
200 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
/linux-4.1.27/arch/parisc/include/asm/
H A Dpgtable.h186 #define _PAGE_READ (1 << xlate_pabit(_PAGE_READ_BIT)) macro
188 #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE)
199 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
201 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED)
225 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_ACCESSED)
229 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_ACCESSED)
231 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESSED)
233 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC |_PAGE_ACCESSED)
239 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_GATEWAY| _PAGE_READ)
/linux-4.1.27/arch/m32r/mm/
H A Dioremap.c77 pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ __ioremap()
/linux-4.1.27/arch/openrisc/include/asm/
H A Dpgtable.h154 #define _PAGE_READ (_PAGE_URE | _PAGE_SRE) macro
237 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } pte_write()
253 pte_val(pte) &= ~(_PAGE_READ); pte_rdprotect()
283 pte_val(pte) |= _PAGE_READ; pte_mkread()
/linux-4.1.27/arch/sh/mm/
H A Dtlb-sh5.c130 ptel |= (_PAGE_CACHABLE | _PAGE_READ | _PAGE_WRITE); sh64_setup_tlb_slot()
H A Dgup.c85 result = _PAGE_PRESENT | _PAGE_USER | _PAGE_READ; gup_pte_range()
/linux-4.1.27/arch/s390/mm/
H A Dhugetlbpage.c37 pmd_val(pmd) |= (pte_val(pte) & _PAGE_READ) >> 4; __pte_to_pmd()
/linux-4.1.27/arch/nios2/mm/
H A Dioremap.c28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ remap_area_pte()
H A Dtlb.c187 (tlbacc & _PAGE_READ ? 'r' : '-'), dump_tlb_line()
/linux-4.1.27/arch/s390/include/asm/
H A Dpgtable.h190 #define _PAGE_READ 0x010 /* SW pte read bit */ macro
340 #define PAGE_READ __pgprot(_PAGE_PRESENT | _PAGE_READ | \
342 #define PAGE_WRITE __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
345 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
347 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
349 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_YOUNG | \
844 if ((pte_val(pte) & _PAGE_YOUNG) && (pte_val(pte) & _PAGE_READ)) pte_modify()
895 if (pte_val(pte) & _PAGE_READ) pte_mkyoung()
/linux-4.1.27/arch/cris/include/asm/
H A Dpgtable.h156 if (pte_val(pte) & _PAGE_READ) pte_mkyoung()
/linux-4.1.27/arch/parisc/kernel/
H A Dentry.S530 * Finally, _PAGE_READ goes in the top bit of PL1 (so we
537 * contains _PAGE_READ) */
615 * to type field and _PAGE_READ goes to top bit of PL1
617 ldi (_PAGE_REFTRAP|_PAGE_READ|_PAGE_WRITE),\prot
624 ldi (_PAGE_DIRTY|_PAGE_READ|_PAGE_WRITE),\prot
/linux-4.1.27/arch/arc/mm/
H A Dtlbex.S331 or.nz r2, r2, _PAGE_READ ; chk for Read flag in PTE

Completed in 452 milliseconds