| /Linux-v5.4/arch/hexagon/include/asm/ |
| D | pgtable.h | 34 #define _PAGE_READ __HVM_PTE_R macro 110 _PAGE_READ | _PAGE_EXECUTE | _dflt_cache_att) 113 _PAGE_READ | _PAGE_EXECUTE | _dflt_cache_att) 115 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \ 117 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 132 #define __P001 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | CACHEDEF) 138 _PAGE_READ | CACHEDEF) 147 #define __S011 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \ 154 #define __S111 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \ 372 return pte_val(pte) & _PAGE_READ; in pte_read()
|
| /Linux-v5.4/arch/arc/include/asm/ |
| D | pgtable.h | 61 #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 95 #define _K_PAGE_PERMS (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ | \ 115 #define PAGE_U_R __pgprot(___DEF | _PAGE_READ) 116 #define PAGE_U_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE) 117 #define PAGE_U_X_R __pgprot(___DEF | _PAGE_READ | _PAGE_EXECUTE) 118 #define PAGE_U_X_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE | \ 134 #define PTE_BITS_RWX (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ) 299 #define pte_read(pte) (pte_val(pte) & _PAGE_READ)
|
| /Linux-v5.4/arch/riscv/include/asm/ |
| D | pgtable-bits.h | 18 #define _PAGE_READ (1 << 1) /* Readable */ macro 34 #define _PAGE_PROT_NONE _PAGE_READ 39 #define _PAGE_CHG_MASK (~(unsigned long)(_PAGE_PRESENT | _PAGE_READ | \
|
| D | pgtable.h | 41 #define PAGE_READ __pgprot(_PAGE_BASE | _PAGE_READ) 42 #define PAGE_WRITE __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_WRITE) 44 #define PAGE_READ_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) 45 #define PAGE_WRITE_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | \ 54 #define _PAGE_KERNEL (_PAGE_READ \ 227 && (pte_val(pte) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); in pte_huge()
|
| /Linux-v5.4/arch/sh/include/asm/ |
| D | pgtable_64.h | 110 #define _PAGE_READ 0x040 /* PR0-bit : read access allowed */ macro 162 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 180 #define PAGE_SHARED __pgprot(_PAGE_COMMON | _PAGE_READ | _PAGE_WRITE | \ 182 #define PAGE_EXECREAD __pgprot(_PAGE_COMMON | _PAGE_READ | _PAGE_EXECUTE) 190 #define PAGE_READONLY __pgprot(_PAGE_COMMON | _PAGE_READ) 192 #define PAGE_RWX __pgprot(_PAGE_COMMON | _PAGE_READ | \ 197 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
|
| D | pgtable.h | 165 u64 prot = _PAGE_PRESENT | _PAGE_USER | _PAGE_READ; in pte_access_permitted()
|
| /Linux-v5.4/arch/csky/include/asm/ |
| D | pgtable.h | 55 #define __READABLE (_PAGE_READ | _PAGE_VALID | _PAGE_ACCESSED) 80 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 82 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED) 83 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED) 86 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 175 return pte.pte_low & _PAGE_READ; in pte_read() 230 if (pte_val(pte) & _PAGE_READ) in pte_mkyoung()
|
| /Linux-v5.4/arch/parisc/include/asm/ |
| D | pgtable.h | 212 #define _PAGE_READ (1 << xlate_pabit(_PAGE_READ_BIT)) macro 214 #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE) 226 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED) 228 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED) 252 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE) 256 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ) 258 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC) 260 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC) 266 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ)
|
| /Linux-v5.4/arch/riscv/mm/ |
| D | hugetlbpage.c | 8 (pud_val(pud) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); in pud_huge() 14 (pmd_val(pmd) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); in pmd_huge()
|
| /Linux-v5.4/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-v5.4/arch/powerpc/mm/ptdump/ |
| D | book3s64.c | 19 .mask = _PAGE_READ, 20 .val = _PAGE_READ,
|
| /Linux-v5.4/arch/openrisc/include/asm/ |
| D | pgtable.h | 151 #define _PAGE_READ (_PAGE_URE | _PAGE_SRE) macro 234 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } in pte_read() 250 pte_val(pte) &= ~(_PAGE_READ); in pte_rdprotect() 280 pte_val(pte) |= _PAGE_READ; in pte_mkread()
|
| /Linux-v5.4/arch/s390/include/asm/ |
| D | pgtable.h | 171 #define _PAGE_READ 0x010 /* SW pte read bit */ macro 403 #define PAGE_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 405 #define PAGE_RX __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 407 #define PAGE_RW __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 409 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 412 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 414 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 416 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_YOUNG | \ 418 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 808 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone() [all …]
|
| /Linux-v5.4/arch/powerpc/include/asm/book3s/64/ |
| D | pgtable.h | 19 #define _PAGE_READ 0x00004 /* read access allowed */ macro 20 #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE) 21 #define _PAGE_RWX (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC) 117 #define _PAGE_KERNEL_RO (_PAGE_PRIVILEGED | _PAGE_READ) 150 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_READ) 151 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) 152 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_READ) 153 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) 423 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_READ)); in pte_read() 1345 if (!(old_val & _PAGE_READ)) in is_pte_rw_upgrade()
|
| D | hash.h | 189 mask = cpu_to_be64(_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_READ | _PAGE_WRITE | in hash__ptep_set_access_flags()
|
| /Linux-v5.4/arch/csky/abiv2/inc/abi/ |
| D | pgtable-bits.h | 11 #define _PAGE_READ (1<<8) macro
|
| /Linux-v5.4/arch/csky/abiv1/inc/abi/ |
| D | pgtable-bits.h | 11 #define _PAGE_READ (1<<1) macro
|
| /Linux-v5.4/arch/hexagon/mm/ |
| D | ioremap.c | 18 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE in ioremap_nocache()
|
| /Linux-v5.4/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-v5.4/arch/powerpc/platforms/cell/spufs/ |
| D | fault.c | 120 access = (_PAGE_PRESENT | _PAGE_READ); in spufs_handle_class1()
|
| /Linux-v5.4/arch/sh/mm/ |
| D | tlb-sh5.c | 130 ptel |= (_PAGE_CACHABLE | _PAGE_READ | _PAGE_WRITE); in sh64_setup_tlb_slot()
|
| /Linux-v5.4/arch/nios2/mm/ |
| D | ioremap.c | 28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in remap_area_pte()
|
| D | tlb.c | 198 (tlbacc & _PAGE_READ ? 'r' : '-'), in dump_tlb_line()
|
| /Linux-v5.4/drivers/misc/cxl/ |
| D | fault.c | 163 access = _PAGE_PRESENT | _PAGE_READ; in cxl_handle_mm_fault()
|