/linux-2.4.37.9/include/asm-parisc/ |
D | pgtable.h | 141 #define _PAGE_WRITE (1 << xlate_pabit(_PAGE_WRITE_BIT)) macro 142 #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE) 154 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_ACCESSED) 156 #define _PAGE_KERNEL (_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_WRITE | _PAGE_DIRTY | _PAGE_A… 161 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_ACCESSED) 166 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE | _PAGE_ACCESSED) 169 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC… 260 extern inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write() 265 extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_WRITE; return pte; } in pte_wrprotect() 269 extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= _PAGE_WRITE; return pte; } in pte_mkwrite()
|
/linux-2.4.37.9/include/asm-cris/ |
D | pgtable.h | 238 #define __WRITEABLE (_PAGE_WRITE | _PAGE_SILENT_WRITE | _PAGE_MODIFIED) 244 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \ 325 extern inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write() 332 pte_val(pte) &= ~(_PAGE_WRITE | _PAGE_SILENT_WRITE); in pte_wrprotect() 362 pte_val(pte) |= _PAGE_WRITE; in pte_mkwrite() 387 if (pte_val(pte) & _PAGE_WRITE) in pte_mkdirty() 398 if ((pte_val(pte) & (_PAGE_WRITE | _PAGE_MODIFIED)) == in pte_mkyoung() 399 (_PAGE_WRITE | _PAGE_MODIFIED)) in pte_mkyoung()
|
D | mmu.h | 60 #define _PAGE_WRITE (1<<8) /* write-enabled */ macro
|
/linux-2.4.37.9/include/asm-mips/ |
D | pgtable-bits.h | 40 #define _PAGE_WRITE (1<<8) /* implemented in software */ macro 66 #define _PAGE_WRITE (1<<2) /* implemented in software */ macro 116 #define __WRITEABLE (_PAGE_WRITE | _PAGE_SILENT_WRITE | _PAGE_MODIFIED)
|
D | pgtable-32.h | 35 pte_val(pte) &= ~(_PAGE_WRITE | _PAGE_SILENT_WRITE); in pte_wrprotect() 59 pte_val(pte) |= _PAGE_WRITE; in pte_mkwrite() 76 if (pte_val(pte) & _PAGE_WRITE) in pte_mkdirty()
|
D | pgtable-64.h | 30 (pte).pte_low &= ~(_PAGE_WRITE | _PAGE_SILENT_WRITE); in pte_wrprotect() 58 (pte).pte_low |= _PAGE_WRITE; in pte_mkwrite() 79 if ((pte).pte_low & _PAGE_WRITE) { in pte_mkdirty()
|
D | pgtable.h | 91 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 99 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 208 static inline int pte_write(pte_t pte) { return (pte).pte_low & _PAGE_WRITE; } in pte_write()
|
/linux-2.4.37.9/include/asm-sh64/ |
D | pgtable.h | 307 #define _PAGE_WRITE 0x100 /* PR2-bit : write access allowed */ macro 326 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 337 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 367 #define __S010 __pgprot(__MMAP_COMMON | _PAGE_SHARED | _PAGE_WRITE) 368 #define __S011 __pgprot(__MMAP_COMMON | _PAGE_SHARED | _PAGE_READ | _PAGE_WRITE) 371 #define __S110 __pgprot(__MMAP_COMMON | _PAGE_SHARED | _PAGE_EXECUTE | _PAGE_WRITE) 372 #define __S111 __pgprot(__MMAP_COMMON | _PAGE_SHARED | _PAGE_EXECUTE | _PAGE_READ | _PAGE_WRITE) 439 extern inline int pte_write(pte_t pte){ return pte_val(pte) & _PAGE_WRITE; } in pte_write() 442 extern inline pte_t pte_wrprotect(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_WRITE)); r… in pte_wrprotect() 448 extern inline pte_t pte_mkwrite(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_WRITE)); retu… in pte_mkwrite()
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | pgtable.h | 132 #define _PAGE_WRITE 0x0000000000000100 /* Writable SW Bit */ macro 149 #define __DIRTY_BITS (_PAGE_MODIFIED | _PAGE_WRITE | _PAGE_W) 157 __ACCESS_BITS | _PAGE_WRITE | _PAGE_EXEC) 171 __ACCESS_BITS | _PAGE_WRITE) 254 #define pte_write(pte) (pte_val(pte) & _PAGE_WRITE) 257 #define pte_wrprotect(pte) (__pte(pte_val(pte) & ~(_PAGE_WRITE|_PAGE_W))) 269 #define pte_mkwrite(pte) (__pte(pte_val(pte) | _PAGE_WRITE))
|
/linux-2.4.37.9/include/asm-mips64/ |
D | pgtable-bits.h | 38 #define _PAGE_WRITE (1<<2) /* implemented in software */ macro 87 #define __WRITEABLE (_PAGE_WRITE | _PAGE_SILENT_WRITE | _PAGE_MODIFIED)
|
D | pgtable.h | 119 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 127 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 319 return pte_val(pte) & _PAGE_WRITE; in pte_write() 334 pte_val(pte) &= ~(_PAGE_WRITE | _PAGE_SILENT_WRITE); in pte_wrprotect() 358 pte_val(pte) |= _PAGE_WRITE; in pte_mkwrite() 375 if (pte_val(pte) & _PAGE_WRITE) in pte_mkdirty()
|
/linux-2.4.37.9/arch/mips/mm/ |
D | tlbex-r3k.S | 126 andi pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \ 127 xori pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \ 208 andi k0, k0, _PAGE_WRITE
|
D | tlbex-mips32.S | 228 andi pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \ 229 xori pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \ 307 andi k0, k0, _PAGE_WRITE
|
D | tlbex-r4k.S | 129 andi pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \ 130 xori pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \ 523 andi k0, k0, _PAGE_WRITE
|
/linux-2.4.37.9/arch/sh64/mm/ |
D | tlb.c | 150 ptel |= (_PAGE_CACHABLE | _PAGE_READ | _PAGE_WRITE); in sh64_setup_tlb_slot()
|
D | ioremap.c | 48 _PAGE_READ | _PAGE_WRITE | in remap_area_pte() 352 _PAGE_READ | _PAGE_WRITE | in shmedia_mapioaddr()
|
D | fault.c | 71 PPROT(_PAGE_EXECUTE),PPROT(_PAGE_WRITE),PPROT(_PAGE_USER)); in print_prots()
|
/linux-2.4.37.9/arch/mips/lib/ |
D | r3k_dump_tlb.c | 136 if (val & _PAGE_WRITE) printk("write "); in dump_list_process()
|
D | dump_tlb.c | 185 if (val & _PAGE_WRITE) printk("write "); in dump_list_process()
|
/linux-2.4.37.9/arch/mips64/lib/ |
D | dump_tlb.c | 169 if (val & _PAGE_WRITE) printk("write "); in dump_list_process()
|
/linux-2.4.37.9/arch/cris/mm/ |
D | fault.c | 218 if (pte_val(pte) & _PAGE_WRITE) in handle_mmu_bus_fault()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | setup.c | 269 tte & _PAGE_WRITE ? "R" : "-", in prom_callback()
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | entry.S | 1032 ldi (_PAGE_DIRTY|_PAGE_WRITE|_PAGE_READ),prot 1184 ldi (_PAGE_DIRTY|_PAGE_WRITE|_PAGE_READ),prot 1335 ldi (_PAGE_DIRTY|_PAGE_WRITE|_PAGE_READ),prot
|