Home
last modified time | relevance | path

Searched refs:_PAGE_WRITE (Results 1 – 23 of 23) sorted by relevance

/linux-2.4.37.9/include/asm-parisc/
Dpgtable.h141 #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/
Dpgtable.h238 #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()
Dmmu.h60 #define _PAGE_WRITE (1<<8) /* write-enabled */ macro
/linux-2.4.37.9/include/asm-mips/
Dpgtable-bits.h40 #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)
Dpgtable-32.h35 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()
Dpgtable-64.h30 (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()
Dpgtable.h91 #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/
Dpgtable.h307 #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/
Dpgtable.h132 #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/
Dpgtable-bits.h38 #define _PAGE_WRITE (1<<2) /* implemented in software */ macro
87 #define __WRITEABLE (_PAGE_WRITE | _PAGE_SILENT_WRITE | _PAGE_MODIFIED)
Dpgtable.h119 #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/
Dtlbex-r3k.S126 andi pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \
127 xori pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \
208 andi k0, k0, _PAGE_WRITE
Dtlbex-mips32.S228 andi pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \
229 xori pte, pte, (_PAGE_PRESENT | _PAGE_WRITE); \
307 andi k0, k0, _PAGE_WRITE
Dtlbex-r4k.S129 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/
Dtlb.c150 ptel |= (_PAGE_CACHABLE | _PAGE_READ | _PAGE_WRITE); in sh64_setup_tlb_slot()
Dioremap.c48 _PAGE_READ | _PAGE_WRITE | in remap_area_pte()
352 _PAGE_READ | _PAGE_WRITE | in shmedia_mapioaddr()
Dfault.c71 PPROT(_PAGE_EXECUTE),PPROT(_PAGE_WRITE),PPROT(_PAGE_USER)); in print_prots()
/linux-2.4.37.9/arch/mips/lib/
Dr3k_dump_tlb.c136 if (val & _PAGE_WRITE) printk("write "); in dump_list_process()
Ddump_tlb.c185 if (val & _PAGE_WRITE) printk("write "); in dump_list_process()
/linux-2.4.37.9/arch/mips64/lib/
Ddump_tlb.c169 if (val & _PAGE_WRITE) printk("write "); in dump_list_process()
/linux-2.4.37.9/arch/cris/mm/
Dfault.c218 if (pte_val(pte) & _PAGE_WRITE) in handle_mmu_bus_fault()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsetup.c269 tte & _PAGE_WRITE ? "R" : "-", in prom_callback()
/linux-2.4.37.9/arch/parisc/kernel/
Dentry.S1032 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