/linux-2.4.37.9/include/asm-m68k/ |
D | motorola_pgtable.h | 135 pgd_val(*pgdp) = _PAGE_TABLE | _PAGE_ACCESSED | __pa(pmdp); in pgd_set() 140 #define __pgd_page(pgd) ((unsigned long)__va(pgd_val(pgd) & _TABLE_MASK)) 159 #define pgd_none(pgd) (!pgd_val(pgd)) 160 #define pgd_bad(pgd) ((pgd_val(pgd) & _DESCTYPE_MASK) != _PAGE_TABLE) 161 #define pgd_present(pgd) (pgd_val(pgd) & _PAGE_TABLE) 162 #define pgd_clear(pgdp) ({ pgd_val(*pgdp) = 0; }) 170 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e))
|
/linux-2.4.37.9/include/asm-alpha/ |
D | pgtable.h | 234 { pgd_val(*pgdp) = _PAGE_TABLE | ((((unsigned long) pmdp) - PAGE_OFFSET) << (32-PAGE_SHIFT)); } in pgd_set() 255 { return PAGE_OFFSET + ((pgd_val(pgd) & _PFN_MASK) >> (32-PAGE_SHIFT)); } in pgd_page() 266 extern inline int pgd_none(pgd_t pgd) { return !pgd_val(pgd); } in pgd_none() 267 extern inline int pgd_bad(pgd_t pgd) { return (pgd_val(pgd) & ~_PFN_MASK) != _PAGE_TABLE; } in pgd_bad() 268 extern inline int pgd_present(pgd_t pgd) { return pgd_val(pgd) & _PAGE_VALID; } in pgd_present() 269 extern inline void pgd_clear(pgd_t * pgdp) { pgd_val(*pgdp) = 0; } in pgd_clear() 353 printk("%s:%d: bad pgd %016lx.\n", __FILE__, __LINE__, pgd_val(e))
|
D | page.h | 34 #define pgd_val(x) ((x).pgd) macro 53 #define pgd_val(x) (x) macro
|
/linux-2.4.37.9/include/asm-i386/ |
D | pgtable-3level.h | 34 printk("%s:%d: bad pgd %p(%016Lx).\n", __FILE__, __LINE__, &(e), pgd_val(e)) 55 set_64bit((unsigned long long *)(pgdptr),pgd_val(pgdval)) 69 ((unsigned long) __va(pgd_val(pgd) & PAGE_MASK))
|
D | pgtable-2level.h | 25 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e)) 53 ((unsigned long) __va(pgd_val(pgd) & PAGE_MASK))
|
D | pgalloc.h | 52 free_page((unsigned long)__va(pgd_val(pgd[i])-1)); in get_pgd_slow() 100 free_page((unsigned long)__va(pgd_val(pgd[i])-1)); in free_pgd_slow()
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | pgtable.h | 209 #define pgd_set(pgdp, pmdp) (pgd_val(*(pgdp)) = (__ba_to_bpn(pmdp))) 210 #define pgd_none(pgd) (!pgd_val(pgd)) 211 #define pgd_bad(pgd) ((pgd_val(pgd)) == 0) 212 #define pgd_present(pgd) (pgd_val(pgd) != 0UL) 213 #define pgd_clear(pgdp) (pgd_val(*(pgdp)) = 0UL) 214 #define pgd_page(pgd) (__bpn_to_ba(pgd_val(pgd))) 386 printk("%s:%d: bad pgd %08x.\n", __FILE__, __LINE__, pgd_val(e))
|
D | page.h | 95 #define pgd_val(x) ((x).pgd) macro 114 #define pgd_val(x) (x) macro
|
/linux-2.4.37.9/include/asm-mips64/ |
D | pgtable.h | 162 printk("%s:%d: bad pgd %016lx.\n", __FILE__, __LINE__, pgd_val(e)) 191 return pgd_val(pgd); in pgd_page() 201 pgd_val(*pgdp) = (((unsigned long) pmdp) & PAGE_MASK); in pgd_set() 281 return pgd_val(pgd) == (unsigned long) invalid_pmd_table; in pgd_none() 286 return pgd_val(pgd) &~ PAGE_MASK; in pgd_bad() 291 return pgd_val(pgd) != (unsigned long) invalid_pmd_table; in pgd_present() 296 pgd_val(*pgdp) = ((unsigned long) invalid_pmd_table); in pgd_clear()
|
/linux-2.4.37.9/include/asm-sh/ |
D | pgtable-2level.h | 26 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e)) 52 ((unsigned long) __va(pgd_val(pgd) & PAGE_MASK))
|
/linux-2.4.37.9/include/asm-ia64/ |
D | pgtable.h | 155 #define pgd_ERROR(e) printk("%s:%d: bad pgd %016lx.\n", __FILE__, __LINE__, pgd_val(e)) 237 #define pgd_none(pgd) (!pgd_val(pgd)) 238 #define pgd_bad(pgd) (!ia64_phys_addr_valid(pgd_val(pgd))) 239 #define pgd_present(pgd) (pgd_val(pgd) != 0UL) 240 #define pgd_clear(pgdp) (pgd_val(*(pgdp)) = 0UL) 241 #define pgd_page(pgd) ((unsigned long) __va(pgd_val(pgd) & _PFN_MASK))
|
D | page.h | 159 # define pgd_val(x) ((x).pgd) macro 178 # define pgd_val(x) (x) macro
|
/linux-2.4.37.9/include/asm-parisc/ |
D | pgtable.h | 49 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e)) 233 #define pgd_page(pgd) ((unsigned long) __va(pgd_val(pgd) & PAGE_MASK)) 237 #define pgd_none(x) (!pgd_val(x)) 238 #define pgd_bad(x) ((pgd_val(x) & ~PAGE_MASK) != _PAGE_TABLE) 239 #define pgd_present(x) (pgd_val(x) & _PAGE_PRESENT) 240 #define pgd_clear(xp) do { pgd_val(*(xp)) = 0; } while (0)
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | pgtable.h | 232 (pgd_val(*(pgdp)) = (__pa((unsigned long) (pmdp)) >> 11UL)) 236 ((unsigned long) __va(((unsigned long)pgd_val(pgd))<<11UL)) 244 #define pgd_none(pgd) (!pgd_val(pgd)) 246 #define pgd_present(pgd) (pgd_val(pgd) != 0U) 247 #define pgd_clear(pgdp) (pgd_val(*(pgdp)) = 0U)
|
D | page.h | 61 #define pgd_val(x) ((x).pgd) macro 87 #define pgd_val(x) (x) macro
|
/linux-2.4.37.9/arch/mips/baget/ |
D | baget.c | 90 if (pgd_val(olddir) != pgd_val(*dir)) in kseg2_alloc_io()
|
/linux-2.4.37.9/arch/alpha/mm/ |
D | init.c | 62 pgd_val(ret[PTRS_PER_PGD-2]) = pgd_val(init[PTRS_PER_PGD-2]); in get_pgd_slow() 66 pgd_val(ret[PTRS_PER_PGD-1]) in get_pgd_slow() 173 pgd_val(swapper_pg_dir[1023]) = in switch_to_system_map()
|
D | fault.c | 251 pgd_val(*pgd) = pgd_val(*pgd_k); in do_page_fault()
|
/linux-2.4.37.9/include/asm-arm/ |
D | page.h | 31 #define pgd_val(x) ((x).pgd) macro 50 #define pgd_val(x) (x) macro
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | pgtable.h | 113 printk("%s:%d: bad pgd %p(%016lx).\n", __FILE__, __LINE__, &(e), pgd_val(e)) 116 #define pgd_none(x) (!pgd_val(x)) 133 pgd_val(*dst) = pgd_val(val); in set_pgd() 153 ((unsigned long) __va(pgd_val(pgd) & PHYSICAL_PAGE_MASK)) 292 unsigned long val = pgd_val(pgd); in pgd_bad()
|
/linux-2.4.37.9/include/asm-cris/ |
D | page.h | 33 #define pgd_val(x) ((x).pgd) macro 52 #define pgd_val(x) (x) macro
|
/linux-2.4.37.9/include/asm-ppc/ |
D | page.h | 62 #define pgd_val(x) ((x).pgd) macro 81 #define pgd_val(x) (x) macro
|
/linux-2.4.37.9/include/asm-sparc/ |
D | page.h | 104 #define pgd_val(x) ((x).pgd) macro 132 #define pgd_val(x) (x) macro
|
/linux-2.4.37.9/arch/sparc/mm/ |
D | fault.c | 404 pgd_val(*pgd) = pgd_val(*pgd_k); in do_sparc_fault() 445 if (pgd_val(*pgdp)) { in do_sun4c_fault() 484 if (pgd_val(*pgdp) && !(write && !(pte_val(*ptep) & _SUN4C_PAGE_WRITE)) in do_sun4c_fault()
|
/linux-2.4.37.9/include/asm-sh64/ |
D | pgtable.h | 163 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e)) 224 #define pgd_none(pgd_entry) (pgd_val((pgd_entry)) == _PGD_EMPTY) 232 #define pgd_page(pgd_entry) ((unsigned long) (pgd_val(pgd_entry) & PAGE_MASK)) 248 ((pmd_t *) ((pgd_val(*(dir))) & PAGE_MASK) + __pmd_offset((addr)))
|