/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 | \ 46 #define _PAGE_LEAF (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
|
D | pgtable.h | 125 #define PAGE_READ __pgprot(_PAGE_BASE | _PAGE_READ) 126 #define PAGE_WRITE __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_WRITE) 128 #define PAGE_READ_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) 129 #define PAGE_WRITE_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | \ 138 #define _PAGE_KERNEL (_PAGE_READ \
|
/arch/hexagon/include/asm/ |
D | pgtable.h | 33 #define _PAGE_READ __HVM_PTE_R macro 109 _PAGE_READ | _PAGE_EXECUTE | _dflt_cache_att) 112 _PAGE_READ | _PAGE_EXECUTE | _dflt_cache_att) 114 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \ 116 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 131 #define __P001 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | CACHEDEF) 137 _PAGE_READ | CACHEDEF) 146 #define __S011 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \ 153 #define __S111 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \ 338 return pte_val(pte) & _PAGE_READ; in pte_read()
|
/arch/arc/include/asm/ |
D | pgtable-bits-arcv2.h | 22 #define _PAGE_READ (1 << 3) /* User Read (H) */ macro 44 #define PAGE_U_R __pgprot(___DEF | _PAGE_READ) 45 #define PAGE_U_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE) 46 #define PAGE_U_X_R __pgprot(___DEF | _PAGE_READ | _PAGE_EXECUTE) 48 | _PAGE_READ | _PAGE_WRITE | _PAGE_EXECUTE) 50 | _PAGE_READ | _PAGE_WRITE | _PAGE_EXECUTE)
|
D | mmu-arcv2.h | 66 #define PTE_BITS_RWX (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ)
|
/arch/csky/include/asm/ |
D | pgtable.h | 56 #define PAGE_READ __pgprot(_PAGE_BASE | _PAGE_READ | \ 58 #define PAGE_WRITE __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_WRITE | \ 62 #define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_VALID | \ 67 #define _PAGE_IOREMAP (_PAGE_BASE | _PAGE_READ | _PAGE_VALID | \ 73 (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 162 return pte.pte_low & _PAGE_READ; in pte_read() 217 if (pte_val(pte) & _PAGE_READ) in pte_mkyoung()
|
/arch/csky/abiv1/inc/abi/ |
D | pgtable-bits.h | 8 #define _PAGE_READ (1<<1) macro 26 #define _PAGE_PROT_NONE _PAGE_READ
|
/arch/parisc/include/asm/ |
D | pgtable.h | 209 #define _PAGE_READ (1 << xlate_pabit(_PAGE_READ_BIT)) macro 211 #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE) 223 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED) 225 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED) 247 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE) 251 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ) 253 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC) 255 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC) 261 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ)
|
/arch/nios2/include/asm/ |
D | pgtable.h | 35 ((r) ? _PAGE_READ : 0) | \ 63 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \ 66 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \ 171 const unsigned long mask = _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC; in pte_modify()
|
D | pgtable-bits.h | 23 #define _PAGE_READ (1<<23) macro
|
/arch/powerpc/mm/ptdump/ |
D | book3s64.c | 19 .mask = _PAGE_READ, 20 .val = _PAGE_READ,
|
/arch/riscv/mm/ |
D | pageattr.c | 133 return __set_memory(addr, numpages, __pgprot(_PAGE_READ | _PAGE_WRITE), in set_memory_rw_nx() 139 return __set_memory(addr, numpages, __pgprot(_PAGE_READ), in set_memory_ro() 145 return __set_memory(addr, numpages, __pgprot(_PAGE_READ | _PAGE_WRITE), in set_memory_rw()
|
D | ptdump.c | 174 .mask = _PAGE_READ, 175 .val = _PAGE_READ,
|
D | kasan_init.c | 200 __pgprot(_PAGE_PRESENT | _PAGE_READ | in kasan_init()
|
/arch/openrisc/include/asm/ |
D | pgtable.h | 149 #define _PAGE_READ (_PAGE_URE | _PAGE_SRE) macro 232 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } in pte_read() 246 pte_val(pte) &= ~(_PAGE_READ); in pte_rdprotect() 276 pte_val(pte) |= _PAGE_READ; in pte_mkread()
|
/arch/csky/abiv2/inc/abi/ |
D | pgtable-bits.h | 8 #define _PAGE_READ (1<<8) macro
|
/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 20 #define _PAGE_READ 0x00004 /* read access allowed */ macro 21 #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE) 22 #define _PAGE_RWX (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC) 119 #define _PAGE_KERNEL_RO (_PAGE_PRIVILEGED | _PAGE_READ) 120 #define _PAGE_KERNEL_ROX (_PAGE_PRIVILEGED | _PAGE_READ | _PAGE_EXEC) 151 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_READ) 152 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) 153 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_READ) 154 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) 452 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_READ)); in pte_read() [all …]
|
D | hash.h | 189 mask = cpu_to_be64(_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_READ | _PAGE_WRITE | in hash__ptep_set_access_flags()
|
/arch/hexagon/mm/ |
D | ioremap.c | 18 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE in ioremap()
|
/arch/s390/include/asm/ |
D | pgtable.h | 173 #define _PAGE_READ 0x010 /* SW pte read bit */ macro 401 #define PAGE_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 403 #define PAGE_RX __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 405 #define PAGE_RW __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 407 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 410 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 412 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 414 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_YOUNG | \ 416 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 790 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone() [all …]
|
/arch/riscv/kernel/ |
D | efi.c | 68 val |= _PAGE_READ; in set_permissions()
|
/arch/powerpc/platforms/cell/spufs/ |
D | fault.c | 120 access = (_PAGE_PRESENT | _PAGE_READ); in spufs_handle_class1()
|
/arch/s390/mm/ |
D | hugetlbpage.c | 50 rste |= move_set_bit(pte_val(pte), _PAGE_READ, in __pte_to_rste() 107 _PAGE_READ); in __rste_to_pte()
|
/arch/nios2/mm/ |
D | ioremap.c | 28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in remap_area_pte()
|
D | tlb.c | 197 (tlbacc & _PAGE_READ ? 'r' : '-'), in dump_tlb_line()
|