/linux/arch/hexagon/mm/ |
H A D | init.c | 243 _PAGE_READ | CACHEDEF), 247 _PAGE_READ | CACHEDEF), 251 _PAGE_EXECUTE | _PAGE_READ | 256 _PAGE_EXECUTE | _PAGE_READ | 261 _PAGE_READ | CACHEDEF), 265 _PAGE_READ | _PAGE_WRITE | 270 _PAGE_EXECUTE | _PAGE_READ | 276 _PAGE_READ | _PAGE_EXECUTE |
|
/linux/arch/arc/include/asm/ |
H A D | pgtable-bits-arcv2.h | 22 #define _PAGE_READ (1 << 3) /* User Read (H) */ macro 47 #define PAGE_U_R __pgprot(___DEF | _PAGE_READ) 48 #define PAGE_U_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE) 49 #define PAGE_U_X_R __pgprot(___DEF | _PAGE_READ | _PAGE_EXECUTE) 51 | _PAGE_READ | _PAGE_WRITE | _PAGE_EXECUTE) 53 | _PAGE_READ | _PAGE_WRITE | _PAGE_EXECUTE)
|
/linux/arch/powerpc/include/asm/ |
H A D | pgtable-masks.h | 8 #define _PAGE_RO _PAGE_READ 9 #define _PAGE_ROX (_PAGE_READ | _PAGE_EXEC) 10 #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE) 11 #define _PAGE_RWX (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
|
/linux/arch/powerpc/include/asm/nohash/ |
H A D | pte-e500.h | 41 #define _PAGE_READ (_PAGE_BAP_SR | _PAGE_BAP_UR) /* User read permission */ macro 51 #define _PAGE_RO _PAGE_READ 52 #define _PAGE_ROX (_PAGE_READ | _PAGE_BAP_UX) 53 #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE) 54 #define _PAGE_RWX (_PAGE_READ | _PAGE_WRITE | _PAGE_BAP_UX)
|
H A D | pgtable.h | 222 return (pte_val(pte) & _PAGE_READ) == _PAGE_READ; in pte_read()
|
/linux/arch/csky/include/asm/ |
H A 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 | \ 143 return pte.pte_low & _PAGE_READ; in pte_read() 198 if (pte_val(pte) & _PAGE_READ) in pte_mkyoung()
|
/linux/arch/hexagon/include/asm/ |
H A D | pgtable.h | 33 #define _PAGE_READ __HVM_PTE_R macro 112 _PAGE_READ | _PAGE_EXECUTE | _dflt_cache_att) 115 _PAGE_READ | _PAGE_EXECUTE | _dflt_cache_att) 117 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \ 119 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 319 return pte_val(pte) & _PAGE_READ; in pte_read()
|
/linux/arch/riscv/include/asm/ |
H A D | pgtable-bits.h | 12 #define _PAGE_READ (1 << 1) /* Readable */ macro 40 #define _PAGE_LEAF (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
|
H A D | pgtable.h | 173 #define PAGE_NONE __pgprot(_PAGE_PROT_NONE | _PAGE_READ) 174 #define PAGE_READ __pgprot(_PAGE_BASE | _PAGE_READ) 175 #define PAGE_WRITE __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_WRITE) 177 #define PAGE_READ_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) 178 #define PAGE_WRITE_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | \ 186 #define _PAGE_KERNEL (_PAGE_READ \
|
H A D | pgtable-32.h | 32 #define _PAGE_CHG_MASK (~(unsigned long)(_PAGE_PRESENT | _PAGE_READ | \
|
/linux/arch/csky/abiv1/inc/abi/ |
H A D | pgtable-bits.h | 8 #define _PAGE_READ (1<<1) macro 29 #define _PAGE_PROT_NONE _PAGE_READ
|
/linux/arch/nios2/include/asm/ |
H A D | pgtable.h | 38 ((r) ? _PAGE_READ : 0) | \ 50 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \ 53 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \ 155 const unsigned long mask = _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC; in pte_modify()
|
H A D | pgtable-bits.h | 23 #define _PAGE_READ (1<<23) macro
|
/linux/arch/powerpc/mm/ptdump/ |
H A D | book3s64.c | 19 .mask = _PAGE_READ, 20 .val = _PAGE_READ,
|
H A D | shared.c | 14 .mask = _PAGE_READ,
|
/linux/arch/openrisc/include/asm/ |
H A D | pgtable.h | 149 #define _PAGE_READ (_PAGE_URE | _PAGE_SRE) macro 217 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } in pte_read() 231 pte_val(pte) &= ~(_PAGE_READ); in pte_rdprotect() 261 pte_val(pte) |= _PAGE_READ; in pte_mkread()
|
/linux/arch/s390/include/asm/ |
H A D | pgtable.h | 189 #define _PAGE_READ 0x010 /* SW pte read bit */ macro 429 #define PAGE_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 431 #define PAGE_RX __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 433 #define PAGE_RW __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 435 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 438 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 440 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 442 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_YOUNG | \ 444 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 869 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone() [all …]
|
/linux/arch/powerpc/include/asm/nohash/32/ |
H A D | pte-44x.h | 68 #define _PAGE_READ 0x00000008 /* S: Read permission */ macro
|
H A D | pte-85xx.h | 20 #define _PAGE_READ 0x00001 /* H: Read permission (SR) */ macro
|
/linux/arch/csky/abiv2/inc/abi/ |
H A D | pgtable-bits.h | 8 #define _PAGE_READ (1<<8) macro
|
/linux/arch/riscv/mm/ |
H A D | pageattr.c | 351 return __set_memory(addr, numpages, __pgprot(_PAGE_READ | _PAGE_WRITE), in set_memory_rw_nx() 357 return __set_memory(addr, numpages, __pgprot(_PAGE_READ), in set_memory_ro() 363 return __set_memory(addr, numpages, __pgprot(_PAGE_READ | _PAGE_WRITE), in set_memory_rw()
|
/linux/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 23 #define _PAGE_READ 0x004 /* software: read access allowed */ macro 46 #define _PAGE_SWP_EXCLUSIVE _PAGE_READ 386 return !!(pte_val(pte) & _PAGE_READ); in pte_read()
|
/linux/arch/riscv/kernel/ |
H A D | efi.c | 68 val |= _PAGE_READ; in set_permissions()
|
/linux/arch/s390/mm/ |
H A D | hugetlbpage.c | 51 rste |= move_set_bit(pte_val(pte), _PAGE_READ, in __pte_to_rste() 107 pteval |= move_set_bit(rste, _SEGMENT_ENTRY_READ, _PAGE_READ); in __rste_to_pte()
|
/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | fault.c | 120 access = (_PAGE_PRESENT | _PAGE_READ); in spufs_handle_class1()
|