taglinefilesource code
mm154arch/alpha/kernel/process.cdump->start_code  = current->mm->start_code;
mm155arch/alpha/kernel/process.cdump->start_data  = current->mm->start_data;
mm157arch/alpha/kernel/process.cdump->u_tsize = (current->mm->end_code - dump->start_code) >> PAGE_SHIFT;
mm158arch/alpha/kernel/process.cdump->u_dsize = (current->mm->brk + (PAGE_SIZE - 1) - dump->start_data) >> PAGE_SHIFT;
mm160arch/alpha/kernel/process.c(current->mm->start_stack - dump->start_stack + PAGE_SIZE - 1) >> PAGE_SHIFT;
mm327arch/i386/kernel/process.cdump->u_tsize = ((unsigned long) current->mm->end_code) >> 12;
mm328arch/i386/kernel/process.cdump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12;
mm136arch/i386/kernel/setup.cinit_task.mm->start_code = TASK_SIZE;
mm137arch/i386/kernel/setup.cinit_task.mm->end_code = TASK_SIZE + (unsigned long) &_etext;
mm138arch/i386/kernel/setup.cinit_task.mm->end_data = TASK_SIZE + (unsigned long) &_edata;
mm139arch/i386/kernel/setup.cinit_task.mm->brk = TASK_SIZE + (unsigned long) &_end;
mm77arch/i386/kernel/vm86.cpgd = pgd_offset(tsk->mm, 0xA0000);
mm55arch/ppc/mm/fault.cdir = pgd_offset(current->mm, regs->dar & PAGE_MASK);
mm99arch/ppc/mm/fault.cdir = pgd_offset(current->mm, regs->dar & PAGE_MASK);
mm143arch/ppc/mm/fault.cfor (vma = current->mm->mmap ; ; vma = vma->vm_next)
mm150arch/ppc/mm/fault.cfor(mmp=current->mm->mmap; mmp; mmp=mmp->vm_next) {
mm152arch/ppc/mm/fault.ccurrent, current->mm, mmp, mmp->vm_start, mmp->vm_end, mmp->vm_flags);
mm158arch/ppc/mm/fault.cregs->nip, current, current->mm, current->mm->mmap, address, error_code);
mm197arch/ppc/mm/fault.ccurrent,address,vma->vm_flags,current->mm,vma,vma->vm_start,vma->vm_end);
mm245arch/ppc/mm/fault.ccurrent,address,vma->vm_flags,current->mm,vma,vma->vm_start,vma->vm_end);
mm256arch/ppc/mm/fault.cdir = pgd_offset(current->mm, address & PAGE_MASK);
mm734arch/ppc/mm/init.cpgd = pgd_offset(current->mm, 0);
mm233arch/sparc/kernel/setup.cinit_task.mm->mmap->vm_page_prot = PAGE_SHARED;
mm48arch/sparc/kernel/sys_sunos.cfor (vmm = current->mm->mmap; ; vmm = vmm->vm_next) {
mm130arch/sparc/kernel/sys_sunos.cif (brk < current->mm->end_code)
mm134arch/sparc/kernel/sys_sunos.coldbrk = PAGE_ALIGN(current->mm->brk);
mm136arch/sparc/kernel/sys_sunos.ccurrent->mm->brk = brk;
mm143arch/sparc/kernel/sys_sunos.cif (brk <= current->mm->brk) {
mm144arch/sparc/kernel/sys_sunos.ccurrent->mm->brk = brk;
mm154arch/sparc/kernel/sys_sunos.cif (brk - current->mm->end_code > rlim)
mm178arch/sparc/kernel/sys_sunos.ccurrent->mm->brk = brk;
mm190arch/sparc/kernel/sys_sunos.cerror = sunos_brk(((int) current->mm->brk) + increment);
mm192arch/sparc/kernel/sys_sunos.creturn current->mm->brk;
mm290arch/sparc/kernel/sys_sunos.cpgdp = pgd_offset(current->mm, addr);
mm170arch/sparc/mm/srmmu.csrmmu_pgd_offset(struct mm_struct * mm, unsigned long address)
mm172arch/sparc/mm/srmmu.creturn mm->pgd + ((address >> SRMMU_PGDIR_SHIFT) & (SRMMU_PTRS_PER_PGD - 1));
mm414arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, virt_addr);
mm611arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, vaddr);
mm632arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, vaddr);
mm649arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, vaddr);
mm676arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, vaddr);
mm718arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, vaddr);
mm799arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, 0x0);
mm142arch/sparc/mm/sun4c.cpgd_t *sun4c_pgd_offset(struct mm_struct * mm, unsigned long address)
mm144arch/sparc/mm/sun4c.creturn mm->pgd + (address >> SUN4C_PGDIR_SHIFT);
mm3995drivers/block/floppy.cfor (i=current->mm->env_start; i< current->mm->env_end; i ++){
mm799drivers/cdrom/sbpcd.cu_int mm;
mm803drivers/cdrom/sbpcd.cmm = (blk + CD_MSF_OFFSET) % (CD_SECS * CD_FRAMES);
mm804drivers/cdrom/sbpcd.cmsf.c[1] = mm / CD_FRAMES;
mm805drivers/cdrom/sbpcd.cmsf.c[0] = mm % CD_FRAMES;
mm100fs/binfmt_elf.cmpnt->vm_mm = current->mm;
mm110fs/binfmt_elf.ccurrent->mm->total_vm += (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT;
mm147fs/binfmt_elf.ccurrent->mm->arg_start = (unsigned long) p;
mm153fs/binfmt_elf.ccurrent->mm->arg_end = current->mm->env_start = (unsigned long) p;
mm159fs/binfmt_elf.ccurrent->mm->env_end = (unsigned long) p;
mm303fs/binfmt_elf.ccurrent->mm->brk = interp_ex->a_bss +
mm304fs/binfmt_elf.c(current->mm->end_data = interp_ex->a_data +
mm305fs/binfmt_elf.c(current->mm->end_code = interp_ex->a_text));
mm530fs/binfmt_elf.ccurrent->mm->end_data = 0;
mm531fs/binfmt_elf.ccurrent->mm->end_code = 0;
mm532fs/binfmt_elf.ccurrent->mm->start_mmap = ELF_START_MMAP;
mm533fs/binfmt_elf.ccurrent->mm->mmap = NULL;
mm538fs/binfmt_elf.ccurrent->mm->rss = 0;
mm540fs/binfmt_elf.ccurrent->mm->start_stack = bprm->p;
mm651fs/binfmt_elf.ccurrent->mm->arg_start += strlen(passed_fileno) + 1;
mm652fs/binfmt_elf.ccurrent->mm->start_brk = current->mm->brk = elf_brk;
mm653fs/binfmt_elf.ccurrent->mm->end_code = end_code;
mm654fs/binfmt_elf.ccurrent->mm->start_code = start_code;
mm655fs/binfmt_elf.ccurrent->mm->end_data = end_data;
mm656fs/binfmt_elf.ccurrent->mm->start_stack = bprm->p;
mm660fs/binfmt_elf.ccurrent->mm->brk = (elf_bss + 0xfff) & 0xfffff000;
mm666fs/binfmt_elf.cprintk("(start_brk) %x\n" , current->mm->start_brk);
mm667fs/binfmt_elf.cprintk("(end_code) %x\n" , current->mm->end_code);
mm668fs/binfmt_elf.cprintk("(start_code) %x\n" , current->mm->start_code);
mm669fs/binfmt_elf.cprintk("(end_data) %x\n" , current->mm->end_data);
mm670fs/binfmt_elf.cprintk("(start_stack) %x\n" , current->mm->start_stack);
mm671fs/binfmt_elf.cprintk("(brk) %x\n" , current->mm->brk);
mm973fs/binfmt_elf.cfor(vma = current->mm->mmap; vma != NULL; vma = vma->vm_next) {
mm1099fs/binfmt_elf.clen = current->mm->arg_end - current->mm->arg_start;
mm1102fs/binfmt_elf.c(const char *)current->mm->arg_start, len);
mm1156fs/binfmt_elf.cfor(vma = current->mm->mmap, i = 0;
mm1190fs/binfmt_elf.cfor(i = 0, vma = current->mm->mmap;
mm323fs/exec.cmpnt->vm_mm = current->mm;
mm333fs/exec.ccurrent->mm->total_vm = (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT;
mm360fs/exec.ccurrent->mm->arg_start = (unsigned long) p;
mm366fs/exec.ccurrent->mm->arg_end = current->mm->env_start = (unsigned long) p;
mm372fs/exec.ccurrent->mm->env_end = (unsigned long) p;
mm477fs/exec.ccurrent->mm->rss++;
mm539fs/exec.cif (current->mm->count > 1) {
mm540fs/exec.cstruct mm_struct *mm = kmalloc(sizeof(*mm), GFP_KERNEL);
mm541fs/exec.cif (!mm) {
mm546fs/exec.c*mm = *current->mm;
mm547fs/exec.cmm->def_flags = 0;  /* should future lockings be kept? */
mm548fs/exec.cmm->count = 1;
mm549fs/exec.cmm->mmap = NULL;
mm550fs/exec.cmm->mmap_avl = NULL;
mm551fs/exec.cmm->total_vm = 0;
mm552fs/exec.cmm->rss = 0;
mm553fs/exec.ccurrent->mm->count--;
mm554fs/exec.ccurrent->mm = mm;
mm558fs/exec.cexit_mmap(current->mm);
mm868fs/exec.ccurrent->mm->end_code = ex.a_text +
mm869fs/exec.c(current->mm->start_code = N_TXTADDR(ex));
mm870fs/exec.ccurrent->mm->end_data = ex.a_data +
mm871fs/exec.c(current->mm->start_data = N_DATADDR(ex));
mm872fs/exec.ccurrent->mm->brk = ex.a_bss +
mm873fs/exec.c(current->mm->start_brk = N_BSSADDR(ex));
mm875fs/exec.ccurrent->mm->rss = 0;
mm876fs/exec.ccurrent->mm->mmap = NULL;
mm945fs/exec.cset_brk(current->mm->start_brk, current->mm->brk);
mm955fs/exec.ccurrent->mm->start_stack = p;
mm130fs/namei.cif (!p->mm)
mm132fs/namei.cfor(mpnt = p->mm->mmap; mpnt; mpnt = mpnt->vm_next) {
mm319fs/proc/array.cif (!p || !p->mm || ptr >= TASK_SIZE)
mm321fs/proc/array.cpage_dir = pgd_offset(p->mm,ptr);
mm380fs/proc/array.cif (!p || !*p || !(*p)->mm)
mm382fs/proc/array.creturn get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer);
mm389fs/proc/array.cif (!p || !*p || !(*p)->mm)
mm391fs/proc/array.creturn get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer);
mm472fs/proc/array.cif (tsk->mm && tsk->mm != &init_mm) {
mm473fs/proc/array.cstruct vm_area_struct *vma = tsk->mm->mmap;
mm537fs/proc/array.ctsk->mm ? tsk->mm->rss : 0, /* you might want to shift this left 3 */
mm539fs/proc/array.ctsk->mm ? tsk->mm->start_code : 0,
mm540fs/proc/array.ctsk->mm ? tsk->mm->end_code : 0,
mm541fs/proc/array.ctsk->mm ? tsk->mm->start_stack : 0,
mm631fs/proc/array.cif (tsk->mm && tsk->mm != &init_mm) {
mm632fs/proc/array.cstruct vm_area_struct * vma = tsk->mm->mmap;
mm635fs/proc/array.cpgd_t *pgd = pgd_offset(tsk->mm, vma->vm_start);
mm695fs/proc/array.cif (!(*p)->mm || (*p)->mm == &init_mm || count == 0)
mm703fs/proc/array.cfor (map = (*p)->mm->mmap, i = 0; map && (i < lineno); map = map->vm_next, i++)
mm106fs/proc/link.cif (!p->mm)
mm108fs/proc/link.cvma = p->mm->mmap;
mm84fs/proc/mem.cpage_dir = pgd_offset(tsk->mm,addr);
mm231fs/proc/mem.csrc_vma = tsk->mm->mmap;
mm239fs/proc/mem.csrc_dir = pgd_offset(tsk->mm, stmp);
mm266fs/proc/mem.csrc_vma = tsk->mm->mmap;
mm274fs/proc/mem.csrc_dir = pgd_offset(tsk->mm, stmp);
mm278fs/proc/mem.cdest_dir = pgd_offset(current->mm, dtmp);
mm40include/asm-alpha/pgtable.hstatic inline void invalidate_mm(struct mm_struct *mm)
mm63include/asm-alpha/pgtable.hstatic inline void invalidate_range(struct mm_struct *mm,
mm310include/asm-alpha/pgtable.hextern inline pgd_t * pgd_offset(struct mm_struct * mm, unsigned long address)
mm312include/asm-alpha/pgtable.hreturn mm->pgd + ((address >> PGDIR_SHIFT) & (PTRS_PER_PAGE - 1));
mm50include/asm-i386/pgtable.hstatic inline void invalidate_mm(struct mm_struct *mm)
mm52include/asm-i386/pgtable.hif (mm == current->mm)
mm59include/asm-i386/pgtable.hif (vma->vm_mm == current->mm)
mm63include/asm-i386/pgtable.hstatic inline void invalidate_range(struct mm_struct *mm,
mm66include/asm-i386/pgtable.hif (mm == current->mm)
mm87include/asm-i386/pgtable.hstatic inline void invalidate_mm(struct mm_struct *mm)
mm98include/asm-i386/pgtable.hstatic inline void invalidate_range(struct mm_struct *mm,
mm310include/asm-i386/pgtable.hextern inline pgd_t * pgd_offset(struct mm_struct * mm, unsigned long address)
mm312include/asm-i386/pgtable.hreturn mm->pgd + (address >> PGDIR_SHIFT);
mm42include/asm-mips/pgtable.hdo { if ((mm_struct) == current->mm) invalidate(); } while (0)
mm44include/asm-mips/pgtable.hdo { if ((mm_struct) == current->mm) invalidate(); } while (0)
mm46include/asm-mips/pgtable.hdo { if ((mm_struct) == current->mm) invalidate(); } while (0)
mm344include/asm-mips/pgtable.hextern inline pgd_t * pgd_offset(struct mm_struct * mm, unsigned long address)
mm346include/asm-mips/pgtable.hreturn mm->pgd + (address >> PGDIR_SHIFT);
mm288include/asm-ppc/pgtable.hextern inline pgd_t * pgd_offset(struct mm_struct * mm, unsigned long address)
mm290include/asm-ppc/pgtable.hreturn mm->pgd + (address >> PGDIR_SHIFT);
mm175include/linux/mm.hextern int zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size);
mm265include/linux/mm.hif (!task->mm)
mm267include/linux/mm.hfor (tree = task->mm->mmap_avl ; ; ) {
mm229include/linux/sched.hstruct mm_struct *mm;
mm428ipc/shm.ccurrent->mm->total_vm += (shmd->vm_end - shmd->vm_start) >> PAGE_SHIFT;
mm489ipc/shm.cif (addr < current->mm->start_stack &&
mm490ipc/shm.caddr > current->mm->start_stack - PAGE_SIZE*(shp->shm_npages + 4))
mm518ipc/shm.cshmd->vm_mm = current->mm;
mm592ipc/shm.cfor (shmd = current->mm->mmap; shmd; shmd = shmdnext) {
mm424kernel/exit.cstruct mm_struct * mm = current->mm;
mm427kernel/exit.cif (mm) {
mm428kernel/exit.cif (!--mm->count) {
mm429kernel/exit.cexit_mmap(mm);
mm431kernel/exit.ckfree(mm);
mm433kernel/exit.ccurrent->mm = NULL;
mm78kernel/fork.cstatic inline int dup_mmap(struct mm_struct * mm)
mm82kernel/fork.cmm->mmap = NULL;
mm83kernel/fork.cp = &mm->mmap;
mm84kernel/fork.cfor (mpnt = current->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) {
mm87kernel/fork.cexit_mmap(mm);
mm92kernel/fork.ctmp->vm_mm = mm;
mm103kernel/fork.cif (copy_page_range(mm, current->mm, tmp)) {
mm104kernel/fork.cexit_mmap(mm);
mm110kernel/fork.cbuild_mmap_avl(mm);
mm117kernel/fork.cSET_PAGE_DIR(tsk, current->mm->pgd);
mm118kernel/fork.ccurrent->mm->count++;
mm121kernel/fork.ctsk->mm = kmalloc(sizeof(*tsk->mm), GFP_KERNEL);
mm122kernel/fork.cif (!tsk->mm)
mm124kernel/fork.c*tsk->mm = *current->mm;
mm125kernel/fork.ctsk->mm->count = 1;
mm126kernel/fork.ctsk->mm->def_flags = 0;
mm132kernel/fork.cif (dup_mmap(tsk->mm)) {
mm421kernel/sys.cif (brk < current->mm->end_code)
mm422kernel/sys.creturn current->mm->brk;
mm424kernel/sys.coldbrk = PAGE_ALIGN(current->mm->brk);
mm426kernel/sys.creturn current->mm->brk = brk;
mm431kernel/sys.cif (brk <= current->mm->brk) {
mm432kernel/sys.ccurrent->mm->brk = brk;
mm442kernel/sys.cif (brk - current->mm->end_code > rlim)
mm443kernel/sys.creturn current->mm->brk;
mm448kernel/sys.creturn current->mm->brk;
mm460kernel/sys.creturn current->mm->brk;
mm462kernel/sys.cfreepages += current->mm->rss;
mm465kernel/sys.creturn current->mm->brk;
mm470kernel/sys.ccurrent->mm->brk = brk;
mm156mm/filemap.cif (address >= inode->i_size && (area->vm_flags & VM_SHARED) && area->vm_mm == current->mm)
mm401mm/filemap.cdir = pgd_offset(current->mm, address);
mm142mm/memory.cpage_dir = tsk->mm->pgd;
mm149mm/memory.cinvalidate_mm(tsk->mm);
mm163mm/memory.cpage_dir = tsk->mm->pgd;
mm168mm/memory.cinvalidate_mm(tsk->mm);
mm170mm/memory.ctsk->mm->pgd = swapper_pg_dir;  /* or else... */
mm186mm/memory.cinvalidate_mm(tsk->mm);
mm188mm/memory.ctsk->mm->pgd = new_pg;
mm316mm/memory.cif (current->mm->rss <= 0)
mm318mm/memory.ccurrent->mm->rss--;
mm377mm/memory.cint zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size)
mm382mm/memory.cdir = pgd_offset(mm, address);
mm388mm/memory.cinvalidate_range(mm, end - size, end);
mm436mm/memory.cdir = pgd_offset(current->mm, address);
mm448mm/memory.cinvalidate_range(current->mm, end - size, end);
mm506mm/memory.cdir = pgd_offset(current->mm, from);
mm518mm/memory.cinvalidate_range(current->mm, from - size, from);
mm550mm/memory.cpgd = pgd_offset(tsk->mm,address);
mm1004mm/memory.cpgd = pgd_offset(tsk->mm, address);
mm193mm/mlock.clocked += current->mm->locked_vm;
mm229mm/mlock.ccurrent->mm->def_flags = def_flags;
mm232mm/mlock.cfor (vma = current->mm->mmap; vma ; vma = vma->vm_next) {
mm256mm/mlock.cif (current->mm->total_vm > lock_limit)
mm261mm/mlock.cif (current->mm->total_vm > MAP_NR(high_memory)/2)
mm70mm/mmap.cif (current->mm->def_flags & VM_LOCKED) {
mm71mm/mmap.cunsigned long locked = current->mm->locked_vm << PAGE_SHIFT;
mm133mm/mmap.cvma->vm_mm = current->mm;
mm138mm/mmap.cvma->vm_flags |= current->mm->def_flags;
mm179mm/mmap.ccurrent->mm->total_vm += len >> PAGE_SHIFT;
mm183mm/mmap.ccurrent->mm->locked_vm += len >> PAGE_SHIFT;
mm208mm/mmap.cfor (vmm = current->mm->mmap; ; vmm = vmm->vm_next) {
mm584mm/mmap.cavl_checkheights(task->mm->mmap_avl);
mm585mm/mmap.cavl_checkorder(task->mm->mmap_avl);
mm710mm/mmap.cavl_neighbours(mpnt, current->mm->mmap_avl, &prev, &next);
mm714mm/mmap.cnpp = (prev ? &prev->vm_next : &current->mm->mmap);
mm720mm/mmap.cavl_remove(mpnt, &current->mm->mmap_avl);
mm746mm/mmap.czap_page_range(current->mm, st, end-st);
mm751mm/mmap.czap_page_range(current->mm, addr, len);
mm756mm/mmap.cvoid build_mmap_avl(struct mm_struct * mm)
mm760mm/mmap.cmm->mmap_avl = NULL;
mm761mm/mmap.cfor (vma = mm->mmap; vma; vma = vma->vm_next)
mm762mm/mmap.cavl_insert(vma, &mm->mmap_avl);
mm766mm/mmap.cvoid exit_mmap(struct mm_struct * mm)
mm770mm/mmap.cmpnt = mm->mmap;
mm771mm/mmap.cmm->mmap = NULL;
mm772mm/mmap.cmm->mmap_avl = NULL;
mm773mm/mmap.cmm->rss = 0;
mm774mm/mmap.cmm->total_vm = 0;
mm775mm/mmap.cmm->locked_vm = 0;
mm785mm/mmap.czap_page_range(mm, mpnt->vm_start, mpnt->vm_end-mpnt->vm_start);
mm805mm/mmap.cp = &t->mm->mmap;
mm818mm/mmap.cavl_insert_neighbours(vmp, &t->mm->mmap_avl, &prev, &next);
mm819mm/mmap.cif ((prev ? prev->vm_next : t->mm->mmap) != next)
mm824mm/mmap.ct->mm->mmap = vmp;
mm880mm/mmap.cavl_neighbours(mpnt, task->mm->mmap_avl, &prev, &next);
mm924mm/mmap.cavl_remove(mpnt, &task->mm->mmap_avl);
mm77mm/mprotect.cdir = pgd_offset(current->mm, start);
mm83mm/mprotect.cinvalidate_range(current->mm, beg, end);
mm605mm/swap.cint result = swap_out_vma(p, vma, pgd_offset(p->mm, address), address, limit);
mm640mm/swap.cif (p && p->swappable && p->mm->rss)
mm652mm/swap.cp->swap_cnt = AGE_CLUSTER_SIZE(p->mm->rss);
mm1014mm/swap.cif (!p->mm || pgd_inuse(p->mm->pgd))
mm1016mm/swap.cvma = p->mm->mmap;
mm1018mm/swap.cpgd_t * pgd = pgd_offset(p->mm, vma->vm_start);
mm35mm/vmalloc.cif (!p->mm)
mm37mm/vmalloc.c*pgd_offset(p->mm,address) = entry;