Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/hexagon/mm/
Dinit.c242 _PAGE_READ | CACHEDEF),
246 _PAGE_READ | CACHEDEF),
250 _PAGE_EXECUTE | _PAGE_READ |
255 _PAGE_EXECUTE | _PAGE_READ |
260 _PAGE_READ | CACHEDEF),
264 _PAGE_READ | _PAGE_WRITE |
269 _PAGE_EXECUTE | _PAGE_READ |
275 _PAGE_READ | _PAGE_EXECUTE |
Dioremap.c18 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE in ioremap()
/linux-6.1.9/arch/arc/include/asm/
Dpgtable-bits-arcv2.h22 #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)
Dmmu-arcv2.h66 #define PTE_BITS_RWX (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ)
/linux-6.1.9/arch/csky/include/asm/
Dpgtable.h55 #define PAGE_READ __pgprot(_PAGE_BASE | _PAGE_READ | \
57 #define PAGE_WRITE __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_WRITE | \
61 #define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_VALID | \
66 #define _PAGE_IOREMAP (_PAGE_BASE | _PAGE_READ | _PAGE_VALID | \
72 (_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-6.1.9/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 | \
316 return pte_val(pte) & _PAGE_READ; in pte_read()
/linux-6.1.9/arch/parisc/include/asm/
Dpgtable.h214 #define _PAGE_READ (1 << xlate_pabit(_PAGE_READ_BIT)) macro
216 #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE)
229 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED)
231 #define _PAGE_KERNEL_RO (_PAGE_PRESENT | _PAGE_READ | _PAGE_DIRTY | _PAGE_ACCESSED)
253 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE)
257 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ)
259 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC)
261 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
267 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ)
/linux-6.1.9/arch/riscv/include/asm/
Dpgtable-bits.h12 #define _PAGE_READ (1 << 1) /* Readable */ macro
36 #define _PAGE_LEAF (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
Dpgtable.h155 #define PAGE_NONE __pgprot(_PAGE_PROT_NONE | _PAGE_READ)
156 #define PAGE_READ __pgprot(_PAGE_BASE | _PAGE_READ)
157 #define PAGE_WRITE __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_WRITE)
159 #define PAGE_READ_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC)
160 #define PAGE_WRITE_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | \
169 #define _PAGE_KERNEL (_PAGE_READ \
Dpgtable-32.h32 #define _PAGE_CHG_MASK (~(unsigned long)(_PAGE_PRESENT | _PAGE_READ | \
/linux-6.1.9/arch/csky/abiv1/inc/abi/
Dpgtable-bits.h8 #define _PAGE_READ (1<<1) macro
26 #define _PAGE_PROT_NONE _PAGE_READ
/linux-6.1.9/arch/nios2/include/asm/
Dpgtable.h35 ((r) ? _PAGE_READ : 0) | \
47 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
50 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
152 const unsigned long mask = _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC; in pte_modify()
Dpgtable-bits.h23 #define _PAGE_READ (1<<23) macro
/linux-6.1.9/arch/powerpc/mm/ptdump/
Dbook3s64.c19 .mask = _PAGE_READ,
20 .val = _PAGE_READ,
/linux-6.1.9/arch/openrisc/include/asm/
Dpgtable.h149 #define _PAGE_READ (_PAGE_URE | _PAGE_SRE) macro
214 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } in pte_read()
228 pte_val(pte) &= ~(_PAGE_READ); in pte_rdprotect()
258 pte_val(pte) |= _PAGE_READ; in pte_mkread()
/linux-6.1.9/arch/riscv/mm/
Dpageattr.c133 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()
Dptdump.c174 .mask = _PAGE_READ,
175 .val = _PAGE_READ,
/linux-6.1.9/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)
119 #define _PAGE_KERNEL_ROX (_PAGE_PRIVILEGED | _PAGE_READ | _PAGE_EXEC)
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)
437 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_READ)); in pte_read()
[all …]
Dhash.h189 mask = cpu_to_be64(_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_READ | _PAGE_WRITE | in hash__ptep_set_access_flags()
/linux-6.1.9/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 | \
805 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone()
[all …]
/linux-6.1.9/arch/csky/abiv2/inc/abi/
Dpgtable-bits.h8 #define _PAGE_READ (1<<8) macro
/linux-6.1.9/arch/riscv/kernel/
Defi.c68 val |= _PAGE_READ; in set_permissions()
/linux-6.1.9/arch/s390/mm/
Dhugetlbpage.c51 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-6.1.9/arch/powerpc/platforms/cell/spufs/
Dfault.c120 access = (_PAGE_PRESENT | _PAGE_READ); in spufs_handle_class1()
/linux-6.1.9/arch/nios2/mm/
Dioremap.c28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in remap_area_pte()

12