Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/hexagon/include/asm/
Dpgtable.h47 #define _PAGE_READ __HVM_PTE_R macro
123 _PAGE_READ | _PAGE_EXECUTE | _dflt_cache_att)
126 _PAGE_READ | _PAGE_EXECUTE | _dflt_cache_att)
128 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
130 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \
145 #define __P001 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | CACHEDEF)
151 _PAGE_READ | CACHEDEF)
160 #define __S011 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
167 #define __S111 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
385 return pte_val(pte) & _PAGE_READ; in pte_read()
/Linux-v4.19/arch/arc/include/asm/
Dpgtable.h64 #define _PAGE_READ (1<<5) /* Page has user read perm (H) */ macro
75 #define _PAGE_READ (1<<3) /* Page has user read perm (H) */ macro
98 #define _K_PAGE_PERMS (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ | \
118 #define PAGE_U_R __pgprot(___DEF | _PAGE_READ)
119 #define PAGE_U_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE)
120 #define PAGE_U_X_R __pgprot(___DEF | _PAGE_READ | _PAGE_EXECUTE)
121 #define PAGE_U_X_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE | \
137 #define PTE_BITS_RWX (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ)
302 #define pte_read(pte) (pte_val(pte) & _PAGE_READ)
/Linux-v4.19/arch/sh/include/asm/
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-v4.19/arch/riscv/include/asm/
Dpgtable-bits.h26 #define _PAGE_READ (1 << 1) /* Readable */ macro
41 #define _PAGE_CHG_MASK (~(unsigned long)(_PAGE_PRESENT | _PAGE_READ | \
Dpgtable.h48 #define PAGE_READ __pgprot(_PAGE_BASE | _PAGE_READ)
49 #define PAGE_WRITE __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_WRITE)
51 #define PAGE_READ_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC)
52 #define PAGE_WRITE_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | \
61 #define _PAGE_KERNEL (_PAGE_READ \
202 && (pte_val(pte) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); in pte_huge()
/Linux-v4.19/arch/parisc/include/asm/
Dpgtable.h191 #define _PAGE_READ (1 << xlate_pabit(_PAGE_READ_BIT)) macro
193 #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE)
205 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
207 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED)
231 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_ACCESSED)
235 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_ACCESSED)
237 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESS…
239 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC…
245 …e PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_GATEWAY| _PAGE_READ)
/Linux-v4.19/arch/nios2/include/asm/
Dpgtable.h38 ((r) ? _PAGE_READ : 0) | \
66 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
69 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
181 const unsigned long mask = _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC; in pte_modify()
Dpgtable-bits.h23 #define _PAGE_READ (1<<23) macro
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dpgtable.h23 #define _PAGE_READ 0x00004 /* read access allowed */ macro
24 #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE)
25 #define _PAGE_RWX (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
122 #define _PAGE_KERNEL_RO (_PAGE_PRIVILEGED | _PAGE_READ)
144 _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_EXEC | \
168 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_READ)
169 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC)
170 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_READ)
171 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC)
451 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_READ)); in pte_read()
[all …]
Dhash.h141 mask = cpu_to_be64(_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_READ | _PAGE_WRITE | in hash__ptep_set_access_flags()
/Linux-v4.19/arch/openrisc/include/asm/
Dpgtable.h155 #define _PAGE_READ (_PAGE_URE | _PAGE_SRE) macro
238 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } in pte_read()
254 pte_val(pte) &= ~(_PAGE_READ); in pte_rdprotect()
284 pte_val(pte) |= _PAGE_READ; in pte_mkread()
/Linux-v4.19/arch/s390/include/asm/
Dpgtable.h170 #define _PAGE_READ 0x010 /* SW pte read bit */ macro
399 #define PAGE_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | \
401 #define PAGE_RX __pgprot(_PAGE_PRESENT | _PAGE_READ | \
403 #define PAGE_RW __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
405 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
408 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
410 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
412 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_YOUNG | \
414 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
768 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone()
[all …]
/Linux-v4.19/arch/powerpc/include/asm/
Dpte-common.h211 #ifndef _PAGE_READ
213 #define _PAGE_READ 0 macro
/Linux-v4.19/arch/hexagon/mm/
Dioremap.c31 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE in ioremap_nocache()
/Linux-v4.19/arch/s390/mm/
Dhugetlbpage.c47 rste |= move_set_bit(pte_val(pte), _PAGE_READ, in __pte_to_rste()
104 _PAGE_READ); in __rste_to_pte()
/Linux-v4.19/arch/powerpc/platforms/cell/spufs/
Dfault.c144 access = (_PAGE_PRESENT | _PAGE_READ); in spufs_handle_class1()
/Linux-v4.19/arch/sh/mm/
Dtlb-sh5.c130 ptel |= (_PAGE_CACHABLE | _PAGE_READ | _PAGE_WRITE); in sh64_setup_tlb_slot()
Dgup.c86 result = _PAGE_PRESENT | _PAGE_USER | _PAGE_READ; in gup_pte_range()
/Linux-v4.19/arch/nios2/mm/
Dioremap.c28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in remap_area_pte()
Dtlb.c187 (tlbacc & _PAGE_READ ? 'r' : '-'), in dump_tlb_line()
/Linux-v4.19/drivers/misc/cxl/
Dfault.c167 access = _PAGE_PRESENT | _PAGE_READ; in cxl_handle_mm_fault()
/Linux-v4.19/arch/arc/mm/
Dtlbex.S365 or.nz r2, r2, _PAGE_READ ; chk for Read flag in PTE
/Linux-v4.19/drivers/misc/ocxl/
Dlink.c162 access = _PAGE_PRESENT | _PAGE_READ; in xsl_fault_handler_bh()
/Linux-v4.19/arch/powerpc/platforms/cell/
Dspu_base.c201 _PAGE_PRESENT | _PAGE_READ | _PAGE_PRIVILEGED, in __spu_trap_data_map()
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c115 gpte->may_read = !!(pte & _PAGE_READ); in kvmppc_mmu_radix_xlate()

12