taglinefilesource code
pgd72arch/i386/kernel/vm86.cpgd_t *pgd;
pgd77arch/i386/kernel/vm86.cpgd = pgd_offset(tsk, 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);
pgd512fs/proc/array.cstatic inline void statm_pmd_range(pgd_t * pgd, unsigned long address, unsigned long size,
pgd518fs/proc/array.cif (pgd_none(*pgd))
pgd520fs/proc/array.cif (pgd_bad(*pgd)) {
pgd521fs/proc/array.cprintk("statm_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd));
pgd522fs/proc/array.cpgd_clear(pgd);
pgd525fs/proc/array.cpmd = pmd_offset(pgd, address);
pgd537fs/proc/array.cstatic void statm_pgd_range(pgd_t * pgd, unsigned long address, unsigned long end,
pgd541fs/proc/array.cstatm_pmd_range(pgd, address, end - address, pages, shared, dirty, total);
pgd543fs/proc/array.cpgd++;
pgd558fs/proc/array.cpgd_t *pgd = pgd_offset(*p, vma->vm_start);
pgd561fs/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; }
pgd311include/asm-alpha/pgtable.hextern inline pmd_t * pmd_alloc_kernel(pgd_t *pgd, unsigned long address)
pgd314include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd316include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd318include/asm-alpha/pgtable.hpgd_set(pgd, page);
pgd322include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd327include/asm-alpha/pgtable.hif (pgd_bad(*pgd)) {
pgd328include/asm-alpha/pgtable.hprintk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd));
pgd329include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd332include/asm-alpha/pgtable.hreturn (pmd_t *) pgd_page(*pgd) + address;
pgd368include/asm-alpha/pgtable.hextern inline pmd_t * pmd_alloc(pgd_t *pgd, unsigned long address)
pgd371include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd373include/asm-alpha/pgtable.hif (pgd_none(*pgd)) {
pgd375include/asm-alpha/pgtable.hpgd_set(pgd, page);
pgd378include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd383include/asm-alpha/pgtable.hif (pgd_bad(*pgd)) {
pgd384include/asm-alpha/pgtable.hprintk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd));
pgd385include/asm-alpha/pgtable.hpgd_set(pgd, BAD_PAGETABLE);
pgd388include/asm-alpha/pgtable.hreturn (pmd_t *) pgd_page(*pgd) + address;
pgd391include/asm-alpha/pgtable.hextern inline void pgd_free(pgd_t * pgd)
pgd393include/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)
pgd154include/asm-i386/pgtable.hextern inline int pgd_none(pgd_t pgd)    { return 0; }
pgd155include/asm-i386/pgtable.hextern inline int pgd_bad(pgd_t pgd)    { return 0; }
pgd156include/asm-i386/pgtable.hextern inline int pgd_present(pgd_t pgd)  { return 1; }
pgd266include/asm-i386/pgtable.hextern inline pmd_t * pmd_alloc_kernel(pgd_t * pgd, unsigned long address)
pgd268include/asm-i386/pgtable.hreturn (pmd_t *) pgd;
pgd307include/asm-i386/pgtable.hextern inline pmd_t * pmd_alloc(pgd_t * pgd, unsigned long address)
pgd309include/asm-i386/pgtable.hreturn (pmd_t *) pgd;
pgd312include/asm-i386/pgtable.hextern inline void pgd_free(pgd_t * pgd)
pgd314include/asm-i386/pgtable.hfree_page((unsigned long) pgd);
pgd20include/asm-mips/page.htypedef struct { unsigned long pgd; } pgd_t;
pgd24include/asm-mips/page.h#define pgd_val(x)  ((x).pgd)
pgd186include/asm-mips/page.hextern inline int pgd_none(pgd_t pgd)    { return !pgd_val(pgd); }
pgd187include/asm-mips/page.hextern inline int pgd_bad(pgd_t pgd)    { return (pgd_val(pgd) & ~PAGE_MASK) != _PAGE_TABLE || pgd_val(pgd) > high_memory; }
pgd188include/asm-mips/page.hextern inline int pgd_present(pgd_t pgd)  { return pgd_val(pgd) & _PAGE_PRESENT; }
pgd226include/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)
pgd175mm/filemap.cstatic inline void filemap_sync_pmd_range(pgd_t * pgd,
pgd182mm/filemap.cif (pgd_none(*pgd))
pgd184mm/filemap.cif (pgd_bad(*pgd)) {
pgd185mm/filemap.cprintk("filemap_sync_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd));
pgd186mm/filemap.cpgd_clear(pgd);
pgd189mm/filemap.cpmd = pmd_offset(pgd, address);
pgd578mm/memory.cpgd_t * pgd;
pgd586mm/memory.cpgd = pgd_offset(tsk,address);
pgd587mm/memory.cpmd = pmd_alloc(pgd, address);
pgd959mm/memory.cpgd_t *pgd;
pgd963mm/memory.cpgd = pgd_offset(tsk, address);
pgd964mm/memory.cpmd = pmd_alloc(pgd, address);
pgd1104mm/memory.cpgd_t *pgd;
pgd1108mm/memory.cpgd = pgd_offset(vma->vm_task, address);
pgd1109mm/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);
pgd950mm/swap.cpgd_t * pgd = pgd_offset(p, vma->vm_start);
pgd951mm/swap.cif (unuse_vma(vma, pgd, vma->vm_start, vma->vm_end, type, page))