taglinefilesource code
pmd73arch/i386/kernel/vm86.cpmd_t *pmd;
pmd85arch/i386/kernel/vm86.cpmd = pmd_offset(pgd, 0xA0000);
pmd86arch/i386/kernel/vm86.cif (pmd_none(*pmd))
pmd88arch/i386/kernel/vm86.cif (pmd_bad(*pmd)) {
pmd89arch/i386/kernel/vm86.cprintk("vm86: bad pmd entry [%p]:%08lx\n", pmd, pmd_val(*pmd));
pmd90arch/i386/kernel/vm86.cpmd_clear(pmd);
pmd93arch/i386/kernel/vm86.cpte = pte_offset(pmd, 0xA0000);
pmd526fs/proc/array.cstatic inline void statm_pte_range(pmd_t * pmd, unsigned long address, unsigned long size,
pmd532fs/proc/array.cif (pmd_none(*pmd))
pmd534fs/proc/array.cif (pmd_bad(*pmd)) {
pmd535fs/proc/array.cprintk("statm_pte_range: bad pmd (%08lx)\n", pmd_val(*pmd));
pmd536fs/proc/array.cpmd_clear(pmd);
pmd539fs/proc/array.cpte = pte_offset(pmd, address);
pmd567fs/proc/array.cpmd_t * pmd;
pmd577fs/proc/array.cpmd = pmd_offset(pgd, address);
pmd583fs/proc/array.cstatm_pte_range(pmd, address, end - address, pages, shared, dirty, total);
pmd585fs/proc/array.cpmd++;
pmd18include/asm-alpha/page.htypedef struct { unsigned long pmd; } pmd_t;
pmd23include/asm-alpha/page.h#define pmd_val(x)  ((x).pmd)
pmd155include/asm-alpha/pgtable.hextern inline unsigned long pmd_page(pmd_t pmd)
pmd156include/asm-alpha/pgtable.h{ return PAGE_OFFSET + ((pmd_val(pmd) & _PFN_MASK) >> (32-PAGE_SHIFT)); }
pmd171include/asm-alpha/pgtable.hextern inline int pmd_none(pmd_t pmd)    { return !pmd_val(pmd); }
pmd172include/asm-alpha/pgtable.hextern inline int pmd_bad(pmd_t pmd)    { return (pmd_val(pmd) & ~_PFN_MASK) != _PAGE_TABLE || pmd_page(pmd) > high_memory; }
pmd173include/asm-alpha/pgtable.hextern inline int pmd_present(pmd_t pmd)  { return pmd_val(pmd) & _PAGE_VALID; }
pmd258include/asm-alpha/pgtable.hextern inline pte_t * pte_alloc_kernel(pmd_t *pmd, unsigned long address)
pmd261include/asm-alpha/pgtable.hif (pmd_none(*pmd)) {
pmd263include/asm-alpha/pgtable.hif (pmd_none(*pmd)) {
pmd265include/asm-alpha/pgtable.hpmd_set(pmd, page);
pmd269include/asm-alpha/pgtable.hpmd_set(pmd, (pte_t *) BAD_PAGETABLE);
pmd274include/asm-alpha/pgtable.hif (pmd_bad(*pmd)) {
pmd275include/asm-alpha/pgtable.hprintk("Bad pmd in pte_alloc: %08lx\n", pmd_val(*pmd));
pmd276include/asm-alpha/pgtable.hpmd_set(pmd, (pte_t *) BAD_PAGETABLE);
pmd279include/asm-alpha/pgtable.hreturn (pte_t *) pmd_page(*pmd) + address;
pmd282include/asm-alpha/pgtable.hextern inline void pmd_free_kernel(pmd_t * pmd)
pmd284include/asm-alpha/pgtable.hmem_map[MAP_NR(pmd)] = 1;
pmd285include/asm-alpha/pgtable.hfree_page((unsigned long) pmd);
pmd317include/asm-alpha/pgtable.hextern inline pte_t * pte_alloc(pmd_t *pmd, unsigned long address)
pmd320include/asm-alpha/pgtable.hif (pmd_none(*pmd)) {
pmd322include/asm-alpha/pgtable.hif (pmd_none(*pmd)) {
pmd324include/asm-alpha/pgtable.hpmd_set(pmd, page);
pmd327include/asm-alpha/pgtable.hpmd_set(pmd, (pte_t *) BAD_PAGETABLE);
pmd332include/asm-alpha/pgtable.hif (pmd_bad(*pmd)) {
pmd333include/asm-alpha/pgtable.hprintk("Bad pmd in pte_alloc: %08lx\n", pmd_val(*pmd));
pmd334include/asm-alpha/pgtable.hpmd_set(pmd, (pte_t *) BAD_PAGETABLE);
pmd337include/asm-alpha/pgtable.hreturn (pte_t *) pmd_page(*pmd) + address;
pmd340include/asm-alpha/pgtable.hextern inline void pmd_free(pmd_t * pmd)
pmd342include/asm-alpha/pgtable.hfree_page((unsigned long) pmd);
pmd18include/asm-i386/page.htypedef struct { unsigned long pmd; } pmd_t;
pmd23include/asm-i386/page.h#define pmd_val(x)  ((x).pmd)
pmd142include/asm-i386/pgtable.hextern inline int pmd_none(pmd_t pmd)    { return !pmd_val(pmd); }
pmd143include/asm-i386/pgtable.hextern inline int pmd_bad(pmd_t pmd)    { return (pmd_val(pmd) & ~PAGE_MASK) != _PAGE_TABLE || pmd_val(pmd) > high_memory; }
pmd144include/asm-i386/pgtable.hextern inline int pmd_present(pmd_t pmd)  { return pmd_val(pmd) & _PAGE_PRESENT; }
pmd202include/asm-i386/pgtable.hextern inline unsigned long pmd_page(pmd_t pmd)
pmd203include/asm-i386/pgtable.h{ return pmd_val(pmd) & PAGE_MASK; }
pmd234include/asm-i386/pgtable.hextern inline pte_t * pte_alloc_kernel(pmd_t * pmd, unsigned long address)
pmd237include/asm-i386/pgtable.hif (pmd_none(*pmd)) {
pmd239include/asm-i386/pgtable.hif (pmd_none(*pmd)) {
pmd241include/asm-i386/pgtable.hpmd_val(*pmd) = _PAGE_TABLE | (unsigned long) page;
pmd245include/asm-i386/pgtable.hpmd_val(*pmd) = _PAGE_TABLE | (unsigned long) BAD_PAGETABLE;
pmd250include/asm-i386/pgtable.hif (pmd_bad(*pmd)) {
pmd251include/asm-i386/pgtable.hprintk("Bad pmd in pte_alloc: %08lx\n", pmd_val(*pmd));
pmd252include/asm-i386/pgtable.hpmd_val(*pmd) = _PAGE_TABLE | (unsigned long) BAD_PAGETABLE;
pmd255include/asm-i386/pgtable.hreturn (pte_t *) pmd_page(*pmd) + address;
pmd262include/asm-i386/pgtable.hextern inline void pmd_free_kernel(pmd_t * pmd)
pmd276include/asm-i386/pgtable.hextern inline pte_t * pte_alloc(pmd_t * pmd, unsigned long address)
pmd279include/asm-i386/pgtable.hif (pmd_none(*pmd)) {
pmd281include/asm-i386/pgtable.hif (pmd_none(*pmd)) {
pmd283include/asm-i386/pgtable.hpmd_val(*pmd) = _PAGE_TABLE | (unsigned long) page;
pmd286include/asm-i386/pgtable.hpmd_val(*pmd) = _PAGE_TABLE | (unsigned long) BAD_PAGETABLE;
pmd291include/asm-i386/pgtable.hif (pmd_bad(*pmd)) {
pmd292include/asm-i386/pgtable.hprintk("Bad pmd in pte_alloc: %08lx\n", pmd_val(*pmd));
pmd293include/asm-i386/pgtable.hpmd_val(*pmd) = _PAGE_TABLE | (unsigned long) BAD_PAGETABLE;
pmd296include/asm-i386/pgtable.hreturn (pte_t *) pmd_page(*pmd) + address;
pmd303include/asm-i386/pgtable.hextern inline void pmd_free(pmd_t * pmd)
pmd43include/asm-sparc/page.htypedef struct { unsigned long pmd; } pmd_t;
pmd48include/asm-sparc/page.h#define pmd_val(x)      ((x).pmd)
pmd158include/asm-sparc/pgtable.hextern inline int pmd_none(pmd_t pmd)    { return !pmd_val(pmd); }
pmd159include/asm-sparc/pgtable.hextern inline int pmd_bad(pmd_t pmd)    { return (pmd_val(pmd) & ~PAGE_MASK) != _PAGE_TABLE || pmd_val(pmd) > high_memory; }
pmd160include/asm-sparc/pgtable.hextern inline int pmd_present(pmd_t pmd)  { return pmd_val(pmd) & _PAGE_VALID; }
pmd212include/asm-sparc/pgtable.hextern inline unsigned long pmd_page(pmd_t pmd) { return pmd_val(pmd) & PAGE_MASK; }
pmd253include/asm-sparc/pgtable.hextern inline pte_t * pte_alloc_kernel(pmd_t * pmd, unsigned long address)
pmd256include/asm-sparc/pgtable.hif (pmd_none(*pmd)) {
pmd258include/asm-sparc/pgtable.hif (pmd_none(*pmd)) {
pmd260include/asm-sparc/pgtable.hpmd_val(*pmd) = _PAGE_TABLE | (unsigned long) page;
pmd264include/asm-sparc/pgtable.hpmd_val(*pmd) = _PAGE_TABLE | (unsigned long) BAD_PAGETABLE;
pmd269include/asm-sparc/pgtable.hif (pmd_bad(*pmd)) {
pmd270include/asm-sparc/pgtable.hprintk("Bad pmd in pte_alloc: %08lx\n", pmd_val(*pmd));
pmd271include/asm-sparc/pgtable.hpmd_val(*pmd) = _PAGE_TABLE | (unsigned long) BAD_PAGETABLE;
pmd274include/asm-sparc/pgtable.hreturn (pte_t *) pmd_page(*pmd) + address;
pmd281include/asm-sparc/pgtable.hextern inline void pmd_free_kernel(pmd_t * pmd)
pmd295include/asm-sparc/pgtable.hextern inline pte_t * pte_alloc(pmd_t * pmd, unsigned long address)
pmd298include/asm-sparc/pgtable.hif (pmd_none(*pmd)) {
pmd300include/asm-sparc/pgtable.hif (pmd_none(*pmd)) {
pmd302include/asm-sparc/pgtable.hpmd_val(*pmd) = _PAGE_TABLE | (unsigned long) page;
pmd305include/asm-sparc/pgtable.hpmd_val(*pmd) = _PAGE_TABLE | (unsigned long) BAD_PAGETABLE;
pmd310include/asm-sparc/pgtable.hif (pmd_bad(*pmd)) {
pmd311include/asm-sparc/pgtable.hprintk("Bad pmd in pte_alloc: %08lx\n", pmd_val(*pmd));
pmd312include/asm-sparc/pgtable.hpmd_val(*pmd) = _PAGE_TABLE | (unsigned long) BAD_PAGETABLE;
pmd315include/asm-sparc/pgtable.hreturn (pte_t *) pmd_page(*pmd) + address;
pmd322include/asm-sparc/pgtable.hextern inline void pmd_free(pmd_t * pmd)
pmd106mm/filemap.cstatic inline void filemap_sync_pte_range(pmd_t * pmd,
pmd113mm/filemap.cif (pmd_none(*pmd))
pmd115mm/filemap.cif (pmd_bad(*pmd)) {
pmd116mm/filemap.cprintk("filemap_sync_pte_range: bad pmd (%08lx)\n", pmd_val(*pmd));
pmd117mm/filemap.cpmd_clear(pmd);
pmd120mm/filemap.cpte = pte_offset(pmd, address);
pmd137mm/filemap.cpmd_t * pmd;
pmd147mm/filemap.cpmd = pmd_offset(pgd, address);
pmd154mm/filemap.cfilemap_sync_pte_range(pmd, address, end - address, vma, offset, flags);
pmd156mm/filemap.cpmd++;
pmd123mm/memory.cpmd_t * pmd;
pmd132mm/memory.cpmd = pmd_offset(dir, 0);
pmd134mm/memory.cif (pmd_inuse(pmd)) {
pmd135mm/memory.cpmd_free(pmd);
pmd139mm/memory.cfree_one_pmd(pmd+j);
pmd140mm/memory.cpmd_free(pmd);
pmd360mm/memory.cstatic inline void unmap_pte_range(pmd_t * pmd, unsigned long address, unsigned long size)
pmd365mm/memory.cif (pmd_none(*pmd))
pmd367mm/memory.cif (pmd_bad(*pmd)) {
pmd368mm/memory.cprintk("unmap_pte_range: bad pmd (%08lx)\n", pmd_val(*pmd));
pmd369mm/memory.cpmd_clear(pmd);
pmd372mm/memory.cpte = pte_offset(pmd, address);
pmd388mm/memory.cpmd_t * pmd;
pmd398mm/memory.cpmd = pmd_offset(dir, address);
pmd404mm/memory.cunmap_pte_range(pmd, address, end - address);
pmd406mm/memory.cpmd++;
pmd446mm/memory.cstatic inline int zeromap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size, pte_t zero_pte)
pmd455mm/memory.cpte_t * pte = pte_alloc(pmd, address);
pmd460mm/memory.cpmd++;
pmd475mm/memory.cpmd_t *pmd = pmd_alloc(dir, address);
pmd477mm/memory.cif (!pmd)
pmd479mm/memory.cerror = zeromap_pmd_range(pmd, address, end - address, zero_pte);
pmd519mm/memory.cstatic inline int remap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size,
pmd530mm/memory.cpte_t * pte = pte_alloc(pmd, address);
pmd535mm/memory.cpmd++;
pmd549mm/memory.cpmd_t *pmd = pmd_alloc(dir, from);
pmd551mm/memory.cif (!pmd)
pmd553mm/memory.cerror = remap_pmd_range(pmd, from, end - from, offset + from, prot);
pmd584mm/memory.cpmd_t * pmd;
pmd592mm/memory.cpmd = pmd_alloc(pgd, address);
pmd593mm/memory.cif (!pmd) {
pmd598mm/memory.cpte = pte_alloc(pmd, address);
pmd973mm/memory.cpmd_t *pmd;
pmd977mm/memory.cpmd = pmd_alloc(pgd, address);
pmd978mm/memory.cif (!pmd) {
pmd982mm/memory.cpte = pte_alloc(pmd, address);
pmd1118mm/memory.cpmd_t *pmd;
pmd1122mm/memory.cpmd = pmd_alloc(pgd, address);
pmd1123mm/memory.cif (!pmd)
pmd1125mm/memory.cpte = pte_alloc(pmd, address);
pmd21mm/mprotect.cstatic inline void change_pte_range(pmd_t * pmd, unsigned long address,
pmd27mm/mprotect.cif (pmd_none(*pmd))
pmd29mm/mprotect.cif (pmd_bad(*pmd)) {
pmd30mm/mprotect.cprintk("change_pte_range: bad pmd (%08lx)\n", pmd_val(*pmd));
pmd31mm/mprotect.cpmd_clear(pmd);
pmd34mm/mprotect.cpte = pte_offset(pmd, address);
pmd51mm/mprotect.cpmd_t * pmd;
pmd61mm/mprotect.cpmd = pmd_offset(pgd, address);
pmd67mm/mprotect.cchange_pte_range(pmd, address, end - address, newprot);
pmd69mm/mprotect.cpmd++;
pmd439mm/swap.cpmd_t * pmd;
pmd450mm/swap.cpmd = pmd_offset(dir, address);
pmd457mm/swap.cint result = swap_out_pmd(vma, pmd, address, end);
pmd461mm/swap.cpmd++;
pmd898mm/swap.cpmd_t * pmd;
pmd908mm/swap.cpmd = pmd_offset(dir, address);
pmd915mm/swap.cif (unuse_pmd(vma, pmd, address, end - address, offset, type, page))
pmd918mm/swap.cpmd++;
pmd39mm/vmalloc.cstatic inline void free_area_pte(pmd_t * pmd, unsigned long address, unsigned long size)
pmd44mm/vmalloc.cif (pmd_none(*pmd))
pmd46mm/vmalloc.cif (pmd_bad(*pmd)) {
pmd47mm/vmalloc.cprintk("free_area_pte: bad pmd (%08lx)\n", pmd_val(*pmd));
pmd48mm/vmalloc.cpmd_clear(pmd);
pmd51mm/vmalloc.cpte = pte_offset(pmd, address);
pmd73mm/vmalloc.cpmd_t * pmd;
pmd83mm/vmalloc.cpmd = pmd_offset(dir, address);
pmd89mm/vmalloc.cfree_area_pte(pmd, address, end - address);
pmd91mm/vmalloc.cpmd++;
pmd131mm/vmalloc.cstatic inline int alloc_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size)
pmd140mm/vmalloc.cpte_t * pte = pte_alloc_kernel(pmd, address);
pmd146mm/vmalloc.cpmd++;
pmd158mm/vmalloc.cpmd_t *pmd = pmd_alloc_kernel(dir, address);
pmd159mm/vmalloc.cif (!pmd)
pmd161mm/vmalloc.cif (alloc_area_pmd(pmd, address, end - address))