Searched refs:_PAGE_WRITE (Results 26 - 50 of 66) sorted by relevance

123

/linux-master/arch/openrisc/include/asm/
H A Dpgtable.h144 #define _PAGE_WRITE (_PAGE_UWE | _PAGE_SWE) macro
218 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; }
225 pte_val(pte) &= ~(_PAGE_WRITE);
255 pte_val(pte) |= _PAGE_WRITE;
/linux-master/arch/riscv/kernel/
H A Defi.c67 val = pte_val(pte) & ~_PAGE_WRITE;
H A Dhibernate.c372 ret = temp_pgtable_mapping(resume_pg_dir, start, end, __pgprot(_PAGE_WRITE | _PAGE_EXEC));
394 ret = temp_pgtable_mapping(resume_pg_dir, start, end, __pgprot(_PAGE_WRITE));
/linux-master/arch/powerpc/include/asm/nohash/
H A Dpgtable.h87 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 0);
145 return __pte(pte_val(pte) & ~_PAGE_WRITE);
159 return pte_val(pte) & _PAGE_WRITE;
/linux-master/arch/loongarch/mm/
H A Dtlbex.S250 andi ra, t0, _PAGE_PRESENT | _PAGE_WRITE
251 xori ra, ra, _PAGE_PRESENT | _PAGE_WRITE
285 andi t0, ra, _PAGE_PRESENT | _PAGE_WRITE
286 xori t0, t0, _PAGE_PRESENT | _PAGE_WRITE
408 andi ra, t0, _PAGE_WRITE
442 andi t0, ra, _PAGE_WRITE
/linux-master/arch/riscv/mm/
H A Dptdump.c171 .mask = _PAGE_WRITE,
268 if ((st->current_prot & (_PAGE_WRITE | _PAGE_EXEC)) !=
269 (_PAGE_WRITE | _PAGE_EXEC))
H A Dpageattr.c351 return __set_memory(addr, numpages, __pgprot(_PAGE_READ | _PAGE_WRITE),
358 __pgprot(_PAGE_WRITE));
363 return __set_memory(addr, numpages, __pgprot(_PAGE_READ | _PAGE_WRITE),
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dfault.c121 access |= (dsisr & MFC_DSISR_ACCESS_PUT) ? _PAGE_WRITE : 0UL;
/linux-master/arch/powerpc/mm/book3s64/
H A Dhash_4k.c51 if (access & _PAGE_WRITE)
H A Dhash_hugepage.c50 if (access & _PAGE_WRITE)
H A Dhash_64k.c69 if (access & _PAGE_WRITE)
264 if (access & _PAGE_WRITE)
H A Dhugetlbpage.c62 if (access & _PAGE_WRITE)
/linux-master/arch/loongarch/include/asm/
H A Dkvm_mmu.h55 static inline int kvm_pte_write(kvm_pte_t pte) { return pte & _PAGE_WRITE; }
/linux-master/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h31 #define _PAGE_WRITE 0x400 /* software: user write access allowed */ macro
324 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 0);
390 return !!(pte_val(pte) & _PAGE_WRITE);
454 return __pte(pte_val(pte) & ~_PAGE_WRITE);
/linux-master/arch/riscv/include/asm/
H A Dpgtable.h179 #define PAGE_WRITE __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_WRITE)
183 _PAGE_EXEC | _PAGE_WRITE)
191 | _PAGE_WRITE \
198 #define PAGE_KERNEL_READ __pgprot(_PAGE_KERNEL & ~_PAGE_WRITE)
200 #define PAGE_KERNEL_READ_EXEC __pgprot((_PAGE_KERNEL & ~_PAGE_WRITE) \
360 return pte_val(pte) & _PAGE_WRITE;
397 return __pte(pte_val(pte) & ~(_PAGE_WRITE));
404 return __pte(pte_val(pte) | _PAGE_WRITE);
574 atomic_long_and(~(unsigned long)_PAGE_WRITE, (atomic_long_t *)ptep);
/linux-master/arch/powerpc/include/asm/book3s/64/
H A Dpgtable.h18 #define _PAGE_WRITE 0x00002 /* write access allowed */ macro
402 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_WRITE));
415 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 0);
423 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 1);
571 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_WRITE));
1193 pmd_hugepage_update(mm, addr, pmdp, _PAGE_WRITE, 0);
1201 pud_hugepage_update(mm, addr, pudp, _PAGE_WRITE, 0);
1435 if ((!(old_val & _PAGE_WRITE)) && (new_val & _PAGE_WRITE))
H A Dhash.h203 mask = cpu_to_be64(_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_READ | _PAGE_WRITE |
/linux-master/arch/nios2/mm/
H A Dioremap.c29 | _PAGE_WRITE | flags);
H A Dtlb.c198 (tlbacc & _PAGE_WRITE ? 'w' : '-'),
/linux-master/arch/powerpc/include/asm/nohash/64/
H A Dpgtable.h152 pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 1);
/linux-master/arch/powerpc/kernel/
H A Dhead_40x.S319 rlwinm r9, r11, 1, _PAGE_WRITE /* dirty => w */
321 rlwimi r11, r9, 0, _PAGE_WRITE /* replace w by hwwrite */
403 rlwinm r9, r11, 1, _PAGE_WRITE /* dirty => w */
405 rlwimi r11, r9, 0, _PAGE_WRITE /* replace w by hwwrite */
/linux-master/arch/s390/include/asm/
H A Dpgtable.h178 #define _PAGE_WRITE 0x020 /* SW pte write bit */ macro
419 #define PAGE_RW __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
421 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
424 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
426 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
430 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
898 return (pte_val(pte) & _PAGE_WRITE) != 0;
1011 if ((pte_val(pte) & _PAGE_DIRTY) && (pte_val(pte) & _PAGE_WRITE))
1018 pte = clear_pte_bit(pte, __pgprot(_PAGE_WRITE));
1024 pte = set_pte_bit(pte, __pgprot(_PAGE_WRITE));
[all...]
/linux-master/arch/powerpc/mm/nohash/
H A De500.c120 TLBCAM[index].MAS3 |= (flags & _PAGE_WRITE) ? MAS3_SW : 0;
128 TLBCAM[index].MAS3 |= (flags & _PAGE_WRITE) ? MAS3_UW : 0;
/linux-master/arch/s390/mm/
H A Dhugetlbpage.c53 rste |= move_set_bit(pte_val(pte), _PAGE_WRITE,
108 pteval |= move_set_bit(rste, _SEGMENT_ENTRY_WRITE, _PAGE_WRITE);
/linux-master/arch/hexagon/include/asm/
H A Dio.h168 #define _PAGE_IOREMAP (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \

Completed in 535 milliseconds

123