Searched refs:pte_val (Results 1 - 25 of 141) sorted by relevance

123456

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/
H A Dpgtable.h95 #define pte_none(x) (!pte_val(x))
96 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
97 #define pte_clear(mm,addr,xp) do { pte_val(*(xp)) = 0; } while (0)
114 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; }
115 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; }
116 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_READ; }
117 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_MODIFIED; }
118 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; }
119 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; }
123 pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m32r/
H A Dpgtable-2level.h22 printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e))
66 #define pte_same(a, b) (pte_val(a) == pte_val(b))
68 #define pte_none(x) (!pte_val(x))
69 #define pte_pfn(x) (pte_val(x) >> PAGE_SHIFT)
74 #define pte_to_pgoff(pte) (((pte_val(pte) >> 2) & 0x7f) | (((pte_val(pte) >> 10)) << 7))
H A Dpgtable.h180 #define pte_present(x) (pte_val(x) & (_PAGE_PRESENT | _PAGE_PROTNONE))
196 return pte_val(pte) & _PAGE_READ;
201 return pte_val(pte) & _PAGE_EXEC;
206 return pte_val(pte) & _PAGE_DIRTY;
211 return pte_val(pte) & _PAGE_ACCESSED;
216 return pte_val(pte) & _PAGE_WRITE;
224 return pte_val(pte) & _PAGE_FILE;
229 pte_val(pte) &= ~_PAGE_READ;
235 pte_val(pte) &= ~_PAGE_EXEC;
241 pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68k/
H A Dsun3_pgtable.h108 pte_val(pte) = (pte_val(pte) & SUN3_PAGE_CHG_MASK) | pgprot_val(newprot);
120 ((unsigned long) __va ((pte_val (pte) & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT))
124 static inline int pte_none (pte_t pte) { return !pte_val (pte); }
125 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; }
128 pte_val (*ptep) = 0;
131 #define pte_pfn(pte) (pte_val(pte) & SUN3_PAGE_PGNUM_MASK)
133 ({ pte_t __pte; pte_val(__pte) = pfn | pgprot_val(pgprot); __pte; })
156 printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e))
169 static inline int pte_write(pte_t pte) { return pte_val(pt
[all...]
H A Dmotorola_pgtable.h104 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot);
124 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK))
129 #define pte_none(pte) (!pte_val(pte))
130 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE))
131 #define pte_clear(mm,addr,ptep) ({ pte_val(*(ptep)) = 0; })
133 #define pte_page(pte) virt_to_page(__va(pte_val(pte)))
134 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT)
156 printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e))
168 static inline int pte_write(pte_t pte) { return !(pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dpgtable-ppc64.h169 pte_val(pte) = (pfn << PTE_RPN_SHIFT) | pgprot_val(pgprot);
174 (__pte((pte_val(_pte) & _PAGE_CHG_MASK) | pgprot_val(newprot)))
176 #define pte_none(pte) ((pte_val(pte) & ~_PAGE_HPTEFLAGS) == 0)
177 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
181 #define pte_pfn(x) ((unsigned long)((pte_val(x)>>PTE_RPN_SHIFT)))
235 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER;}
236 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW;}
237 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC;}
238 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY;}
239 static inline int pte_young(pte_t pte) { return pte_val(pt
[all...]
H A Dpgtable-64k.h74 (e), pte_val(*((p) + PTRS_PER_PTE)) })
75 #define __rpte_to_hidx(r,index) ((pte_val((r).pte) & _PAGE_COMBO) ? \
76 (((r).hidx >> ((index)<<2)) & 0xf) : ((pte_val((r).pte) >> 12) & 0xf))
79 (pte_val(rpte.pte) & (_PAGE_HPTE_SUB0 >> (index)))
H A Dpgtable-ppc32.h100 (unsigned long long)pte_val(e))
485 #define pte_pfn(x) (pte_val(x) >> PFN_SHIFT_OFFSET)
501 #define pte_none(pte) ((pte_val(pte) & ~_PTE_NONE_MASK) == 0)
502 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
515 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; }
516 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; }
517 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; }
518 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; }
519 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; }
520 static inline int pte_file(pte_t pte) { return pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-avr32/
H A Dpgtable.h182 #define pte_none(x) (!pte_val(x))
183 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
196 return pte_val(pte) & _PAGE_USER;
200 return pte_val(pte) & _PAGE_RW;
204 return pte_val(pte) & _PAGE_EXECUTE;
208 return pte_val(pte) & _PAGE_DIRTY;
212 return pte_val(pte) & _PAGE_ACCESSED;
220 return pte_val(pte) & _PAGE_FILE;
226 set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_USER));
231 set_pte(&pte, __pte(pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-xtensa/
H A Dpgtable.h168 printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e))
187 #define pte_none(pte) (!(pte_val(pte) ^ _PAGE_USER))
188 #define pte_present(pte) (pte_val(pte) & _PAGE_VALID)
199 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; }
200 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; }
201 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; }
202 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; }
203 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; }
204 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~(_PAGE_RW | _PAGE_WRENABLE); return pte; }
205 static inline pte_t pte_rdprotect(pte_t pte) { pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-alpha/
H A Dpgtable.h208 #define pte_pfn(pte) (pte_val(pte) >> 32)
214 pte_val(pte) = (page_to_pfn(page) << 32) | pgprot_val(pgprot); \
220 { pte_t pte; pte_val(pte) = (PHYS_TWIDDLE(physpfn) << 32) | pgprot_val(pgprot); return pte; }
223 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; }
246 extern inline int pte_none(pte_t pte) { return !pte_val(pte); }
247 extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; }
250 pte_val(*ptep) = 0;
267 extern inline int pte_read(pte_t pte) { return !(pte_val(pte) & _PAGE_FOR); }
268 extern inline int pte_write(pte_t pte) { return !(pte_val(pt
[all...]
H A Dmmzone.h68 #define pte_pfn(pte) (pte_val(pte) >> 32)
76 pte_val(pte) = pfn | pgprot_val(pgprot); \
86 kvirt = (unsigned long)__va(pte_val(x) >> (32-PAGE_SHIFT)); \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm26/
H A Dpgtable.h83 #define pte_ERROR(pte) __pte_error(__FILE__, __LINE__, pte_val(pte))
94 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT)
129 * the pgd_val, pmd_val, and pte_val macros seem to be private to our code.
157 #define pte_none(pte) (!pte_val(pte))
158 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
216 #define pte_read(pte) (!(pte_val(pte) & _PAGE_NOT_USER))
217 #define pte_write(pte) (!(pte_val(pte) & _PAGE_READONLY))
218 #define pte_exec(pte) (!(pte_val(pte) & _PAGE_NOT_USER))
219 #define pte_dirty(pte) (!(pte_val(pte) & _PAGE_CLEAN))
220 #define pte_young(pte) (!(pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/
H A Dpgtable.h120 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL))
121 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
132 if (pte_val(pteval) & _PAGE_GLOBAL) {
139 pte_val(*buddy) = pte_val(*buddy) | _PAGE_GLOBAL;
149 if (pte_val(*ptep_buddy(ptep)) & _PAGE_GLOBAL)
256 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; }
257 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; }
258 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_MODIFIED; }
259 static inline int pte_young(pte_t pte) { return pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/
H A Dpgtable.h120 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL))
121 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
132 if (pte_val(pteval) & _PAGE_GLOBAL) {
139 pte_val(*buddy) = pte_val(*buddy) | _PAGE_GLOBAL;
149 if (pte_val(*ptep_buddy(ptep)) & _PAGE_GLOBAL)
256 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; }
257 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; }
258 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_MODIFIED; }
259 static inline int pte_young(pte_t pte) { return pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-x86_64/
H A Dpgtable.h63 printk("%s:%d: bad pte %p(%016lx).\n", __FILE__, __LINE__, &(e), pte_val(e))
76 pte_val(*dst) = pte_val(val);
246 #define pte_none(x) (!pte_val(x))
247 #define pte_present(x) (pte_val(x) & (_PAGE_PRESENT | _PAGE_PROTNONE))
252 #define pte_pfn(x) ((pte_val(x) & __PHYSICAL_MASK) >> PAGE_SHIFT)
257 pte_val(pte) = (page_nr << PAGE_SHIFT);
258 pte_val(pte) |= pgprot_val(pgprot);
259 pte_val(pte) &= __supported_pte_mask;
268 static inline int pte_user(pte_t pte) { return pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh64/
H A Dpgtable.h113 printk("%s:%d: bad pte %016Lx.\n", __FILE__, __LINE__, pte_val(e))
381 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
383 #define pte_none(x) (pte_val(x) == _PTE_EMPTY)
395 #define pte_pagenr(x) (((unsigned long) (pte_val(x)) - \
412 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; }
413 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXECUTE; }
414 static inline int pte_dirty(pte_t pte){ return pte_val(pte) & _PAGE_DIRTY; }
415 static inline int pte_young(pte_t pte){ return pte_val(pte) & _PAGE_ACCESSED; }
416 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; }
417 static inline int pte_write(pte_t pte){ return pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/
H A Dpgtable.h33 printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e))
158 #define pte_to_pgoff(pte) (pte_val(pte) >> PTE_SHIFT)
260 #define pte_none(x) ((pte_val(x) == 0) || (pte_val(x) & _PAGE_FLUSH))
261 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT)
262 #define pte_clear(mm,addr,xp) do { pte_val(*(xp)) = 0; } while (0)
325 extern inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; }
326 extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; }
327 extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; }
328 extern inline int pte_write(pte_t pte) { return pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-um/
H A Dpgtable-2level.h30 pte_val(e))
40 #define pte_pfn(x) phys_to_pfn(pte_val(x))
52 #define pte_to_pgoff(pte) (pte_val(pte) >> 5)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ppc/
H A Dpgtable.h106 printk("%s:%d: bad pte "PTE_FMT".\n", __FILE__, __LINE__, pte_val(e))
493 #define pte_pfn(x) (pte_val(x) >> PFN_SHIFT_OFFSET)
509 #define pte_none(pte) ((pte_val(pte) & ~_PTE_NONE_MASK) == 0)
510 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
536 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; }
537 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; }
538 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; }
539 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; }
540 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; }
541 static inline int pte_file(pte_t pte) { return pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
H A Dpgtable.h190 #define pte_ERROR(e) printk("%s:%d: bad pte %016lx.\n", __FILE__, __LINE__, pte_val(e))
241 ({ pte_t __pte; pte_val(__pte) = ((pfn) << PAGE_SHIFT) | pgprot_val(pgprot); __pte; })
244 #define pte_pfn(_pte) ((pte_val(_pte) & _PFN_MASK) >> PAGE_SHIFT)
250 ({ pte_t __pte; pte_val(__pte) = physpage + pgprot_val(pgprot); __pte; })
253 (__pte((pte_val(_pte) & ~_PAGE_CHG_MASK) | (pgprot_val(newprot) & _PAGE_CHG_MASK)))
255 #define pte_none(pte) (!pte_val(pte))
256 #define pte_present(pte) (pte_val(pte) & (_PAGE_P | _PAGE_PROTNONE))
257 #define pte_clear(mm,addr,pte) (pte_val(*(pte)) = 0UL)
259 #define pte_page(pte) virt_to_page(((pte_val(pte) & _PFN_MASK) + PAGE_OFFSET))
287 #define pte_user(pte) ((pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/
H A Dpgtable.h119 #define pte_ERROR(pte) __pte_error(__FILE__, __LINE__, pte_val(pte))
237 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT)
240 #define pte_none(pte) (!pte_val(pte))
259 #define pte_present(pte) (pte_val(pte) & L_PTE_PRESENT)
260 #define pte_read(pte) (pte_val(pte) & L_PTE_USER)
261 #define pte_write(pte) (pte_val(pte) & L_PTE_WRITE)
262 #define pte_exec(pte) (pte_val(pte) & L_PTE_EXEC)
263 #define pte_dirty(pte) (pte_val(pte) & L_PTE_DIRTY)
264 #define pte_young(pte) (pte_val(pte) & L_PTE_YOUNG)
269 #define pte_file(pte) (pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-s390/
H A Dpgtable.h96 printk("%s:%d: bad pte %p.\n", __FILE__, __LINE__, (void *) pte_val(e))
426 if (!(pte_val(pteval) & _PAGE_INVALID) &&
427 (pte_val(pteval) & _PAGE_SWX))
428 pte_val(*shadow_pte) = pte_val(pteval) | _PAGE_RO;
430 pte_val(*shadow_pte) = _PAGE_TYPE_EMPTY;
487 return (pte_val(pte) & _PAGE_INVALID) && !(pte_val(pte) & _PAGE_SWT);
493 return (pte_val(pte) & mask) == _PAGE_TYPE_NONE ||
494 (!(pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/
H A Dpgtable.h260 : "r" (pte_val(pte)),
308 return __pte((pte_val(pte) & mask) | (pgprot_val(prot) & ~mask));
367 return __pte(pte_val(pte) | mask);
373 unsigned long val = pte_val(pte), tmp;
397 unsigned long val = pte_val(pte), tmp;
421 unsigned long val = pte_val(pte), mask;
439 unsigned long val = pte_val(pte), tmp;
478 return __pte(pte_val(pte) & ~mask);
498 return __pte(pte_val(pte) | mask);
516 return (pte_val(pt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/sun3/
H A Ddvma.c32 pte = pte_val(ptep);

Completed in 214 milliseconds

123456