/arch/powerpc/include/asm/ |
D | pgtable-ppc64-4k.h | 55 #define pgd_none(pgd) (!pgd_val(pgd)) 56 #define pgd_bad(pgd) (pgd_val(pgd) == 0) 57 #define pgd_present(pgd) (pgd_val(pgd) != 0) 58 #define pgd_clear(pgdp) (pgd_val(*(pgdp)) = 0) 59 #define pgd_page_vaddr(pgd) (pgd_val(pgd) & ~PGD_MASKED_BITS)
|
/arch/m32r/include/asm/ |
D | pgtable-2level.h | 26 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e)) 54 ((unsigned long) __va(pgd_val(pgd) & PAGE_MASK)) 57 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) >> PAGE_SHIFT) - PFN_BASE))
|
/arch/m68k/include/asm/ |
D | motorola_pgtable.h | 122 pgd_val(*pgdp) = _PAGE_TABLE | _PAGE_ACCESSED | __pa(pmdp); in pgd_set() 127 #define __pgd_page(pgd) ((unsigned long)__va(pgd_val(pgd) & _TABLE_MASK)) 150 #define pgd_none(pgd) (!pgd_val(pgd)) 151 #define pgd_bad(pgd) ((pgd_val(pgd) & _DESCTYPE_MASK) != _PAGE_TABLE) 152 #define pgd_present(pgd) (pgd_val(pgd) & _PAGE_TABLE) 153 #define pgd_clear(pgdp) ({ pgd_val(*pgdp) = 0; }) 154 #define pgd_page(pgd) (mem_map + ((unsigned long)(__va(pgd_val(pgd)) - PAGE_OFFSET) >> PAGE_SHIFT)) 161 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e))
|
D | page.h | 31 #define pgd_val(x) ((x).pgd) macro
|
/arch/arm/include/asm/ |
D | pgtable-2level-types.h | 40 #define pgd_val(x) ((x).pgd[0]) macro 58 #define pgd_val(x) ((x)[0]) macro
|
D | pgtable-3level-types.h | 43 #define pgd_val(x) ((x).pgd) macro 60 #define pgd_val(x) (x) macro
|
D | page-nommu.h | 39 #define pgd_val(x) ((x)[0]) macro
|
/arch/alpha/include/asm/ |
D | pgtable.h | 230 { pgd_val(*pgdp) = _PAGE_TABLE | ((((unsigned long) pmdp) - PAGE_OFFSET) << (32-PAGE_SHIFT)); } in pgd_set() 241 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) & _PFN_MASK) >> 32)) 245 { return PAGE_OFFSET + ((pgd_val(pgd) & _PFN_MASK) >> (32-PAGE_SHIFT)); } in pgd_page_vaddr() 259 extern inline int pgd_none(pgd_t pgd) { return !pgd_val(pgd); } in pgd_none() 260 extern inline int pgd_bad(pgd_t pgd) { return (pgd_val(pgd) & ~_PFN_MASK) != _PAGE_TABLE; } in pgd_bad() 261 extern inline int pgd_present(pgd_t pgd) { return pgd_val(pgd) & _PAGE_VALID; } in pgd_present() 262 extern inline void pgd_clear(pgd_t * pgdp) { pgd_val(*pgdp) = 0; } in pgd_clear() 365 printk("%s:%d: bad pgd %016lx.\n", __FILE__, __LINE__, pgd_val(e))
|
D | page.h | 37 #define pgd_val(x) ((x).pgd) macro 56 #define pgd_val(x) (x) macro
|
/arch/unicore32/include/asm/ |
D | page.h | 42 #define pgd_val(x) ((x).pgd) macro 58 #define pgd_val(x) (x) macro
|
/arch/um/include/asm/ |
D | pgtable-3level.h | 54 pgd_val(e)) 70 return(pgd_val(pgd) & _PAGE_NEWPAGE); in pgd_newpage() 73 static inline void pgd_mkuptodate(pgd_t pgd) { pgd_val(pgd) &= ~_PAGE_NEWPAGE; } in pgd_mkuptodate()
|
D | pgtable-2level.h | 33 pgd_val(e))
|
/arch/alpha/mm/ |
D | init.c | 51 pgd_val(ret[PTRS_PER_PGD-2]) = pgd_val(init[PTRS_PER_PGD-2]); in pgd_alloc() 55 pgd_val(ret[PTRS_PER_PGD-1]) in pgd_alloc() 109 pgd_val(swapper_pg_dir[1023]) = in switch_to_system_map()
|
D | fault.c | 227 pgd_val(*pgd) = pgd_val(*pgd_k); in do_page_fault()
|
/arch/ia64/include/asm/ |
D | pgtable.h | 185 #define pgd_ERROR(e) printk("%s:%d: bad pgd %016lx.\n", __FILE__, __LINE__, pgd_val(e)) 288 #define pgd_none(pgd) (!pgd_val(pgd)) 289 #define pgd_bad(pgd) (!ia64_phys_addr_valid(pgd_val(pgd))) 290 #define pgd_present(pgd) (pgd_val(pgd) != 0UL) 291 #define pgd_clear(pgdp) (pgd_val(*(pgdp)) = 0UL) 292 #define pgd_page_vaddr(pgd) ((unsigned long) __va(pgd_val(pgd) & _PFN_MASK)) 293 #define pgd_page(pgd) virt_to_page((pgd_val(pgd) + PAGE_OFFSET))
|
D | page.h | 188 # define pgd_val(x) ((x).pgd) macro 209 # define pgd_val(x) (x) macro
|
/arch/s390/include/asm/ |
D | pgtable.h | 123 printk("%s:%d: bad pgd %p.\n", __FILE__, __LINE__, (void *) pgd_val(e)) 445 if ((pgd_val(pgd) & _REGION_ENTRY_TYPE_MASK) < _REGION_ENTRY_TYPE_R2) in pgd_present() 447 return (pgd_val(pgd) & _REGION_ENTRY_ORIGIN) != 0UL; in pgd_present() 452 if ((pgd_val(pgd) & _REGION_ENTRY_TYPE_MASK) < _REGION_ENTRY_TYPE_R2) in pgd_none() 454 return (pgd_val(pgd) & _REGION_ENTRY_INV) != 0UL; in pgd_none() 467 return (pgd_val(pgd) & mask) != 0; in pgd_bad() 749 if ((pgd_val(*pgd) & _REGION_ENTRY_TYPE_MASK) == _REGION_ENTRY_TYPE_R2) in pgd_clear() 750 pgd_val(*pgd) = _REGION2_ENTRY_EMPTY; in pgd_clear() 1136 #define pgd_deref(pgd) (pgd_val(pgd) & _REGION_ENTRY_ORIGIN) 1141 if ((pgd_val(*pgd) & _REGION_ENTRY_TYPE_MASK) == _REGION_ENTRY_TYPE_R2) in pud_offset()
|
/arch/sparc/include/asm/ |
D | page_64.h | 70 #define pgd_val(x) ((x).pgd) macro 90 #define pgd_val(x) (x) macro
|
D | page_32.h | 73 #define pgd_val(x) ((x).pgd) macro 101 #define pgd_val(x) (x) macro
|
/arch/x86/mm/ |
D | dump_pagetables.c | 294 #define walk_pud_level(m,s,a,p) walk_pmd_level(m,s,__pud(pgd_val(a)),p) 295 #define pgd_large(a) pud_large(__pud(pgd_val(a))) 296 #define pgd_none(a) pud_none(__pud(pgd_val(a))) 314 pgprotval_t prot = pgd_val(*start) & PTE_FLAGS_MASK; in walk_pgd_level()
|
/arch/avr32/include/asm/ |
D | pgtable-2level.h | 25 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e))
|
/arch/parisc/include/asm/ |
D | page.h | 50 #define pgd_val(x) ((x).pgd + 0) macro 72 #define pgd_val(x) (x) macro
|
/arch/xtensa/mm/ |
D | fault.c | 190 pgd_val(*pgd) = pgd_val(*pgd_k); in do_page_fault()
|
/arch/microblaze/include/asm/ |
D | page.h | 107 # define pgd_val(x) ((x).pgd) macro 111 # define pgd_val(x) ((x).pge[0]) macro
|
/arch/m68k/mm/ |
D | sun3mmu.c | 73 pgd_val(*pg_dir) = (unsigned long) pg_table; in paging_init()
|