taglinefilesource code
pgd72arch/i386/kernel/vm86.cpgd_t *pgd;
pgd77arch/i386/kernel/vm86.cpgd = pgd_offset(tsk->mm, 0xA0000);
pgd78arch/i386/kernel/vm86.cif (pgd_none(*pgd))
pgd80arch/i386/kernel/vm86.cif (pgd_bad(*pgd)) {
pgd81arch/i386/kernel/vm86.cprintk("vm86: bad pgd entry [%p]:%08lx\n", pgd, pgd_val(*pgd));
pgd82arch/i386/kernel/vm86.cpgd_clear(pgd);
pgd85arch/i386/kernel/vm86.cpmd = pmd_offset(pgd, 0xA0000);
pgd87arch/ppc/mm/fault.cprintk("beforefault: pgd[0] = %x[%x]\n",current->mm->pgd,*(current->mm->pgd));
pgd91arch/ppc/mm/fault.cprintk("handled: pgd[0] = %x[%x]\n",current->mm->pgd,*(current->mm->pgd));
pgd135arch/ppc/mm/fault.ccurrent->mm, current->mm->pgd,
pgd136arch/ppc/mm/fault.ccurrent->mm->pgd+((regs->dar&PAGE_MASK) >> PGDIR_SHIFT));
pgd142arch/ppc/mm/fault.ccurrent->mm->pgd,dir,*dir,pmd,*pmd,pte);
pgd725arch/ppc/mm/init.cpgd_t *pgd;
pgd730arch/ppc/mm/init.cpgd = pgd_offset(current->mm, 0);
pgd731arch/ppc/mm/init.cif (!pgd) return;  /* No map? */
pgd735arch/ppc/mm/init.cif (*(long *)pgd)
pgd738arch/ppc/mm/init.c_pte = pte_offset(pmd_offset(pgd,0),0);
pgd759arch/ppc/mm/init.cpgd++;
pgd191arch/sparc/mm/fault.c(unsigned long) current->mm->pgd);
pgd118arch/sparc/mm/srmmu.cstatic unsigned long srmmu_pgd_page(pgd_t pgd)
pgd119arch/sparc/mm/srmmu.c{ return PAGE_OFFSET + ((pgd_val(pgd) & SRMMU_PTD_PMASK) << 4); }
pgd158arch/sparc/mm/srmmu.cstatic int srmmu_pgd_none(pgd_t pgd)          { return !pgd_val(pgd); }
pgd159arch/sparc/mm/srmmu.cstatic int srmmu_pgd_bad(pgd_t pgd)
pgd160arch/sparc/mm/srmmu.c{ return (pgd_val(pgd) & SRMMU_ET_MASK) != SRMMU_ET_PTD; }
pgd162arch/sparc/mm/srmmu.cstatic int srmmu_pgd_present(pgd_t pgd)
pgd163arch/sparc/mm/srmmu.c{ return ((pgd_val(pgd) & SRMMU_ET_MASK) == SRMMU_ET_PTD); }
pgd209arch/sparc/mm/srmmu.creturn mm->pgd + ((address >> SRMMU_PGDIR_SHIFT) & (SRMMU_PTRS_PER_PGD - 1));
pgd272arch/sparc/mm/srmmu.cstatic pmd_t *srmmu_pmd_alloc_kernel(pgd_t *pgd, unsigned long address)
pgd275arch/sparc/mm/srmmu.cif(srmmu_pgd_none(*pgd)) {
pgd277arch/sparc/mm/srmmu.cif(srmmu_pgd_none(*pgd)) {
pgd279arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, page);
pgd283arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, (pmd_t *) BAD_PAGETABLE);
pgd288arch/sparc/mm/srmmu.cif(srmmu_pgd_bad(*pgd)) {
pgd289arch/sparc/mm/srmmu.cprintk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd));
pgd290arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, (pmd_t *) BAD_PAGETABLE);
pgd293arch/sparc/mm/srmmu.creturn (pmd_t *) pgd_page(*pgd) + address;
pgd330arch/sparc/mm/srmmu.cstatic pmd_t *srmmu_pmd_alloc(pgd_t * pgd, unsigned long address)
pgd333arch/sparc/mm/srmmu.cif(srmmu_pgd_none(*pgd)) {
pgd335arch/sparc/mm/srmmu.cif(srmmu_pgd_none(*pgd)) {
pgd337arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, page);
pgd340arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, (pmd_t *) BAD_PAGETABLE);
pgd345arch/sparc/mm/srmmu.cif(srmmu_pgd_bad(*pgd)) {
pgd346arch/sparc/mm/srmmu.cprintk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd));
pgd347arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, (pmd_t *) BAD_PAGETABLE);
pgd350arch/sparc/mm/srmmu.creturn (pmd_t *) srmmu_pgd_page(*pgd) + address;
pgd353arch/sparc/mm/srmmu.cstatic void srmmu_pgd_free(pgd_t *pgd)
pgd355arch/sparc/mm/srmmu.cfree_page((unsigned long) pgd);
pgd705arch/sparc/mm/srmmu.csrmmu_ctxd_set(&srmmu_context_table[tsk->mm->context], tsk->mm->pgd);
pgd1149arch/sparc/mm/srmmu.csrmmu_ctxd_set(&srmmu_context_table[current->mm->context], current->mm->pgd);
pgd1136arch/sparc/mm/sun4c.cstatic int sun4c_pgd_none(pgd_t pgd)    { return 0; }
pgd1137arch/sparc/mm/sun4c.cstatic int sun4c_pgd_bad(pgd_t pgd)    { return 0; }
pgd1138arch/sparc/mm/sun4c.cstatic int sun4c_pgd_present(pgd_t pgd)          { return 1; }
pgd1189arch/sparc/mm/sun4c.creturn mm->pgd + (address >> SUN4C_PGDIR_SHIFT);
pgd1252arch/sparc/mm/sun4c.cstatic pmd_t *sun4c_pmd_alloc_kernel(pgd_t *pgd, unsigned long address)
pgd1254arch/sparc/mm/sun4c.creturn (pmd_t *) pgd;
pgd1294arch/sparc/mm/sun4c.cstatic pmd_t *sun4c_pmd_alloc(pgd_t * pgd, unsigned long address)
pgd1296arch/sparc/mm/sun4c.creturn (pmd_t *) pgd;
pgd1299arch/sparc/mm/sun4c.cstatic void sun4c_pgd_free(pgd_t *pgd)
pgd1301arch/sparc/mm/sun4c.cfree_page((unsigned long) pgd);
pgd769fs/proc/array.cstatic inline void statm_pmd_range(pgd_t * pgd, unsigned long address, unsigned long size,
pgd775fs/proc/array.cif (pgd_none(*pgd))
pgd777fs/proc/array.cif (pgd_bad(*pgd)) {
pgd778fs/proc/array.cprintk("statm_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd));
pgd779fs/proc/array.cpgd_clear(pgd);
pgd782fs/proc/array.cpmd = pmd_offset(pgd, address);
pgd794fs/proc/array.cstatic void statm_pgd_range(pgd_t * pgd, unsigned long address, unsigned long end,
pgd798fs/proc/array.cstatm_pmd_range(pgd, address, end - address, pages, shared, dirty, total);
pgd800fs/proc/array.cpgd++;
pgd815fs/proc/array.cpgd_t *pgd = pgd_offset(tsk->mm, vma->vm_start);
pgd818fs/proc/array.cstatm_pgd_range(pgd, vma->vm_start, vma->vm_end, &pages, &shared, &dirty, &total);
pgd34fs/umsdos/check.cstruct pgd * pg_dir;
pgd46fs/umsdos/check.cprintk ("|%d:%08lx| ",i, page_dir->pgd);
pgd19include/asm-alpha/page.htypedef struct { unsigned long pgd; } pgd_t;
pgd24include/asm-alpha/page.h#define pgd_val(x)  ((x).pgd)
pgd236include/asm-alpha/pgtable.hextern inline unsigned long pgd_page(pgd_t pgd)
pgd237include/asm-alpha/pgtable.h{ return PAGE_OFFSET + ((pgd_val(pgd) & _PFN_MASK) >> (32-PAGE_SHIFT)); }
pgd248include/asm-alpha/pgtable.hextern inline int pgd_none(pgd_t pgd)    { return !pgd_val(pgd); }
pgd249include/asm-alpha/pgtable.hextern inline int pgd_bad(pgd_t pgd)    { return (pgd_val(pgd) & ~_PFN_MASK) != _PAGE_TABLE || pgd_page(pgd) > high_memory; }
pgd250include/asm-alpha/pgtable.hextern inline int pgd_present(pgd_t pgd)  { return pgd_val(pgd) & _PAGE_VALID; }
pgd300include/asm-alpha/pgtable.hreturn mm->pgd + ((address >> PGDIR_SHIFT) & (PTRS_PER_PAGE - 1));
pgd353include/asm-alpha/pgtable.hextern inline pmd_t * pmd_alloc_kernel(pgd_t *pgd, unsigned long address)
pgd356include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd358include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd360include/asm-alpha/pgtable.hpgd_set(pgd, page);
pgd363include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd368include/asm-alpha/pgtable.hif (pgd_bad(*pgd)) {
pgd369include/asm-alpha/pgtable.hprintk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd));
pgd370include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd373include/asm-alpha/pgtable.hreturn (pmd_t *) pgd_page(*pgd) + address;
pgd409include/asm-alpha/pgtable.hextern inline pmd_t * pmd_alloc(pgd_t *pgd, unsigned long address)
pgd412include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd414include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd416include/asm-alpha/pgtable.hpgd_set(pgd, page);
pgd419include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd424include/asm-alpha/pgtable.hif (pgd_bad(*pgd)) {
pgd425include/asm-alpha/pgtable.hprintk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd));
pgd426include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd429include/asm-alpha/pgtable.hreturn (pmd_t *) pgd_page(*pgd) + address;
pgd432include/asm-alpha/pgtable.hextern inline void pgd_free(pgd_t * pgd)
pgd434include/asm-alpha/pgtable.hfree_page((unsigned long) pgd);
pgd19include/asm-i386/page.htypedef struct { unsigned long pgd; } pgd_t;
pgd24include/asm-i386/page.h#define pgd_val(x)  ((x).pgd)
pgd303include/asm-i386/pgtable.hextern inline int pgd_none(pgd_t pgd)    { return 0; }
pgd304include/asm-i386/pgtable.hextern inline int pgd_bad(pgd_t pgd)    { return 0; }
pgd305include/asm-i386/pgtable.hextern inline int pgd_present(pgd_t pgd)  { return 1; }
pgd348include/asm-i386/pgtable.hreturn mm->pgd + (address >> PGDIR_SHIFT);
pgd405include/asm-i386/pgtable.hextern inline pmd_t * pmd_alloc_kernel(pgd_t * pgd, unsigned long address)
pgd407include/asm-i386/pgtable.hreturn (pmd_t *) pgd;
pgd447include/asm-i386/pgtable.hextern inline pmd_t * pmd_alloc(pgd_t * pgd, unsigned long address)
pgd449include/asm-i386/pgtable.hreturn (pmd_t *) pgd;
pgd452include/asm-i386/pgtable.hextern inline void pgd_free(pgd_t * pgd)
pgd454include/asm-i386/pgtable.hfree_page((unsigned long) pgd);
pgd21include/asm-mips/page.htypedef struct { unsigned long pgd; } pgd_t;
pgd26include/asm-mips/page.h#define pgd_val(x)  ((x).pgd)
pgd255include/asm-mips/pgtable.hextern inline int pgd_none(pgd_t pgd)    { return 0; }
pgd256include/asm-mips/pgtable.hextern inline int pgd_bad(pgd_t pgd)    { return 0; }
pgd257include/asm-mips/pgtable.hextern inline int pgd_present(pgd_t pgd)  { return 1; }
pgd346include/asm-mips/pgtable.hreturn mm->pgd + (address >> PGDIR_SHIFT);
pgd414include/asm-mips/pgtable.hextern inline pmd_t * pmd_alloc_kernel(pgd_t * pgd, unsigned long address)
pgd416include/asm-mips/pgtable.hreturn (pmd_t *) pgd;
pgd464include/asm-mips/pgtable.hextern inline pmd_t * pmd_alloc(pgd_t * pgd, unsigned long address)
pgd466include/asm-mips/pgtable.hreturn (pmd_t *) pgd;
pgd469include/asm-mips/pgtable.hextern inline void pgd_free(pgd_t * pgd)
pgd471include/asm-mips/pgtable.hunsigned long page = (unsigned long) pgd;
pgd21include/asm-ppc/page.htypedef struct { unsigned long pgd; } pgd_t;
pgd26include/asm-ppc/page.h#define pgd_val(x)  ((x).pgd)
pgd228include/asm-ppc/pgtable.hextern inline int pgd_none(pgd_t pgd)    { return 0; }
pgd229include/asm-ppc/pgtable.hextern inline int pgd_bad(pgd_t pgd)    { return 0; }
pgd230include/asm-ppc/pgtable.hextern inline int pgd_present(pgd_t pgd)  { return 1; }
pgd290include/asm-ppc/pgtable.hreturn mm->pgd + (address >> PGDIR_SHIFT);
pgd420include/asm-ppc/pgtable.hextern inline pmd_t * pmd_alloc_kernel(pgd_t * pgd, unsigned long address)
pgd422include/asm-ppc/pgtable.hreturn (pmd_t *) pgd;
pgd461include/asm-ppc/pgtable.hextern inline pmd_t * pmd_alloc(pgd_t * pgd, unsigned long address)
pgd463include/asm-ppc/pgtable.hreturn (pmd_t *) pgd;
pgd466include/asm-ppc/pgtable.hextern inline void pgd_free(pgd_t * pgd)
pgd468include/asm-ppc/pgtable.hfree_page((unsigned long) pgd);
pgd55include/asm-sparc/page.htypedef struct { unsigned long pgd; } pgd_t;
pgd63include/asm-sparc/page.h#define pgd_val(x)  ((x).pgd)
pgd144include/linux/sched.hpgd_t * pgd;
pgd118kernel/fork.cSET_PAGE_DIR(tsk, current->mm->pgd);
pgd670mm/filemap.cstatic inline int filemap_sync_pmd_range(pgd_t * pgd,
pgd678mm/filemap.cif (pgd_none(*pgd))
pgd680mm/filemap.cif (pgd_bad(*pgd)) {
pgd681mm/filemap.cprintk("filemap_sync_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd));
pgd682mm/filemap.cpgd_clear(pgd);
pgd685mm/filemap.cpmd = pmd_offset(pgd, address);
pgd133mm/memory.cpage_dir = tsk->mm->pgd;
pgd154mm/memory.cpage_dir = tsk->mm->pgd;
pgd161mm/memory.ctsk->mm->pgd = swapper_pg_dir;  /* or else... */
pgd178mm/memory.ctsk->mm->pgd = new_pg;
pgd537mm/memory.cpgd_t * pgd;
pgd545mm/memory.cpgd = pgd_offset(tsk->mm,address);
pgd546mm/memory.cpmd = pmd_alloc(pgd, address);
pgd838mm/memory.cpgd_t *pgd;
pgd842mm/memory.cpgd = pgd_offset(tsk->mm, address);
pgd843mm/memory.cpmd = pmd_alloc(pgd, address);
pgd971mm/memory.cpgd_t *pgd;
pgd975mm/memory.cpgd = pgd_offset(vma->vm_mm, address);
pgd976mm/memory.cpmd = pmd_alloc(pgd, address);
pgd47mm/mprotect.cstatic inline void change_pmd_range(pgd_t * pgd, unsigned long address,
pgd53mm/mprotect.cif (pgd_none(*pgd))
pgd55mm/mprotect.cif (pgd_bad(*pgd)) {
pgd56mm/mprotect.cprintk("change_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd));
pgd57mm/mprotect.cpgd_clear(pgd);
pgd60mm/mprotect.cpmd = pmd_offset(pgd, address);
pgd24mm/mremap.cpgd_t * pgd;
pgd28mm/mremap.cpgd = pgd_offset(mm, addr);
pgd29mm/mremap.cif (pgd_none(*pgd))
pgd31mm/mremap.cif (pgd_bad(*pgd)) {
pgd32mm/mremap.cprintk("move_one_page: bad source pgd (%08lx)\n", pgd_val(*pgd));
pgd33mm/mremap.cpgd_clear(pgd);
pgd37mm/mremap.cpmd = pmd_offset(pgd, addr);
pgd277mm/swapfile.cpgd_t * pgd = pgd_offset(mm, vma->vm_start);
pgd278mm/swapfile.cif (unuse_vma(vma, pgd, vma->vm_start, vma->vm_end, type, page))