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++;
pgd40arch/sparc/mm/srmmu.csrmmu_pgd_page(pgd_t pgd)
pgd44arch/sparc/mm/srmmu.cpage = (pgd_val(pgd) & (SRMMU_PTD_PTP_MASK)) << SRMMU_PTD_PTP_PADDR_SHIFT;
pgd83arch/sparc/mm/srmmu.cint srmmu_pgd_none(pgd_t pgd)    { return !pgd_val(pgd); }
pgd84arch/sparc/mm/srmmu.cint srmmu_pgd_bad(pgd_t pgd)
pgd86arch/sparc/mm/srmmu.creturn ((pgd_val(pgd)&SRMMU_ET_PTDBAD)==SRMMU_ET_PTDBAD) ||
pgd87arch/sparc/mm/srmmu.c(srmmu_pgd_page(pgd) > high_memory);
pgd89arch/sparc/mm/srmmu.cint srmmu_pgd_present(pgd_t pgd)  { return pgd_val(pgd) & SRMMU_ET_PTD; }
pgd172arch/sparc/mm/srmmu.creturn mm->pgd + ((address >> SRMMU_PGDIR_SHIFT) & (SRMMU_PTRS_PER_PGD - 1));
pgd258arch/sparc/mm/srmmu.csrmmu_pmd_alloc_kernel(pgd_t *pgd, unsigned long address)
pgd263arch/sparc/mm/srmmu.cif (srmmu_pgd_none(*pgd)) {
pgd265arch/sparc/mm/srmmu.cif (srmmu_pgd_none(*pgd)) {
pgd267arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, page);
pgd271arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD);
pgd276arch/sparc/mm/srmmu.cif (srmmu_pgd_bad(*pgd)) {
pgd277arch/sparc/mm/srmmu.cprintk("Bad pgd in pmd_alloc_kernel: %08lx\n", pgd_val(*pgd));
pgd278arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD);
pgd281arch/sparc/mm/srmmu.creturn (pmd_t *) srmmu_pgd_page(*pgd) + address;
pgd327arch/sparc/mm/srmmu.csrmmu_pmd_alloc(pgd_t * pgd, unsigned long address)
pgd332arch/sparc/mm/srmmu.cif (srmmu_pgd_none(*pgd)) {
pgd334arch/sparc/mm/srmmu.cif (srmmu_pgd_none(*pgd)) {
pgd336arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, page);
pgd339arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD);
pgd344arch/sparc/mm/srmmu.cif (srmmu_pgd_bad(*pgd)) {
pgd345arch/sparc/mm/srmmu.cprintk("Bad pgd in pmd_alloc_kernel: %08lx\n", pgd_val(*pgd));
pgd346arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD);
pgd349arch/sparc/mm/srmmu.creturn (pmd_t *) srmmu_pgd_page(*pgd) + address;
pgd353arch/sparc/mm/srmmu.csrmmu_pgd_free(pgd_t *pgd)
pgd355arch/sparc/mm/srmmu.cfree_page((unsigned long) pgd);
pgd87arch/sparc/mm/sun4c.cint sun4c_pgd_none(pgd_t pgd)    { return 0; }
pgd88arch/sparc/mm/sun4c.cint sun4c_pgd_bad(pgd_t pgd)    { return 0; }
pgd89arch/sparc/mm/sun4c.cint sun4c_pgd_present(pgd_t pgd)  { return 1; }
pgd144arch/sparc/mm/sun4c.creturn mm->pgd + (address >> SUN4C_PGDIR_SHIFT);
pgd414arch/sparc/mm/sun4c.cpmd_t *sun4c_pmd_alloc_kernel(pgd_t *pgd, unsigned long address)
pgd416arch/sparc/mm/sun4c.creturn (pmd_t *) pgd;
pgd456arch/sparc/mm/sun4c.cpmd_t *sun4c_pmd_alloc(pgd_t * pgd, unsigned long address)
pgd458arch/sparc/mm/sun4c.creturn (pmd_t *) pgd;
pgd461arch/sparc/mm/sun4c.cvoid sun4c_pgd_free(pgd_t *pgd)
pgd463arch/sparc/mm/sun4c.cfree_page((unsigned long) pgd);
pgd590fs/proc/array.cstatic inline void statm_pmd_range(pgd_t * pgd, unsigned long address, unsigned long size,
pgd596fs/proc/array.cif (pgd_none(*pgd))
pgd598fs/proc/array.cif (pgd_bad(*pgd)) {
pgd599fs/proc/array.cprintk("statm_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd));
pgd600fs/proc/array.cpgd_clear(pgd);
pgd603fs/proc/array.cpmd = pmd_offset(pgd, address);
pgd615fs/proc/array.cstatic void statm_pgd_range(pgd_t * pgd, unsigned long address, unsigned long end,
pgd619fs/proc/array.cstatm_pmd_range(pgd, address, end - address, pages, shared, dirty, total);
pgd621fs/proc/array.cpgd++;
pgd636fs/proc/array.cpgd_t *pgd = pgd_offset(tsk->mm, vma->vm_start);
pgd639fs/proc/array.cstatm_pgd_range(pgd, vma->vm_start, vma->vm_end, &pages, &shared, &dirty, &total);
pgd35fs/umsdos/check.cstruct pgd * pg_dir;
pgd47fs/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)
pgd231include/asm-alpha/pgtable.hextern inline unsigned long pgd_page(pgd_t pgd)
pgd232include/asm-alpha/pgtable.h{ return PAGE_OFFSET + ((pgd_val(pgd) & _PFN_MASK) >> (32-PAGE_SHIFT)); }
pgd255include/asm-alpha/pgtable.hextern inline int pgd_none(pgd_t pgd)    { return !pgd_val(pgd); }
pgd256include/asm-alpha/pgtable.hextern inline int pgd_bad(pgd_t pgd)    { return (pgd_val(pgd) & ~_PFN_MASK) != _PAGE_TABLE || pgd_page(pgd) > high_memory; }
pgd257include/asm-alpha/pgtable.hextern inline int pgd_present(pgd_t pgd)  { return pgd_val(pgd) & _PAGE_VALID; }
pgd308include/asm-alpha/pgtable.hreturn mm->pgd + ((address >> PGDIR_SHIFT) & (PTRS_PER_PAGE - 1));
pgd364include/asm-alpha/pgtable.hextern inline pmd_t * pmd_alloc_kernel(pgd_t *pgd, unsigned long address)
pgd367include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd369include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd371include/asm-alpha/pgtable.hpgd_set(pgd, page);
pgd375include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd380include/asm-alpha/pgtable.hif (pgd_bad(*pgd)) {
pgd381include/asm-alpha/pgtable.hprintk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd));
pgd382include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd385include/asm-alpha/pgtable.hreturn (pmd_t *) pgd_page(*pgd) + address;
pgd421include/asm-alpha/pgtable.hextern inline pmd_t * pmd_alloc(pgd_t *pgd, unsigned long address)
pgd424include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd426include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd428include/asm-alpha/pgtable.hpgd_set(pgd, page);
pgd431include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd436include/asm-alpha/pgtable.hif (pgd_bad(*pgd)) {
pgd437include/asm-alpha/pgtable.hprintk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd));
pgd438include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd441include/asm-alpha/pgtable.hreturn (pmd_t *) pgd_page(*pgd) + address;
pgd444include/asm-alpha/pgtable.hextern inline void pgd_free(pgd_t * pgd)
pgd446include/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)
pgd262include/asm-i386/pgtable.hextern inline int pgd_none(pgd_t pgd)    { return 0; }
pgd263include/asm-i386/pgtable.hextern inline int pgd_bad(pgd_t pgd)    { return 0; }
pgd264include/asm-i386/pgtable.hextern inline int pgd_present(pgd_t pgd)  { return 1; }
pgd308include/asm-i386/pgtable.hreturn mm->pgd + (address >> PGDIR_SHIFT);
pgd367include/asm-i386/pgtable.hextern inline pmd_t * pmd_alloc_kernel(pgd_t * pgd, unsigned long address)
pgd369include/asm-i386/pgtable.hreturn (pmd_t *) pgd;
pgd409include/asm-i386/pgtable.hextern inline pmd_t * pmd_alloc(pgd_t * pgd, unsigned long address)
pgd411include/asm-i386/pgtable.hreturn (pmd_t *) pgd;
pgd414include/asm-i386/pgtable.hextern inline void pgd_free(pgd_t * pgd)
pgd416include/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);
pgd52include/asm-sparc/page.htypedef struct { unsigned long pgd; } pgd_t;
pgd57include/asm-sparc/page.h#define pgd_val(x)  ((x).pgd)
pgd135include/linux/sched.hpgd_t * pgd;
pgd117kernel/fork.cSET_PAGE_DIR(tsk, current->mm->pgd);
pgd503mm/filemap.cstatic inline int filemap_sync_pmd_range(pgd_t * pgd,
pgd511mm/filemap.cif (pgd_none(*pgd))
pgd513mm/filemap.cif (pgd_bad(*pgd)) {
pgd514mm/filemap.cprintk("filemap_sync_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd));
pgd515mm/filemap.cpgd_clear(pgd);
pgd518mm/filemap.cpmd = pmd_offset(pgd, address);
pgd142mm/memory.cpage_dir = tsk->mm->pgd;
pgd163mm/memory.cpage_dir = tsk->mm->pgd;
pgd170mm/memory.ctsk->mm->pgd = swapper_pg_dir;  /* or else... */
pgd188mm/memory.ctsk->mm->pgd = new_pg;
pgd543mm/memory.cpgd_t * pgd;
pgd551mm/memory.cpgd = pgd_offset(tsk->mm,address);
pgd552mm/memory.cpmd = pmd_alloc(pgd, address);
pgd837mm/memory.cpgd_t *pgd;
pgd841mm/memory.cpgd = pgd_offset(tsk->mm, address);
pgd842mm/memory.cpmd = pmd_alloc(pgd, address);
pgd974mm/memory.cpgd_t *pgd;
pgd978mm/memory.cpgd = pgd_offset(vma->vm_mm, address);
pgd979mm/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);
pgd1014mm/swap.cif (!p->mm || pgd_inuse(p->mm->pgd))
pgd1018mm/swap.cpgd_t * pgd = pgd_offset(p->mm, vma->vm_start);
pgd1019mm/swap.cif (unuse_vma(vma, pgd, vma->vm_start, vma->vm_end, type, page))