taglinefilesource code
pmd48arch/i386/kernel/process.cpmd_t * pmd;
pmd54arch/i386/kernel/process.cpmd = pmd_offset(swapper_pg_dir, 0);
pmd56arch/i386/kernel/process.cpmd_clear(pmd++);
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);
pmd525fs/proc/array.cstatic inline void statm_pte_range(pmd_t * pmd, unsigned long address, unsigned long size,
pmd531fs/proc/array.cif (pmd_none(*pmd))
pmd533fs/proc/array.cif (pmd_bad(*pmd)) {
pmd534fs/proc/array.cprintk("statm_pte_range: bad pmd (%08lx)\n", pmd_val(*pmd));
pmd535fs/proc/array.cpmd_clear(pmd);
pmd538fs/proc/array.cpte = pte_offset(pmd, address);
pmd566fs/proc/array.cpmd_t * pmd;
pmd576fs/proc/array.cpmd = pmd_offset(pgd, address);
pmd582fs/proc/array.cstatm_pte_range(pmd, address, end - address, pages, shared, dirty, total);
pmd584fs/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)
pmd105mm/filemap.cstatic inline void filemap_sync_pte_range(pmd_t * pmd,
pmd112mm/filemap.cif (pmd_none(*pmd))
pmd114mm/filemap.cif (pmd_bad(*pmd)) {
pmd115mm/filemap.cprintk("filemap_sync_pte_range: bad pmd (%08lx)\n", pmd_val(*pmd));
pmd116mm/filemap.cpmd_clear(pmd);
pmd119mm/filemap.cpte = pte_offset(pmd, address);
pmd136mm/filemap.cpmd_t * pmd;
pmd146mm/filemap.cpmd = pmd_offset(pgd, address);
pmd153mm/filemap.cfilemap_sync_pte_range(pmd, address, end - address, vma, offset, flags);
pmd155mm/filemap.cpmd++;
pmd122mm/memory.cpmd_t * pmd;
pmd131mm/memory.cpmd = pmd_offset(dir, 0);
pmd133mm/memory.cif (pmd_inuse(pmd)) {
pmd134mm/memory.cpmd_free(pmd);
pmd138mm/memory.cfree_one_pmd(pmd+j);
pmd139mm/memory.cpmd_free(pmd);
pmd359mm/memory.cstatic inline void unmap_pte_range(pmd_t * pmd, unsigned long address, unsigned long size)
pmd364mm/memory.cif (pmd_none(*pmd))
pmd366mm/memory.cif (pmd_bad(*pmd)) {
pmd367mm/memory.cprintk("unmap_pte_range: bad pmd (%08lx)\n", pmd_val(*pmd));
pmd368mm/memory.cpmd_clear(pmd);
pmd371mm/memory.cpte = pte_offset(pmd, address);
pmd387mm/memory.cpmd_t * pmd;
pmd397mm/memory.cpmd = pmd_offset(dir, address);
pmd403mm/memory.cunmap_pte_range(pmd, address, end - address);
pmd405mm/memory.cpmd++;
pmd445mm/memory.cstatic inline int zeromap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size, pte_t zero_pte)
pmd454mm/memory.cpte_t * pte = pte_alloc(pmd, address);
pmd459mm/memory.cpmd++;
pmd474mm/memory.cpmd_t *pmd = pmd_alloc(dir, address);
pmd476mm/memory.cif (!pmd)
pmd478mm/memory.cerror = zeromap_pmd_range(pmd, address, end - address, zero_pte);
pmd518mm/memory.cstatic inline int remap_pmd_range(pmd_t * pmd, unsigned long address, unsigned long size,
pmd529mm/memory.cpte_t * pte = pte_alloc(pmd, address);
pmd534mm/memory.cpmd++;
pmd548mm/memory.cpmd_t *pmd = pmd_alloc(dir, from);
pmd550mm/memory.cif (!pmd)
pmd552mm/memory.cerror = remap_pmd_range(pmd, from, end - from, offset + from, prot);
pmd583mm/memory.cpmd_t * pmd;
pmd591mm/memory.cpmd = pmd_alloc(pgd, address);
pmd592mm/memory.cif (!pmd) {
pmd597mm/memory.cpte = pte_alloc(pmd, address);
pmd972mm/memory.cpmd_t *pmd;
pmd976mm/memory.cpmd = pmd_alloc(pgd, address);
pmd977mm/memory.cif (!pmd) {
pmd981mm/memory.cpte = pte_alloc(pmd, address);
pmd1117mm/memory.cpmd_t *pmd;
pmd1121mm/memory.cpmd = pmd_alloc(pgd, address);
pmd1122mm/memory.cif (!pmd)
pmd1124mm/memory.cpte = pte_alloc(pmd, address);
pmd20mm/mprotect.cstatic inline void change_pte_range(pmd_t * pmd, unsigned long address,
pmd26mm/mprotect.cif (pmd_none(*pmd))
pmd28mm/mprotect.cif (pmd_bad(*pmd)) {
pmd29mm/mprotect.cprintk("change_pte_range: bad pmd (%08lx)\n", pmd_val(*pmd));
pmd30mm/mprotect.cpmd_clear(pmd);
pmd33mm/mprotect.cpte = pte_offset(pmd, address);
pmd50mm/mprotect.cpmd_t * pmd;
pmd60mm/mprotect.cpmd = pmd_offset(pgd, address);
pmd66mm/mprotect.cchange_pte_range(pmd, address, end - address, newprot);
pmd68mm/mprotect.cpmd++;
pmd438mm/swap.cpmd_t * pmd;
pmd449mm/swap.cpmd = pmd_offset(dir, address);
pmd456mm/swap.cint result = swap_out_pmd(vma, pmd, address, end);
pmd460mm/swap.cpmd++;
pmd897mm/swap.cpmd_t * pmd;
pmd907mm/swap.cpmd = pmd_offset(dir, address);
pmd914mm/swap.cif (unuse_pmd(vma, pmd, address, end - address, offset, type, page))
pmd917mm/swap.cpmd++;
pmd38mm/vmalloc.cstatic inline void free_area_pte(pmd_t * pmd, unsigned long address, unsigned long size)
pmd43mm/vmalloc.cif (pmd_none(*pmd))
pmd45mm/vmalloc.cif (pmd_bad(*pmd)) {
pmd46mm/vmalloc.cprintk("free_area_pte: bad pmd (%08lx)\n", pmd_val(*pmd));
pmd47mm/vmalloc.cpmd_clear(pmd);
pmd50mm/vmalloc.cpte = pte_offset(pmd, address);
pmd72mm/vmalloc.cpmd_t * pmd;
pmd82mm/vmalloc.cpmd = pmd_offset(dir, address);
pmd88mm/vmalloc.cfree_area_pte(pmd, address, end - address);
pmd90mm/vmalloc.cpmd++;
pmd130mm/vmalloc.cstatic inline int alloc_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size)
pmd139mm/vmalloc.cpte_t * pte = pte_alloc_kernel(pmd, address);
pmd145mm/vmalloc.cpmd++;
pmd157mm/vmalloc.cpmd_t *pmd = pmd_alloc_kernel(dir, address);
pmd158mm/vmalloc.cif (!pmd)
pmd160mm/vmalloc.cif (alloc_area_pmd(pmd, address, end - address))