tag | line | file | source code |
pgd | 72 | arch/i386/kernel/vm86.c | pgd_t *pgd; |
pgd | 77 | arch/i386/kernel/vm86.c | pgd = pgd_offset(tsk->mm, 0xA0000); |
pgd | 78 | arch/i386/kernel/vm86.c | if (pgd_none(*pgd)) |
pgd | 80 | arch/i386/kernel/vm86.c | if (pgd_bad(*pgd)) { |
pgd | 81 | arch/i386/kernel/vm86.c | printk("vm86: bad pgd entry [%p]:%08lx\n", pgd, pgd_val(*pgd)); |
pgd | 82 | arch/i386/kernel/vm86.c | pgd_clear(pgd); |
pgd | 85 | arch/i386/kernel/vm86.c | pmd = pmd_offset(pgd, 0xA0000); |
pgd | 87 | arch/ppc/mm/fault.c | printk("beforefault: pgd[0] = %x[%x]\n",current->mm->pgd,*(current->mm->pgd)); |
pgd | 91 | arch/ppc/mm/fault.c | printk("handled: pgd[0] = %x[%x]\n",current->mm->pgd,*(current->mm->pgd)); |
pgd | 135 | arch/ppc/mm/fault.c | current->mm, current->mm->pgd, |
pgd | 136 | arch/ppc/mm/fault.c | current->mm->pgd+((regs->dar&PAGE_MASK) >> PGDIR_SHIFT)); |
pgd | 142 | arch/ppc/mm/fault.c | current->mm->pgd,dir,*dir,pmd,*pmd,pte); |
pgd | 725 | arch/ppc/mm/init.c | pgd_t *pgd; |
pgd | 730 | arch/ppc/mm/init.c | pgd = pgd_offset(current->mm, 0); |
pgd | 731 | arch/ppc/mm/init.c | if (!pgd) return; /* No map? */ |
pgd | 735 | arch/ppc/mm/init.c | if (*(long *)pgd) |
pgd | 738 | arch/ppc/mm/init.c | _pte = pte_offset(pmd_offset(pgd,0),0); |
pgd | 759 | arch/ppc/mm/init.c | pgd++; |
pgd | 40 | arch/sparc/mm/srmmu.c | srmmu_pgd_page(pgd_t pgd) |
pgd | 44 | arch/sparc/mm/srmmu.c | page = (pgd_val(pgd) & (SRMMU_PTD_PTP_MASK)) << SRMMU_PTD_PTP_PADDR_SHIFT; |
pgd | 83 | arch/sparc/mm/srmmu.c | int srmmu_pgd_none(pgd_t pgd) { return !pgd_val(pgd); } |
pgd | 84 | arch/sparc/mm/srmmu.c | int srmmu_pgd_bad(pgd_t pgd) |
pgd | 86 | arch/sparc/mm/srmmu.c | return ((pgd_val(pgd)&SRMMU_ET_PTDBAD)==SRMMU_ET_PTDBAD) || |
pgd | 87 | arch/sparc/mm/srmmu.c | (srmmu_pgd_page(pgd) > high_memory); |
pgd | 89 | arch/sparc/mm/srmmu.c | int srmmu_pgd_present(pgd_t pgd) { return pgd_val(pgd) & SRMMU_ET_PTD; } |
pgd | 172 | arch/sparc/mm/srmmu.c | return mm->pgd + ((address >> SRMMU_PGDIR_SHIFT) & (SRMMU_PTRS_PER_PGD - 1)); |
pgd | 258 | arch/sparc/mm/srmmu.c | srmmu_pmd_alloc_kernel(pgd_t *pgd, unsigned long address) |
pgd | 263 | arch/sparc/mm/srmmu.c | if (srmmu_pgd_none(*pgd)) { |
pgd | 265 | arch/sparc/mm/srmmu.c | if (srmmu_pgd_none(*pgd)) { |
pgd | 267 | arch/sparc/mm/srmmu.c | srmmu_pgd_set(pgd, page); |
pgd | 271 | arch/sparc/mm/srmmu.c | srmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD); |
pgd | 276 | arch/sparc/mm/srmmu.c | if (srmmu_pgd_bad(*pgd)) { |
pgd | 277 | arch/sparc/mm/srmmu.c | printk("Bad pgd in pmd_alloc_kernel: %08lx\n", pgd_val(*pgd)); |
pgd | 278 | arch/sparc/mm/srmmu.c | srmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD); |
pgd | 281 | arch/sparc/mm/srmmu.c | return (pmd_t *) srmmu_pgd_page(*pgd) + address; |
pgd | 327 | arch/sparc/mm/srmmu.c | srmmu_pmd_alloc(pgd_t * pgd, unsigned long address) |
pgd | 332 | arch/sparc/mm/srmmu.c | if (srmmu_pgd_none(*pgd)) { |
pgd | 334 | arch/sparc/mm/srmmu.c | if (srmmu_pgd_none(*pgd)) { |
pgd | 336 | arch/sparc/mm/srmmu.c | srmmu_pgd_set(pgd, page); |
pgd | 339 | arch/sparc/mm/srmmu.c | srmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD); |
pgd | 344 | arch/sparc/mm/srmmu.c | if (srmmu_pgd_bad(*pgd)) { |
pgd | 345 | arch/sparc/mm/srmmu.c | printk("Bad pgd in pmd_alloc_kernel: %08lx\n", pgd_val(*pgd)); |
pgd | 346 | arch/sparc/mm/srmmu.c | srmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD); |
pgd | 349 | arch/sparc/mm/srmmu.c | return (pmd_t *) srmmu_pgd_page(*pgd) + address; |
pgd | 353 | arch/sparc/mm/srmmu.c | srmmu_pgd_free(pgd_t *pgd) |
pgd | 355 | arch/sparc/mm/srmmu.c | free_page((unsigned long) pgd); |
pgd | 87 | arch/sparc/mm/sun4c.c | int sun4c_pgd_none(pgd_t pgd) { return 0; } |
pgd | 88 | arch/sparc/mm/sun4c.c | int sun4c_pgd_bad(pgd_t pgd) { return 0; } |
pgd | 89 | arch/sparc/mm/sun4c.c | int sun4c_pgd_present(pgd_t pgd) { return 1; } |
pgd | 144 | arch/sparc/mm/sun4c.c | return mm->pgd + (address >> SUN4C_PGDIR_SHIFT); |
pgd | 414 | arch/sparc/mm/sun4c.c | pmd_t *sun4c_pmd_alloc_kernel(pgd_t *pgd, unsigned long address) |
pgd | 416 | arch/sparc/mm/sun4c.c | return (pmd_t *) pgd; |
pgd | 456 | arch/sparc/mm/sun4c.c | pmd_t *sun4c_pmd_alloc(pgd_t * pgd, unsigned long address) |
pgd | 458 | arch/sparc/mm/sun4c.c | return (pmd_t *) pgd; |
pgd | 461 | arch/sparc/mm/sun4c.c | void sun4c_pgd_free(pgd_t *pgd) |
pgd | 463 | arch/sparc/mm/sun4c.c | free_page((unsigned long) pgd); |
pgd | 591 | fs/proc/array.c | static inline void statm_pmd_range(pgd_t * pgd, unsigned long address, unsigned long size, |
pgd | 597 | fs/proc/array.c | if (pgd_none(*pgd)) |
pgd | 599 | fs/proc/array.c | if (pgd_bad(*pgd)) { |
pgd | 600 | fs/proc/array.c | printk("statm_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd)); |
pgd | 601 | fs/proc/array.c | pgd_clear(pgd); |
pgd | 604 | fs/proc/array.c | pmd = pmd_offset(pgd, address); |
pgd | 616 | fs/proc/array.c | static void statm_pgd_range(pgd_t * pgd, unsigned long address, unsigned long end, |
pgd | 620 | fs/proc/array.c | statm_pmd_range(pgd, address, end - address, pages, shared, dirty, total); |
pgd | 622 | fs/proc/array.c | pgd++; |
pgd | 637 | fs/proc/array.c | pgd_t *pgd = pgd_offset(tsk->mm, vma->vm_start); |
pgd | 640 | fs/proc/array.c | statm_pgd_range(pgd, vma->vm_start, vma->vm_end, &pages, &shared, &dirty, &total); |
pgd | 35 | fs/umsdos/check.c | struct pgd * pg_dir; |
pgd | 47 | fs/umsdos/check.c | printk ("|%d:%08lx| ",i, page_dir->pgd); |
pgd | 19 | include/asm-alpha/page.h | typedef struct { unsigned long pgd; } pgd_t; |
pgd | 24 | include/asm-alpha/page.h | #define pgd_val(x) ((x).pgd) |
pgd | 236 | include/asm-alpha/pgtable.h | extern inline unsigned long pgd_page(pgd_t pgd) |
pgd | 237 | include/asm-alpha/pgtable.h | { return PAGE_OFFSET + ((pgd_val(pgd) & _PFN_MASK) >> (32-PAGE_SHIFT)); } |
pgd | 260 | include/asm-alpha/pgtable.h | extern inline int pgd_none(pgd_t pgd) { return !pgd_val(pgd); } |
pgd | 261 | include/asm-alpha/pgtable.h | extern inline int pgd_bad(pgd_t pgd) { return (pgd_val(pgd) & ~_PFN_MASK) != _PAGE_TABLE || pgd_page(pgd) > high_memory; } |
pgd | 262 | include/asm-alpha/pgtable.h | extern inline int pgd_present(pgd_t pgd) { return pgd_val(pgd) & _PAGE_VALID; } |
pgd | 313 | include/asm-alpha/pgtable.h | return mm->pgd + ((address >> PGDIR_SHIFT) & (PTRS_PER_PAGE - 1)); |
pgd | 369 | include/asm-alpha/pgtable.h | extern inline pmd_t * pmd_alloc_kernel(pgd_t *pgd, unsigned long address) |
pgd | 372 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 374 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 376 | include/asm-alpha/pgtable.h | pgd_set(pgd, page); |
pgd | 380 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 385 | include/asm-alpha/pgtable.h | if (pgd_bad(*pgd)) { |
pgd | 386 | include/asm-alpha/pgtable.h | printk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd)); |
pgd | 387 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 390 | include/asm-alpha/pgtable.h | return (pmd_t *) pgd_page(*pgd) + address; |
pgd | 426 | include/asm-alpha/pgtable.h | extern inline pmd_t * pmd_alloc(pgd_t *pgd, unsigned long address) |
pgd | 429 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 431 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 433 | include/asm-alpha/pgtable.h | pgd_set(pgd, page); |
pgd | 436 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 441 | include/asm-alpha/pgtable.h | if (pgd_bad(*pgd)) { |
pgd | 442 | include/asm-alpha/pgtable.h | printk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd)); |
pgd | 443 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 446 | include/asm-alpha/pgtable.h | return (pmd_t *) pgd_page(*pgd) + address; |
pgd | 449 | include/asm-alpha/pgtable.h | extern inline void pgd_free(pgd_t * pgd) |
pgd | 451 | include/asm-alpha/pgtable.h | free_page((unsigned long) pgd); |
pgd | 19 | include/asm-i386/page.h | typedef struct { unsigned long pgd; } pgd_t; |
pgd | 24 | include/asm-i386/page.h | #define pgd_val(x) ((x).pgd) |
pgd | 262 | include/asm-i386/pgtable.h | extern inline int pgd_none(pgd_t pgd) { return 0; } |
pgd | 263 | include/asm-i386/pgtable.h | extern inline int pgd_bad(pgd_t pgd) { return 0; } |
pgd | 264 | include/asm-i386/pgtable.h | extern inline int pgd_present(pgd_t pgd) { return 1; } |
pgd | 308 | include/asm-i386/pgtable.h | return mm->pgd + (address >> PGDIR_SHIFT); |
pgd | 367 | include/asm-i386/pgtable.h | extern inline pmd_t * pmd_alloc_kernel(pgd_t * pgd, unsigned long address) |
pgd | 369 | include/asm-i386/pgtable.h | return (pmd_t *) pgd; |
pgd | 409 | include/asm-i386/pgtable.h | extern inline pmd_t * pmd_alloc(pgd_t * pgd, unsigned long address) |
pgd | 411 | include/asm-i386/pgtable.h | return (pmd_t *) pgd; |
pgd | 414 | include/asm-i386/pgtable.h | extern inline void pgd_free(pgd_t * pgd) |
pgd | 416 | include/asm-i386/pgtable.h | free_page((unsigned long) pgd); |
pgd | 21 | include/asm-mips/page.h | typedef struct { unsigned long pgd; } pgd_t; |
pgd | 26 | include/asm-mips/page.h | #define pgd_val(x) ((x).pgd) |
pgd | 255 | include/asm-mips/pgtable.h | extern inline int pgd_none(pgd_t pgd) { return 0; } |
pgd | 256 | include/asm-mips/pgtable.h | extern inline int pgd_bad(pgd_t pgd) { return 0; } |
pgd | 257 | include/asm-mips/pgtable.h | extern inline int pgd_present(pgd_t pgd) { return 1; } |
pgd | 346 | include/asm-mips/pgtable.h | return mm->pgd + (address >> PGDIR_SHIFT); |
pgd | 414 | include/asm-mips/pgtable.h | extern inline pmd_t * pmd_alloc_kernel(pgd_t * pgd, unsigned long address) |
pgd | 416 | include/asm-mips/pgtable.h | return (pmd_t *) pgd; |
pgd | 464 | include/asm-mips/pgtable.h | extern inline pmd_t * pmd_alloc(pgd_t * pgd, unsigned long address) |
pgd | 466 | include/asm-mips/pgtable.h | return (pmd_t *) pgd; |
pgd | 469 | include/asm-mips/pgtable.h | extern inline void pgd_free(pgd_t * pgd) |
pgd | 471 | include/asm-mips/pgtable.h | unsigned long page = (unsigned long) pgd; |
pgd | 21 | include/asm-ppc/page.h | typedef struct { unsigned long pgd; } pgd_t; |
pgd | 26 | include/asm-ppc/page.h | #define pgd_val(x) ((x).pgd) |
pgd | 228 | include/asm-ppc/pgtable.h | extern inline int pgd_none(pgd_t pgd) { return 0; } |
pgd | 229 | include/asm-ppc/pgtable.h | extern inline int pgd_bad(pgd_t pgd) { return 0; } |
pgd | 230 | include/asm-ppc/pgtable.h | extern inline int pgd_present(pgd_t pgd) { return 1; } |
pgd | 290 | include/asm-ppc/pgtable.h | return mm->pgd + (address >> PGDIR_SHIFT); |
pgd | 420 | include/asm-ppc/pgtable.h | extern inline pmd_t * pmd_alloc_kernel(pgd_t * pgd, unsigned long address) |
pgd | 422 | include/asm-ppc/pgtable.h | return (pmd_t *) pgd; |
pgd | 461 | include/asm-ppc/pgtable.h | extern inline pmd_t * pmd_alloc(pgd_t * pgd, unsigned long address) |
pgd | 463 | include/asm-ppc/pgtable.h | return (pmd_t *) pgd; |
pgd | 466 | include/asm-ppc/pgtable.h | extern inline void pgd_free(pgd_t * pgd) |
pgd | 468 | include/asm-ppc/pgtable.h | free_page((unsigned long) pgd); |
pgd | 52 | include/asm-sparc/page.h | typedef struct { unsigned long pgd; } pgd_t; |
pgd | 57 | include/asm-sparc/page.h | #define pgd_val(x) ((x).pgd) |
pgd | 139 | include/linux/sched.h | pgd_t * pgd; |
pgd | 117 | kernel/fork.c | SET_PAGE_DIR(tsk, current->mm->pgd); |
pgd | 603 | mm/filemap.c | static inline int filemap_sync_pmd_range(pgd_t * pgd, |
pgd | 611 | mm/filemap.c | if (pgd_none(*pgd)) |
pgd | 613 | mm/filemap.c | if (pgd_bad(*pgd)) { |
pgd | 614 | mm/filemap.c | printk("filemap_sync_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd)); |
pgd | 615 | mm/filemap.c | pgd_clear(pgd); |
pgd | 618 | mm/filemap.c | pmd = pmd_offset(pgd, address); |
pgd | 143 | mm/memory.c | page_dir = tsk->mm->pgd; |
pgd | 164 | mm/memory.c | page_dir = tsk->mm->pgd; |
pgd | 171 | mm/memory.c | tsk->mm->pgd = swapper_pg_dir; /* or else... */ |
pgd | 189 | mm/memory.c | tsk->mm->pgd = new_pg; |
pgd | 544 | mm/memory.c | pgd_t * pgd; |
pgd | 552 | mm/memory.c | pgd = pgd_offset(tsk->mm,address); |
pgd | 553 | mm/memory.c | pmd = pmd_alloc(pgd, address); |
pgd | 838 | mm/memory.c | pgd_t *pgd; |
pgd | 842 | mm/memory.c | pgd = pgd_offset(tsk->mm, address); |
pgd | 843 | mm/memory.c | pmd = pmd_alloc(pgd, address); |
pgd | 973 | mm/memory.c | pgd_t *pgd; |
pgd | 977 | mm/memory.c | pgd = pgd_offset(vma->vm_mm, address); |
pgd | 978 | mm/memory.c | pmd = pmd_alloc(pgd, address); |
pgd | 47 | mm/mprotect.c | static inline void change_pmd_range(pgd_t * pgd, unsigned long address, |
pgd | 53 | mm/mprotect.c | if (pgd_none(*pgd)) |
pgd | 55 | mm/mprotect.c | if (pgd_bad(*pgd)) { |
pgd | 56 | mm/mprotect.c | printk("change_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd)); |
pgd | 57 | mm/mprotect.c | pgd_clear(pgd); |
pgd | 60 | mm/mprotect.c | pmd = pmd_offset(pgd, address); |
pgd | 237 | mm/swapfile.c | if (!p->mm || pgd_inuse(p->mm->pgd)) |
pgd | 241 | mm/swapfile.c | pgd_t * pgd = pgd_offset(p->mm, vma->vm_start); |
pgd | 242 | mm/swapfile.c | if (unuse_vma(vma, pgd, vma->vm_start, vma->vm_end, type, page)) |