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);
pgd86arch/sparc/mm/srmmu.csrmmu_pgd_page(pgd_t pgd)
pgd90arch/sparc/mm/srmmu.cpage = (pgd_val(pgd) & (SRMMU_PTD_PTP_MASK)) << SRMMU_PTD_PTP_PADDR_SHIFT;
pgd130arch/sparc/mm/srmmu.cint srmmu_pgd_none(pgd_t pgd)    { return !pgd_val(pgd); }
pgd131arch/sparc/mm/srmmu.cint srmmu_pgd_bad(pgd_t pgd)
pgd133arch/sparc/mm/srmmu.creturn ((pgd_val(pgd)&SRMMU_ET_PTDBAD)==SRMMU_ET_PTDBAD) ||
pgd134arch/sparc/mm/srmmu.c(srmmu_pgd_page(pgd) > high_memory);
pgd136arch/sparc/mm/srmmu.cint srmmu_pgd_present(pgd_t pgd)  { return pgd_val(pgd) & SRMMU_ET_PTD; }
pgd306arch/sparc/mm/srmmu.csrmmu_pmd_alloc_kernel(pgd_t *pgd, unsigned long address)
pgd311arch/sparc/mm/srmmu.cif (srmmu_pgd_none(*pgd)) {
pgd313arch/sparc/mm/srmmu.cif (srmmu_pgd_none(*pgd)) {
pgd315arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, page);
pgd319arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD);
pgd324arch/sparc/mm/srmmu.cif (srmmu_pgd_bad(*pgd)) {
pgd325arch/sparc/mm/srmmu.cprintk("Bad pgd in pmd_alloc_kernel: %08lx\n", pgd_val(*pgd));
pgd326arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD);
pgd329arch/sparc/mm/srmmu.creturn (pmd_t *) srmmu_pgd_page(*pgd) + address;
pgd376arch/sparc/mm/srmmu.csrmmu_pmd_alloc(pgd_t * pgd, unsigned long address)
pgd381arch/sparc/mm/srmmu.cif (srmmu_pgd_none(*pgd)) {
pgd383arch/sparc/mm/srmmu.cif (srmmu_pgd_none(*pgd)) {
pgd385arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, page);
pgd389arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD);
pgd394arch/sparc/mm/srmmu.cif (srmmu_pgd_bad(*pgd)) {
pgd395arch/sparc/mm/srmmu.cprintk("Bad pgd in pmd_alloc_kernel: %08lx\n", pgd_val(*pgd));
pgd396arch/sparc/mm/srmmu.csrmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD);
pgd399arch/sparc/mm/srmmu.creturn (pmd_t *) srmmu_pgd_page(*pgd) + address;
pgd403arch/sparc/mm/srmmu.csrmmu_pgd_free(pgd_t *pgd)
pgd405arch/sparc/mm/srmmu.cfree_page((unsigned long) pgd);
pgd101arch/sparc/mm/sun4c.csun4c_pgd_page(pgd_t pgd)
pgd103arch/sparc/mm/sun4c.creturn ((pgd_val(pgd) & _SUN4C_PGD_PFN_MASK) << (_SUN4C_PGD_PAGE_SHIFT));
pgd138arch/sparc/mm/sun4c.cint sun4c_pgd_none(pgd_t pgd)    { return 0; }
pgd139arch/sparc/mm/sun4c.cint sun4c_pgd_bad(pgd_t pgd)    { return 0; }
pgd140arch/sparc/mm/sun4c.cint sun4c_pgd_present(pgd_t pgd)  { return 1; }
pgd288arch/sparc/mm/sun4c.csun4c_pmd_alloc_kernel(pgd_t *pgd, unsigned long address)
pgd290arch/sparc/mm/sun4c.creturn (pmd_t *) pgd;
pgd338arch/sparc/mm/sun4c.csun4c_pmd_alloc(pgd_t * pgd, unsigned long address)
pgd340arch/sparc/mm/sun4c.creturn (pmd_t *) pgd;
pgd345arch/sparc/mm/sun4c.csun4c_pgd_free(pgd_t *pgd)
pgd347arch/sparc/mm/sun4c.cfree_page((unsigned long) pgd);
pgd570fs/proc/array.cstatic inline void statm_pmd_range(pgd_t * pgd, unsigned long address, unsigned long size,
pgd576fs/proc/array.cif (pgd_none(*pgd))
pgd578fs/proc/array.cif (pgd_bad(*pgd)) {
pgd579fs/proc/array.cprintk("statm_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd));
pgd580fs/proc/array.cpgd_clear(pgd);
pgd583fs/proc/array.cpmd = pmd_offset(pgd, address);
pgd595fs/proc/array.cstatic void statm_pgd_range(pgd_t * pgd, unsigned long address, unsigned long end,
pgd599fs/proc/array.cstatm_pmd_range(pgd, address, end - address, pages, shared, dirty, total);
pgd601fs/proc/array.cpgd++;
pgd616fs/proc/array.cpgd_t *pgd = pgd_offset(tsk->mm, vma->vm_start);
pgd619fs/proc/array.cstatm_pgd_range(pgd, vma->vm_start, vma->vm_end, &pages, &shared, &dirty, &total);
pgd33fs/umsdos/check.cstruct pgd * pg_dir;
pgd45fs/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)
pgd169include/asm-alpha/pgtable.hextern inline unsigned long pgd_page(pgd_t pgd)
pgd170include/asm-alpha/pgtable.h{ return PAGE_OFFSET + ((pgd_val(pgd) & _PFN_MASK) >> (32-PAGE_SHIFT)); }
pgd193include/asm-alpha/pgtable.hextern inline int pgd_none(pgd_t pgd)    { return !pgd_val(pgd); }
pgd194include/asm-alpha/pgtable.hextern inline int pgd_bad(pgd_t pgd)    { return (pgd_val(pgd) & ~_PFN_MASK) != _PAGE_TABLE || pgd_page(pgd) > high_memory; }
pgd195include/asm-alpha/pgtable.hextern inline int pgd_present(pgd_t pgd)  { return pgd_val(pgd) & _PAGE_VALID; }
pgd249include/asm-alpha/pgtable.hreturn mm->pgd + ((address >> PGDIR_SHIFT) & (PTRS_PER_PAGE - 1));
pgd305include/asm-alpha/pgtable.hextern inline pmd_t * pmd_alloc_kernel(pgd_t *pgd, unsigned long address)
pgd308include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd310include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd312include/asm-alpha/pgtable.hpgd_set(pgd, page);
pgd316include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd321include/asm-alpha/pgtable.hif (pgd_bad(*pgd)) {
pgd322include/asm-alpha/pgtable.hprintk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd));
pgd323include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd326include/asm-alpha/pgtable.hreturn (pmd_t *) pgd_page(*pgd) + address;
pgd362include/asm-alpha/pgtable.hextern inline pmd_t * pmd_alloc(pgd_t *pgd, unsigned long address)
pgd365include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd367include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd369include/asm-alpha/pgtable.hpgd_set(pgd, page);
pgd372include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd377include/asm-alpha/pgtable.hif (pgd_bad(*pgd)) {
pgd378include/asm-alpha/pgtable.hprintk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd));
pgd379include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd382include/asm-alpha/pgtable.hreturn (pmd_t *) pgd_page(*pgd) + address;
pgd385include/asm-alpha/pgtable.hextern inline void pgd_free(pgd_t * pgd)
pgd387include/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)
pgd170include/asm-i386/pgtable.hextern inline int pgd_none(pgd_t pgd)    { return 0; }
pgd171include/asm-i386/pgtable.hextern inline int pgd_bad(pgd_t pgd)    { return 0; }
pgd172include/asm-i386/pgtable.hextern inline int pgd_present(pgd_t pgd)  { return 1; }
pgd219include/asm-i386/pgtable.hreturn mm->pgd + (address >> PGDIR_SHIFT);
pgd278include/asm-i386/pgtable.hextern inline pmd_t * pmd_alloc_kernel(pgd_t * pgd, unsigned long address)
pgd280include/asm-i386/pgtable.hreturn (pmd_t *) pgd;
pgd320include/asm-i386/pgtable.hextern inline pmd_t * pmd_alloc(pgd_t * pgd, unsigned long address)
pgd322include/asm-i386/pgtable.hreturn (pmd_t *) pgd;
pgd325include/asm-i386/pgtable.hextern inline void pgd_free(pgd_t * pgd)
pgd327include/asm-i386/pgtable.hfree_page((unsigned long) pgd);
pgd26include/asm-mips/page.htypedef struct { unsigned long pgd; } pgd_t;
pgd30include/asm-mips/page.h#define pgd_val(x)  ((x).pgd)
pgd192include/asm-mips/page.hextern inline int pgd_none(pgd_t pgd)    { return !pgd_val(pgd); }
pgd193include/asm-mips/page.hextern inline int pgd_bad(pgd_t pgd)    { return (pgd_val(pgd) & ~PAGE_MASK) != _PAGE_TABLE || pgd_val(pgd) > high_memory; }
pgd194include/asm-mips/page.hextern inline int pgd_present(pgd_t pgd)  { return pgd_val(pgd) & _PAGE_PRESENT; }
pgd232include/asm-mips/page.hextern inline unsigned long pgd_page(pgd_t pgd)  { return pgd_val(pgd) & PAGE_MASK; }
pgd49include/asm-sparc/page.htypedef struct { unsigned long pgd; } pgd_t;
pgd54include/asm-sparc/page.h#define pgd_val(x)  ((x).pgd)
pgd130include/linux/sched.hpgd_t * pgd;
pgd117kernel/fork.cSET_PAGE_DIR(tsk, current->mm->pgd);
pgd234mm/filemap.cstatic inline int filemap_sync_pmd_range(pgd_t * pgd,
pgd242mm/filemap.cif (pgd_none(*pgd))
pgd244mm/filemap.cif (pgd_bad(*pgd)) {
pgd245mm/filemap.cprintk("filemap_sync_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd));
pgd246mm/filemap.cpgd_clear(pgd);
pgd249mm/filemap.cpmd = pmd_offset(pgd, address);
pgd133mm/memory.ctsk->mm->pgd = new_pg;
pgd182mm/memory.cpage_dir = tsk->mm->pgd;
pgd192mm/memory.ctsk->mm->pgd = swapper_pg_dir;  /* or else... */
pgd555mm/memory.cpgd_t * pgd;
pgd563mm/memory.cpgd = pgd_offset(tsk->mm,address);
pgd564mm/memory.cpmd = pmd_alloc(pgd, address);
pgd1044mm/memory.cpgd_t *pgd;
pgd1048mm/memory.cpgd = pgd_offset(tsk->mm, address);
pgd1049mm/memory.cpmd = pmd_alloc(pgd, address);
pgd1190mm/memory.cpgd_t *pgd;
pgd1194mm/memory.cpgd = pgd_offset(vma->vm_mm, address);
pgd1195mm/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);
pgd1013mm/swap.cif (!p->mm || pgd_inuse(p->mm->pgd))
pgd1017mm/swap.cpgd_t * pgd = pgd_offset(p->mm, vma->vm_start);
pgd1018mm/swap.cif (unuse_vma(vma, pgd, vma->vm_start, vma->vm_end, type, page))