/Linux-v4.19/arch/hexagon/include/asm/ |
D | pgtable.h | 47 #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/ |
D | pgtable.h | 64 #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/ |
D | pgtable_64.h | 113 #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/ |
D | pgtable-bits.h | 26 #define _PAGE_READ (1 << 1) /* Readable */ macro 41 #define _PAGE_CHG_MASK (~(unsigned long)(_PAGE_PRESENT | _PAGE_READ | \
|
D | pgtable.h | 48 #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/ |
D | pgtable.h | 191 #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/ |
D | pgtable.h | 38 ((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()
|
D | pgtable-bits.h | 23 #define _PAGE_READ (1<<23) macro
|
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 23 #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 …]
|
D | hash.h | 141 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/ |
D | pgtable.h | 155 #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/ |
D | pgtable.h | 170 #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/ |
D | pte-common.h | 211 #ifndef _PAGE_READ 213 #define _PAGE_READ 0 macro
|
/Linux-v4.19/arch/hexagon/mm/ |
D | ioremap.c | 31 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE in ioremap_nocache()
|
/Linux-v4.19/arch/s390/mm/ |
D | hugetlbpage.c | 47 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/ |
D | fault.c | 144 access = (_PAGE_PRESENT | _PAGE_READ); in spufs_handle_class1()
|
/Linux-v4.19/arch/sh/mm/ |
D | tlb-sh5.c | 130 ptel |= (_PAGE_CACHABLE | _PAGE_READ | _PAGE_WRITE); in sh64_setup_tlb_slot()
|
D | gup.c | 86 result = _PAGE_PRESENT | _PAGE_USER | _PAGE_READ; in gup_pte_range()
|
/Linux-v4.19/arch/nios2/mm/ |
D | ioremap.c | 28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in remap_area_pte()
|
D | tlb.c | 187 (tlbacc & _PAGE_READ ? 'r' : '-'), in dump_tlb_line()
|
/Linux-v4.19/drivers/misc/cxl/ |
D | fault.c | 167 access = _PAGE_PRESENT | _PAGE_READ; in cxl_handle_mm_fault()
|
/Linux-v4.19/arch/arc/mm/ |
D | tlbex.S | 365 or.nz r2, r2, _PAGE_READ ; chk for Read flag in PTE
|
/Linux-v4.19/drivers/misc/ocxl/ |
D | link.c | 162 access = _PAGE_PRESENT | _PAGE_READ; in xsl_fault_handler_bh()
|
/Linux-v4.19/arch/powerpc/platforms/cell/ |
D | spu_base.c | 201 _PAGE_PRESENT | _PAGE_READ | _PAGE_PRIVILEGED, in __spu_trap_data_map()
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | book3s_64_mmu_radix.c | 115 gpte->may_read = !!(pte & _PAGE_READ); in kvmppc_mmu_radix_xlate()
|