Home
last modified time | relevance | path

Searched refs:_PAGE_READ (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v5.10/arch/hexagon/include/asm/
Dpgtable.h33 #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 | \
342 return pte_val(pte) & _PAGE_READ; in pte_read()
/Linux-v5.10/arch/arc/include/asm/
Dpgtable.h60 #define _PAGE_READ (1<<5) /* Page has user read perm (H) */ macro
71 #define _PAGE_READ (1<<3) /* Page has user read perm (H) */ macro
94 #define _K_PAGE_PERMS (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ | \
114 #define PAGE_U_R __pgprot(___DEF | _PAGE_READ)
115 #define PAGE_U_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE)
116 #define PAGE_U_X_R __pgprot(___DEF | _PAGE_READ | _PAGE_EXECUTE)
117 #define PAGE_U_X_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE | \
133 #define PTE_BITS_RWX (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ)
286 #define pte_read(pte) (pte_val(pte) & _PAGE_READ)
/Linux-v5.10/arch/riscv/include/asm/
Dpgtable-bits.h18 #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 | \
Dpgtable.h82 #define PAGE_READ __pgprot(_PAGE_BASE | _PAGE_READ)
83 #define PAGE_WRITE __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_WRITE)
85 #define PAGE_READ_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC)
86 #define PAGE_WRITE_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | \
95 #define _PAGE_KERNEL (_PAGE_READ \
157 (pmd_val(pmd) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); in pmd_leaf()
229 && (pte_val(pte) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); in pte_huge()
Dpgtable-64.h50 (pud_val(pud) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); in pud_leaf()
/Linux-v5.10/arch/csky/include/asm/
Dpgtable.h44 #define __READABLE (_PAGE_READ | _PAGE_VALID | _PAGE_ACCESSED)
67 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
69 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED)
70 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _CACHE_CACHED)
73 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
163 return pte.pte_low & _PAGE_READ; in pte_read()
218 if (pte_val(pte) & _PAGE_READ) in pte_mkyoung()
/Linux-v5.10/arch/parisc/include/asm/
Dpgtable.h216 #define _PAGE_READ (1 << xlate_pabit(_PAGE_READ_BIT)) macro
218 #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE)
230 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
232 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED)
256 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE)
260 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ)
262 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC)
264 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
270 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ)
/Linux-v5.10/arch/nios2/include/asm/
Dpgtable.h37 ((r) ? _PAGE_READ : 0) | \
65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
68 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
173 const unsigned long mask = _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC; in pte_modify()
Dpgtable-bits.h23 #define _PAGE_READ (1<<23) macro
/Linux-v5.10/arch/powerpc/mm/ptdump/
Dbook3s64.c19 .mask = _PAGE_READ,
20 .val = _PAGE_READ,
/Linux-v5.10/arch/openrisc/include/asm/
Dpgtable.h150 #define _PAGE_READ (_PAGE_URE | _PAGE_SRE) macro
233 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } in pte_read()
247 pte_val(pte) &= ~(_PAGE_READ); in pte_rdprotect()
277 pte_val(pte) |= _PAGE_READ; in pte_mkread()
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/
Dpgtable.h19 #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)
118 #define _PAGE_KERNEL_RO (_PAGE_PRIVILEGED | _PAGE_READ)
149 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_READ)
150 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC)
151 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_READ)
152 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC)
429 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_READ)); in pte_read()
1357 if (!(old_val & _PAGE_READ)) in is_pte_rw_upgrade()
Dhash.h189 mask = cpu_to_be64(_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_READ | _PAGE_WRITE | in hash__ptep_set_access_flags()
/Linux-v5.10/arch/s390/include/asm/
Dpgtable.h173 #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 | \
795 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone()
[all …]
/Linux-v5.10/arch/csky/abiv2/inc/abi/
Dpgtable-bits.h11 #define _PAGE_READ (1<<8) macro
/Linux-v5.10/arch/csky/abiv1/inc/abi/
Dpgtable-bits.h11 #define _PAGE_READ (1<<1) macro
/Linux-v5.10/arch/riscv/mm/
Dpageattr.c133 return __set_memory(addr, numpages, __pgprot(_PAGE_READ), in set_memory_ro()
139 return __set_memory(addr, numpages, __pgprot(_PAGE_READ | _PAGE_WRITE), in set_memory_rw()
Dptdump.c147 .mask = _PAGE_READ,
148 .val = _PAGE_READ,
Dkasan_init.c108 __pgprot(_PAGE_PRESENT | _PAGE_READ | in kasan_init()
/Linux-v5.10/arch/hexagon/mm/
Dioremap.c18 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE in ioremap()
/Linux-v5.10/arch/riscv/kernel/
Defi.c68 val = pte_val(pte) | _PAGE_READ; in set_permissions()
/Linux-v5.10/arch/s390/mm/
Dhugetlbpage.c50 rste |= move_set_bit(pte_val(pte), _PAGE_READ, in __pte_to_rste()
107 _PAGE_READ); in __rste_to_pte()
/Linux-v5.10/arch/powerpc/platforms/cell/spufs/
Dfault.c120 access = (_PAGE_PRESENT | _PAGE_READ); in spufs_handle_class1()
/Linux-v5.10/arch/nios2/mm/
Dioremap.c28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in remap_area_pte()
Dtlb.c197 (tlbacc & _PAGE_READ ? 'r' : '-'), in dump_tlb_line()

12