_PAGE_READ 95 arch/arc/include/asm/pgtable.h #define _K_PAGE_PERMS (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ | \ _PAGE_READ 115 arch/arc/include/asm/pgtable.h #define PAGE_U_R __pgprot(___DEF | _PAGE_READ) _PAGE_READ 116 arch/arc/include/asm/pgtable.h #define PAGE_U_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE) _PAGE_READ 117 arch/arc/include/asm/pgtable.h #define PAGE_U_X_R __pgprot(___DEF | _PAGE_READ | _PAGE_EXECUTE) _PAGE_READ 118 arch/arc/include/asm/pgtable.h #define PAGE_U_X_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE | \ _PAGE_READ 134 arch/arc/include/asm/pgtable.h #define PTE_BITS_RWX (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ) _PAGE_READ 299 arch/arc/include/asm/pgtable.h #define pte_read(pte) (pte_val(pte) & _PAGE_READ) _PAGE_READ 55 arch/csky/include/asm/pgtable.h #define __READABLE (_PAGE_READ | _PAGE_VALID | _PAGE_ACCESSED) _PAGE_READ 80 arch/csky/include/asm/pgtable.h #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ _PAGE_READ 82 arch/csky/include/asm/pgtable.h #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED) _PAGE_READ 83 arch/csky/include/asm/pgtable.h #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED) _PAGE_READ 86 arch/csky/include/asm/pgtable.h #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ _PAGE_READ 175 arch/csky/include/asm/pgtable.h return pte.pte_low & _PAGE_READ; _PAGE_READ 230 arch/csky/include/asm/pgtable.h if (pte_val(pte) & _PAGE_READ) _PAGE_READ 110 arch/hexagon/include/asm/pgtable.h _PAGE_READ | _PAGE_EXECUTE | _dflt_cache_att) _PAGE_READ 113 arch/hexagon/include/asm/pgtable.h _PAGE_READ | _PAGE_EXECUTE | _dflt_cache_att) _PAGE_READ 115 arch/hexagon/include/asm/pgtable.h #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \ _PAGE_READ 117 arch/hexagon/include/asm/pgtable.h #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \ _PAGE_READ 132 arch/hexagon/include/asm/pgtable.h #define __P001 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | CACHEDEF) _PAGE_READ 138 arch/hexagon/include/asm/pgtable.h _PAGE_READ | CACHEDEF) _PAGE_READ 147 arch/hexagon/include/asm/pgtable.h #define __S011 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \ _PAGE_READ 154 arch/hexagon/include/asm/pgtable.h #define __S111 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \ _PAGE_READ 372 arch/hexagon/include/asm/pgtable.h return pte_val(pte) & _PAGE_READ; _PAGE_READ 18 arch/hexagon/mm/ioremap.c pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE _PAGE_READ 38 arch/nios2/include/asm/pgtable.h ((r) ? _PAGE_READ : 0) | \ _PAGE_READ 66 arch/nios2/include/asm/pgtable.h #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \ _PAGE_READ 69 arch/nios2/include/asm/pgtable.h #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \ _PAGE_READ 181 arch/nios2/include/asm/pgtable.h const unsigned long mask = _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC; _PAGE_READ 28 arch/nios2/mm/ioremap.c pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ _PAGE_READ 198 arch/nios2/mm/tlb.c (tlbacc & _PAGE_READ ? 'r' : '-'), _PAGE_READ 234 arch/openrisc/include/asm/pgtable.h static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } _PAGE_READ 250 arch/openrisc/include/asm/pgtable.h pte_val(pte) &= ~(_PAGE_READ); _PAGE_READ 280 arch/openrisc/include/asm/pgtable.h pte_val(pte) |= _PAGE_READ; _PAGE_READ 214 arch/parisc/include/asm/pgtable.h #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE) _PAGE_READ 226 arch/parisc/include/asm/pgtable.h #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED) _PAGE_READ 228 arch/parisc/include/asm/pgtable.h #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED) _PAGE_READ 252 arch/parisc/include/asm/pgtable.h #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE) _PAGE_READ 256 arch/parisc/include/asm/pgtable.h #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ) _PAGE_READ 258 arch/parisc/include/asm/pgtable.h #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC) _PAGE_READ 260 arch/parisc/include/asm/pgtable.h #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC) _PAGE_READ 266 arch/parisc/include/asm/pgtable.h #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ) _PAGE_READ 189 arch/powerpc/include/asm/book3s/64/hash.h mask = cpu_to_be64(_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_READ | _PAGE_WRITE | _PAGE_READ 20 arch/powerpc/include/asm/book3s/64/pgtable.h #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE) _PAGE_READ 21 arch/powerpc/include/asm/book3s/64/pgtable.h #define _PAGE_RWX (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC) _PAGE_READ 117 arch/powerpc/include/asm/book3s/64/pgtable.h #define _PAGE_KERNEL_RO (_PAGE_PRIVILEGED | _PAGE_READ) _PAGE_READ 150 arch/powerpc/include/asm/book3s/64/pgtable.h #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_READ) _PAGE_READ 151 arch/powerpc/include/asm/book3s/64/pgtable.h #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) _PAGE_READ 152 arch/powerpc/include/asm/book3s/64/pgtable.h #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_READ) _PAGE_READ 153 arch/powerpc/include/asm/book3s/64/pgtable.h #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) _PAGE_READ 423 arch/powerpc/include/asm/book3s/64/pgtable.h return !!(pte_raw(pte) & cpu_to_be64(_PAGE_READ)); _PAGE_READ 1347 arch/powerpc/include/asm/book3s/64/pgtable.h if (!(old_val & _PAGE_READ)) _PAGE_READ 200 arch/powerpc/kvm/book3s_64_mmu_radix.c gpte->may_read = !!(pte & _PAGE_READ); _PAGE_READ 1388 arch/powerpc/kvm/book3s_hv_nested.c perm |= gpte.may_read ? 0UL : _PAGE_READ; _PAGE_READ 1466 arch/powerpc/mm/book3s64/hash_utils.c unsigned long access = _PAGE_PRESENT | _PAGE_READ; _PAGE_READ 1530 arch/powerpc/mm/book3s64/hash_utils.c unsigned long access = _PAGE_PRESENT | _PAGE_READ | (is_exec ? _PAGE_EXEC : 0); _PAGE_READ 19 arch/powerpc/mm/ptdump/book3s64.c .mask = _PAGE_READ, _PAGE_READ 20 arch/powerpc/mm/ptdump/book3s64.c .val = _PAGE_READ, _PAGE_READ 188 arch/powerpc/platforms/cell/spu_base.c _PAGE_PRESENT | _PAGE_READ | _PAGE_PRIVILEGED, _PAGE_READ 120 arch/powerpc/platforms/cell/spufs/fault.c access = (_PAGE_PRESENT | _PAGE_READ); _PAGE_READ 34 arch/riscv/include/asm/pgtable-bits.h #define _PAGE_PROT_NONE _PAGE_READ _PAGE_READ 39 arch/riscv/include/asm/pgtable-bits.h #define _PAGE_CHG_MASK (~(unsigned long)(_PAGE_PRESENT | _PAGE_READ | \ _PAGE_READ 41 arch/riscv/include/asm/pgtable.h #define PAGE_READ __pgprot(_PAGE_BASE | _PAGE_READ) _PAGE_READ 42 arch/riscv/include/asm/pgtable.h #define PAGE_WRITE __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_WRITE) _PAGE_READ 44 arch/riscv/include/asm/pgtable.h #define PAGE_READ_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) _PAGE_READ 45 arch/riscv/include/asm/pgtable.h #define PAGE_WRITE_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | \ _PAGE_READ 54 arch/riscv/include/asm/pgtable.h #define _PAGE_KERNEL (_PAGE_READ \ _PAGE_READ 227 arch/riscv/include/asm/pgtable.h && (pte_val(pte) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); _PAGE_READ 8 arch/riscv/mm/hugetlbpage.c (pud_val(pud) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); _PAGE_READ 14 arch/riscv/mm/hugetlbpage.c (pmd_val(pmd) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); _PAGE_READ 403 arch/s390/include/asm/pgtable.h #define PAGE_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | \ _PAGE_READ 405 arch/s390/include/asm/pgtable.h #define PAGE_RX __pgprot(_PAGE_PRESENT | _PAGE_READ | \ _PAGE_READ 407 arch/s390/include/asm/pgtable.h #define PAGE_RW __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ _PAGE_READ 409 arch/s390/include/asm/pgtable.h #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ _PAGE_READ 412 arch/s390/include/asm/pgtable.h #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ _PAGE_READ 414 arch/s390/include/asm/pgtable.h #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ _PAGE_READ 416 arch/s390/include/asm/pgtable.h #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_YOUNG | \ _PAGE_READ 418 arch/s390/include/asm/pgtable.h #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ _PAGE_READ 814 arch/s390/include/asm/pgtable.h return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); _PAGE_READ 930 arch/s390/include/asm/pgtable.h if ((pte_val(pte) & _PAGE_YOUNG) && (pte_val(pte) & _PAGE_READ)) _PAGE_READ 981 arch/s390/include/asm/pgtable.h if (pte_val(pte) & _PAGE_READ) _PAGE_READ 1144 arch/s390/mm/gmap.c if (pte_present(pte) && (pte_val(pte) & _PAGE_READ)) { _PAGE_READ 50 arch/s390/mm/hugetlbpage.c rste |= move_set_bit(pte_val(pte), _PAGE_READ, _PAGE_READ 107 arch/s390/mm/hugetlbpage.c _PAGE_READ); _PAGE_READ 165 arch/sh/include/asm/pgtable.h u64 prot = _PAGE_PRESENT | _PAGE_USER | _PAGE_READ; _PAGE_READ 162 arch/sh/include/asm/pgtable_64.h #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ _PAGE_READ 180 arch/sh/include/asm/pgtable_64.h #define PAGE_SHARED __pgprot(_PAGE_COMMON | _PAGE_READ | _PAGE_WRITE | \ _PAGE_READ 182 arch/sh/include/asm/pgtable_64.h #define PAGE_EXECREAD __pgprot(_PAGE_COMMON | _PAGE_READ | _PAGE_EXECUTE) _PAGE_READ 190 arch/sh/include/asm/pgtable_64.h #define PAGE_READONLY __pgprot(_PAGE_COMMON | _PAGE_READ) _PAGE_READ 192 arch/sh/include/asm/pgtable_64.h #define PAGE_RWX __pgprot(_PAGE_COMMON | _PAGE_READ | \ _PAGE_READ 197 arch/sh/include/asm/pgtable_64.h __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ _PAGE_READ 130 arch/sh/mm/tlb-sh5.c ptel |= (_PAGE_CACHABLE | _PAGE_READ | _PAGE_WRITE); _PAGE_READ 163 drivers/misc/cxl/fault.c access = _PAGE_PRESENT | _PAGE_READ; _PAGE_READ 162 drivers/misc/ocxl/link.c access = _PAGE_PRESENT | _PAGE_READ;