taglinefilesource code
mm143arch/alpha/kernel/process.cp->mm->context = 0;
mm155arch/alpha/kernel/process.cdump->start_code  = current->mm->start_code;
mm156arch/alpha/kernel/process.cdump->start_data  = current->mm->start_data;
mm158arch/alpha/kernel/process.cdump->u_tsize = (current->mm->end_code - dump->start_code) >> PAGE_SHIFT;
mm159arch/alpha/kernel/process.cdump->u_dsize = (current->mm->brk + (PAGE_SIZE - 1) - dump->start_data) >> PAGE_SHIFT;
mm161arch/alpha/kernel/process.c(current->mm->start_stack - dump->start_stack + PAGE_SIZE - 1) >> PAGE_SHIFT;
mm352arch/i386/kernel/process.cdump->u_tsize = ((unsigned long) current->mm->end_code) >> PAGE_SHIFT;
mm353arch/i386/kernel/process.cdump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> PAGE_SHIFT;
mm143arch/i386/kernel/setup.cinit_task.mm->start_code = TASK_SIZE;
mm144arch/i386/kernel/setup.cinit_task.mm->end_code = TASK_SIZE + (unsigned long) &_etext;
mm145arch/i386/kernel/setup.cinit_task.mm->end_data = TASK_SIZE + (unsigned long) &_edata;
mm146arch/i386/kernel/setup.cinit_task.mm->brk = TASK_SIZE + (unsigned long) &_end;
mm77arch/i386/kernel/vm86.cpgd = pgd_offset(tsk->mm, 0xA0000);
mm64arch/ppc/mm/fault.cdir = pgd_offset(current->mm, regs->dar & PAGE_MASK);
mm87arch/ppc/mm/fault.cprintk("beforefault: pgd[0] = %x[%x]\n",current->mm->pgd,*(current->mm->pgd));
mm91arch/ppc/mm/fault.cprintk("handled: pgd[0] = %x[%x]\n",current->mm->pgd,*(current->mm->pgd));
mm119arch/ppc/mm/fault.cdir = pgd_offset(current->mm, regs->dar & PAGE_MASK);
mm135arch/ppc/mm/fault.ccurrent->mm, current->mm->pgd,
mm136arch/ppc/mm/fault.ccurrent->mm->pgd+((regs->dar&PAGE_MASK) >> PGDIR_SHIFT));
mm142arch/ppc/mm/fault.ccurrent->mm->pgd,dir,*dir,pmd,*pmd,pte);
mm164arch/ppc/mm/fault.cregs->dar, regs->dsisr, regs->nip, current->mm);
mm190arch/ppc/mm/fault.cfor (vma = current->mm->mmap ; ; vma = vma->vm_next)
mm195arch/ppc/mm/fault.cregs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code);
mm213arch/ppc/mm/fault.cprintk("stack: gpr[1]=%x ip = %x; current=%x[%d]; mm=%x; mmap=%x; address = %x error_code = %x\n",regs->gpr[1],regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code);
mm222arch/ppc/mm/fault.cprintk("stack2: gpr[1]=%x ip = %x; current=%x[%d]; mm=%x; mmap=%x; address = %x error_code = %x\n",regs->gpr[1],regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code);
mm242arch/ppc/mm/fault.ccurrent,address,vma->vm_flags,current->mm,vma,vma->vm_start,vma->vm_end);
mm296arch/ppc/mm/fault.ccurrent,address,vma->vm_flags,current->mm,vma,vma->vm_start,vma->vm_end);
mm309arch/ppc/mm/fault.cdir = pgd_offset(current->mm, address & PAGE_MASK);
mm730arch/ppc/mm/init.cpgd = pgd_offset(current->mm, 0);
mm216arch/sparc/kernel/process.cdump->u_tsize = (((unsigned long) current->mm->end_code) -
mm217arch/sparc/kernel/process.c((unsigned long) current->mm->start_code)) & ~(PAGE_SIZE - 1);
mm218arch/sparc/kernel/process.cdump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1)));
mm262arch/sparc/kernel/setup.cinit_task.mm->mmap->vm_page_prot = PAGE_SHARED;
mm263arch/sparc/kernel/setup.cinit_task.mm->mmap->vm_start = KERNBASE;
mm264arch/sparc/kernel/setup.cinit_task.mm->mmap->vm_end = *memory_end_p;
mm123arch/sparc/kernel/smp.cvoid smp_invalidate_mm(struct mm_struct *mm)
mm125arch/sparc/kernel/smp.csmp_invalidate(1, (unsigned long) mm, 0, 0);
mm128arch/sparc/kernel/smp.cvoid smp_invalidate_range(struct mm_struct *mm, unsigned long start, unsigned long end)
mm130arch/sparc/kernel/smp.csmp_invalidate(2, (unsigned long) mm, start, end);
mm115arch/sparc/kernel/sys_sunos.cif (brk < current->mm->end_code)
mm119arch/sparc/kernel/sys_sunos.coldbrk = PAGE_ALIGN(current->mm->brk);
mm121arch/sparc/kernel/sys_sunos.ccurrent->mm->brk = brk;
mm128arch/sparc/kernel/sys_sunos.cif (brk <= current->mm->brk) {
mm129arch/sparc/kernel/sys_sunos.ccurrent->mm->brk = brk;
mm139arch/sparc/kernel/sys_sunos.cif (brk - current->mm->end_code > rlim)
mm163arch/sparc/kernel/sys_sunos.ccurrent->mm->brk = brk;
mm175arch/sparc/kernel/sys_sunos.cerror = sunos_brk(((int) current->mm->brk) + increment);
mm179arch/sparc/kernel/sys_sunos.creturn current->mm->brk;
mm275arch/sparc/kernel/sys_sunos.cpgdp = pgd_offset(current->mm, addr);
mm189arch/sparc/mm/fault.c(unsigned long) current->mm->context);
mm191arch/sparc/mm/fault.c(unsigned long) current->mm->pgd);
mm207arch/sparc/mm/srmmu.cstatic pgd_t *srmmu_pgd_offset(struct mm_struct * mm, unsigned long address)
mm209arch/sparc/mm/srmmu.creturn mm->pgd + ((address >> SRMMU_PGDIR_SHIFT) & (SRMMU_PTRS_PER_PGD - 1));
mm227arch/sparc/mm/srmmu.cif(tsk->mm->context != NO_CONTEXT)
mm228arch/sparc/mm/srmmu.csrmmu_ctxd_set(&srmmu_context_table[tsk->mm->context], pgdp);
mm373arch/sparc/mm/srmmu.cstatic void tsunami_invalidate_mm(struct mm_struct *mm)
mm378arch/sparc/mm/srmmu.cstatic void tsunami_invalidate_range(struct mm_struct *mm, unsigned long start, unsigned long end)
mm405arch/sparc/mm/srmmu.cstatic void swift_invalidate_mm(struct mm_struct *mm)
mm408arch/sparc/mm/srmmu.cint cc, ncc = mm->context;
mm427arch/sparc/mm/srmmu.cstatic void swift_invalidate_range(struct mm_struct *mm, unsigned long start, unsigned long end)
mm430arch/sparc/mm/srmmu.cint cc, ncc = mm->context;
mm492arch/sparc/mm/srmmu.cstatic void viking_invalidate_mm(struct mm_struct *mm)
mm495arch/sparc/mm/srmmu.cint cc, ncc = mm->context;
mm514arch/sparc/mm/srmmu.cstatic void viking_invalidate_range(struct mm_struct *mm, unsigned long start, unsigned long end)
mm517arch/sparc/mm/srmmu.cint cc, ncc = mm->context;
mm567arch/sparc/mm/srmmu.cstatic void cypress_invalidate_mm(struct mm_struct *mm)
mm570arch/sparc/mm/srmmu.cint cc, ncc = mm->context;
mm588arch/sparc/mm/srmmu.cstatic void cypress_invalidate_range(struct mm_struct *mm, unsigned long start, unsigned long end)
mm591arch/sparc/mm/srmmu.cint cc, ncc = mm->context;
mm643arch/sparc/mm/srmmu.cstatic void hypersparc_invalidate_mm(struct mm_struct *mm)
mm648arch/sparc/mm/srmmu.cstatic void hypersparc_invalidate_range(struct mm_struct *mm, unsigned long start, unsigned long end)
mm669arch/sparc/mm/srmmu.cstatic inline void alloc_context(struct mm_struct *mm)
mm677arch/sparc/mm/srmmu.cmm->context = ctxp->ctx_number;
mm678arch/sparc/mm/srmmu.cctxp->ctx_mm = mm;
mm682arch/sparc/mm/srmmu.cif(ctxp->ctx_mm == current->mm)
mm689arch/sparc/mm/srmmu.cctxp->ctx_mm = mm;
mm690arch/sparc/mm/srmmu.cmm->context = ctxp->ctx_number;
mm703arch/sparc/mm/srmmu.cif(tsk->mm->context == NO_CONTEXT) {
mm704arch/sparc/mm/srmmu.calloc_context(tsk->mm);
mm705arch/sparc/mm/srmmu.csrmmu_ctxd_set(&srmmu_context_table[tsk->mm->context], tsk->mm->pgd);
mm707arch/sparc/mm/srmmu.csrmmu_set_context(tsk->mm->context);
mm719arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, virt_addr);
mm774arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, start);
mm950arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, start);
mm983arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, start);
mm1011arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, start);
mm1031arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, start);
mm1117arch/sparc/mm/srmmu.cpgdp = srmmu_pgd_offset(init_task.mm, 0x0);
mm1133arch/sparc/mm/srmmu.cstruct mm_struct *mm = current->mm;
mm1135arch/sparc/mm/srmmu.cif(mm->context != NO_CONTEXT) {
mm1136arch/sparc/mm/srmmu.csrmmu_ctxd_set(&srmmu_context_table[mm->context], swapper_pg_dir);
mm1137arch/sparc/mm/srmmu.cctx_old = ctx_list_pool + mm->context;
mm1140arch/sparc/mm/srmmu.cmm->context = NO_CONTEXT;
mm1148arch/sparc/mm/srmmu.calloc_context(current->mm);
mm1149arch/sparc/mm/srmmu.csrmmu_ctxd_set(&srmmu_context_table[current->mm->context], current->mm->pgd);
mm1150arch/sparc/mm/srmmu.csrmmu_set_context(current->mm->context);
mm872arch/sparc/mm/sun4c.csun4c_kstack_vma.vm_mm = init_task.mm;
mm894arch/sparc/mm/sun4c.cstatic void sun4c_invalidate_mm(struct mm_struct *mm)
mm896arch/sparc/mm/sun4c.cif(mm->context == NO_CONTEXT)
mm898arch/sparc/mm/sun4c.csun4c_demap_context(&sun4c_context_ring[mm->context], mm->context);
mm901arch/sparc/mm/sun4c.cstatic void sun4c_invalidate_range(struct mm_struct *mm, unsigned long start, unsigned long end)
mm906arch/sparc/mm/sun4c.cif(mm->context == NO_CONTEXT)
mm910arch/sparc/mm/sun4c.csun4c_set_context(mm->context);
mm918arch/sparc/mm/sun4c.cfree_user_entry(mm->context, this_entry);
mm927arch/sparc/mm/sun4c.cstruct mm_struct *mm = vma->vm_mm;
mm930arch/sparc/mm/sun4c.cif(mm->context == NO_CONTEXT)
mm934arch/sparc/mm/sun4c.csun4c_set_context(mm->context);
mm970arch/sparc/mm/sun4c.cstatic inline void sun4c_alloc_context(struct mm_struct *mm)
mm978arch/sparc/mm/sun4c.cmm->context = ctxp->ctx_number;
mm979arch/sparc/mm/sun4c.cctxp->ctx_mm = mm;
mm983arch/sparc/mm/sun4c.cif(ctxp->ctx_mm == current->mm)
mm990arch/sparc/mm/sun4c.cctxp->ctx_mm = mm;
mm991arch/sparc/mm/sun4c.cmm->context = ctxp->ctx_number;
mm1020arch/sparc/mm/sun4c.cif(tsk->mm->context == NO_CONTEXT)
mm1021arch/sparc/mm/sun4c.csun4c_alloc_context(tsk->mm);
mm1023arch/sparc/mm/sun4c.csun4c_set_context(tsk->mm->context);
mm1029arch/sparc/mm/sun4c.csun4c_alloc_context(current->mm);
mm1030arch/sparc/mm/sun4c.csun4c_set_context(current->mm->context);
mm1037arch/sparc/mm/sun4c.cstruct mm_struct *mm = current->mm;
mm1039arch/sparc/mm/sun4c.cif(mm->context != NO_CONTEXT) {
mm1040arch/sparc/mm/sun4c.csun4c_demap_context(&sun4c_context_ring[mm->context], mm->context);
mm1041arch/sparc/mm/sun4c.cctx_old = ctx_list_pool + mm->context;
mm1044arch/sparc/mm/sun4c.cmm->context = NO_CONTEXT;
mm1187arch/sparc/mm/sun4c.cstatic pgd_t *sun4c_pgd_offset(struct mm_struct * mm, unsigned long address)
mm1189arch/sparc/mm/sun4c.creturn mm->pgd + (address >> SUN4C_PGDIR_SHIFT);
mm4029drivers/block/floppy.cfor (i=current->mm->env_start; i< current->mm->env_end; i ++){
mm827drivers/cdrom/sbpcd.cu_int mm;
mm831drivers/cdrom/sbpcd.cmm = (blk + CD_MSF_OFFSET) % (CD_SECS * CD_FRAMES);
mm832drivers/cdrom/sbpcd.cmsf.c[1] = mm / CD_FRAMES;
mm833drivers/cdrom/sbpcd.cmsf.c[0] = mm % CD_FRAMES;
mm235fs/binfmt_aout.ccurrent->mm->arg_start = (unsigned long) p;
mm241fs/binfmt_aout.ccurrent->mm->arg_end = current->mm->env_start = (unsigned long) p;
mm247fs/binfmt_aout.ccurrent->mm->env_end = (unsigned long) p;
mm304fs/binfmt_aout.ccurrent->mm->end_code = ex.a_text +
mm305fs/binfmt_aout.c(current->mm->start_code = N_TXTADDR(ex));
mm306fs/binfmt_aout.ccurrent->mm->end_data = ex.a_data +
mm307fs/binfmt_aout.c(current->mm->start_data = N_DATADDR(ex));
mm308fs/binfmt_aout.ccurrent->mm->brk = ex.a_bss +
mm309fs/binfmt_aout.c(current->mm->start_brk = N_BSSADDR(ex));
mm311fs/binfmt_aout.ccurrent->mm->rss = 0;
mm312fs/binfmt_aout.ccurrent->mm->mmap = NULL;
mm382fs/binfmt_aout.cset_brk(current->mm->start_brk, current->mm->brk);
mm387fs/binfmt_aout.ccurrent->mm->start_stack = p;
mm133fs/binfmt_elf.ccurrent->mm->arg_start = (unsigned long) p;
mm139fs/binfmt_elf.ccurrent->mm->arg_end = current->mm->env_start = (unsigned long) p;
mm145fs/binfmt_elf.ccurrent->mm->env_end = (unsigned long) p;
mm290fs/binfmt_elf.ccurrent->mm->brk = interp_ex->a_bss +
mm291fs/binfmt_elf.c(current->mm->end_data = interp_ex->a_data +
mm292fs/binfmt_elf.c(current->mm->end_code = interp_ex->a_text));
mm522fs/binfmt_elf.ccurrent->mm->end_data = 0;
mm523fs/binfmt_elf.ccurrent->mm->end_code = 0;
mm524fs/binfmt_elf.ccurrent->mm->start_mmap = ELF_START_MMAP;
mm525fs/binfmt_elf.ccurrent->mm->mmap = NULL;
mm530fs/binfmt_elf.ccurrent->mm->rss = 0;
mm532fs/binfmt_elf.ccurrent->mm->start_stack = bprm->p;
mm643fs/binfmt_elf.ccurrent->mm->arg_start += strlen(passed_fileno) + 1;
mm644fs/binfmt_elf.ccurrent->mm->start_brk = current->mm->brk = elf_brk;
mm645fs/binfmt_elf.ccurrent->mm->end_code = end_code;
mm646fs/binfmt_elf.ccurrent->mm->start_code = start_code;
mm647fs/binfmt_elf.ccurrent->mm->end_data = end_data;
mm648fs/binfmt_elf.ccurrent->mm->start_stack = bprm->p;
mm657fs/binfmt_elf.cprintk("(start_brk) %x\n" , current->mm->start_brk);
mm658fs/binfmt_elf.cprintk("(end_code) %x\n" , current->mm->end_code);
mm659fs/binfmt_elf.cprintk("(start_code) %x\n" , current->mm->start_code);
mm660fs/binfmt_elf.cprintk("(end_data) %x\n" , current->mm->end_data);
mm661fs/binfmt_elf.cprintk("(start_stack) %x\n" , current->mm->start_stack);
mm662fs/binfmt_elf.cprintk("(brk) %x\n" , current->mm->brk);
mm966fs/binfmt_elf.cfor(vma = current->mm->mmap; vma != NULL; vma = vma->vm_next) {
mm1093fs/binfmt_elf.clen = current->mm->arg_end - current->mm->arg_start;
mm1096fs/binfmt_elf.c(const char *)current->mm->arg_start, len);
mm1150fs/binfmt_elf.cfor(vma = current->mm->mmap, i = 0;
mm1184fs/binfmt_elf.cfor(i = 0, vma = current->mm->mmap;
mm296fs/exec.cmpnt->vm_mm = current->mm;
mm306fs/exec.ccurrent->mm->total_vm = (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT;
mm311fs/exec.ccurrent->mm->rss++;
mm374fs/exec.cif (current->mm->count > 1) {
mm375fs/exec.cstruct mm_struct *mm = kmalloc(sizeof(*mm), GFP_KERNEL);
mm376fs/exec.cif (!mm) {
mm381fs/exec.c*mm = *current->mm;
mm382fs/exec.cmm->def_flags = 0;  /* should future lockings be kept? */
mm383fs/exec.cmm->count = 1;
mm384fs/exec.cmm->mmap = NULL;
mm385fs/exec.cmm->mmap_avl = NULL;
mm386fs/exec.cmm->total_vm = 0;
mm387fs/exec.cmm->rss = 0;
mm388fs/exec.ccurrent->mm->count--;
mm389fs/exec.ccurrent->mm = mm;
mm393fs/exec.cexit_mmap(current->mm);
mm130fs/namei.cif (!p->mm)
mm132fs/namei.cfor(mpnt = p->mm->mmap; mpnt; mpnt = mpnt->vm_next) {
mm341fs/proc/array.cif (!p || !p->mm || ptr >= TASK_SIZE)
mm343fs/proc/array.cpage_dir = pgd_offset(p->mm,ptr);
mm402fs/proc/array.cif (!p || !*p || !(*p)->mm)
mm404fs/proc/array.creturn get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer);
mm411fs/proc/array.cif (!p || !*p || !(*p)->mm)
mm413fs/proc/array.creturn get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer);
mm547fs/proc/array.cstruct mm_struct * mm = p->mm;
mm549fs/proc/array.cif (mm && mm != &init_mm) {
mm550fs/proc/array.cstruct vm_area_struct * vma = mm->mmap;
mm554fs/proc/array.cfor (vma = mm->mmap; vma; vma = vma->vm_next) {
mm579fs/proc/array.cmm->total_vm << (PAGE_SHIFT-10),
mm580fs/proc/array.cmm->locked_vm << (PAGE_SHIFT-10),
mm581fs/proc/array.cmm->rss << (PAGE_SHIFT-10),
mm652fs/proc/array.cif (tsk->mm && tsk->mm != &init_mm) {
mm653fs/proc/array.cstruct vm_area_struct *vma = tsk->mm->mmap;
mm717fs/proc/array.ctsk->mm ? tsk->mm->rss : 0, /* you might want to shift this left 3 */
mm719fs/proc/array.ctsk->mm ? tsk->mm->start_code : 0,
mm720fs/proc/array.ctsk->mm ? tsk->mm->end_code : 0,
mm721fs/proc/array.ctsk->mm ? tsk->mm->start_stack : 0,
mm811fs/proc/array.cif (tsk->mm && tsk->mm != &init_mm) {
mm812fs/proc/array.cstruct vm_area_struct * vma = tsk->mm->mmap;
mm815fs/proc/array.cpgd_t *pgd = pgd_offset(tsk->mm, vma->vm_start);
mm875fs/proc/array.cif (!(*p)->mm || (*p)->mm == &init_mm || count == 0)
mm883fs/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);
mm60include/asm-alpha/mmu_context.hstruct mm_struct * mm = p->mm;
mm62include/asm-alpha/mmu_context.hif (mm) {
mm63include/asm-alpha/mmu_context.hunsigned long asn = mm->context;
mm77include/asm-alpha/mmu_context.hmm->context = asn;      /* full version + asn */
mm34include/asm-alpha/pgtable.hstatic inline void invalidate_mm(struct mm_struct *mm)
mm36include/asm-alpha/pgtable.hif (mm != current->mm)
mm37include/asm-alpha/pgtable.hmm->context = 0;
mm53include/asm-alpha/pgtable.hstruct mm_struct * mm = vma->vm_mm;
mm55include/asm-alpha/pgtable.hif (mm != current->mm)
mm56include/asm-alpha/pgtable.hmm->context = 0;
mm65include/asm-alpha/pgtable.hstatic inline void invalidate_range(struct mm_struct *mm,
mm68include/asm-alpha/pgtable.hif (mm != current->mm)
mm69include/asm-alpha/pgtable.hmm->context = 0;
mm298include/asm-alpha/pgtable.hextern inline pgd_t * pgd_offset(struct mm_struct * mm, unsigned long address)
mm300include/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)
mm99include/asm-i386/pgtable.hif (current->mm->count == 1)  /* just one copy of this mm */
mm109include/asm-i386/pgtable.hstatic inline void invalidate_mm(struct mm_struct * mm)
mm111include/asm-i386/pgtable.hif (mm == current->mm && mm->count == 1)
mm120include/asm-i386/pgtable.hif (vma->vm_mm == current->mm && current->mm->count == 1)
mm126include/asm-i386/pgtable.hstatic inline void invalidate_range(struct mm_struct * mm,
mm129include/asm-i386/pgtable.hinvalidate_mm(mm);
mm140include/asm-i386/pgtable.hstatic inline void invalidate_mm(struct mm_struct *mm)
mm151include/asm-i386/pgtable.hstatic inline void invalidate_range(struct mm_struct *mm,
mm346include/asm-i386/pgtable.hextern inline pgd_t * pgd_offset(struct mm_struct * mm, unsigned long address)
mm348include/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);
mm12include/asm-sparc/mmu_context.h#define init_new_context(mm) ((mm)->context = NO_CONTEXT)
mm29include/asm-sparc/smp.hstruct mm_struct *mm;
mm177include/linux/mm.hextern int zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size);
mm256include/linux/mm.hif (!task->mm)
mm258include/linux/mm.hfor (tree = task->mm->mmap_avl ; ; ) {
mm245include/linux/sched.hstruct mm_struct *mm;
mm429ipc/shm.ccurrent->mm->total_vm += (shmd->vm_end - shmd->vm_start) >> PAGE_SHIFT;
mm490ipc/shm.cif (addr < current->mm->start_stack &&
mm491ipc/shm.caddr > current->mm->start_stack - PAGE_SIZE*(shp->shm_npages + 4))
mm519ipc/shm.cshmd->vm_mm = current->mm;
mm593ipc/shm.cfor (shmd = current->mm->mmap; shmd; shmd = shmdnext) {
mm428kernel/exit.cstruct mm_struct * mm = current->mm;
mm431kernel/exit.cif (mm) {
mm432kernel/exit.cif (!--mm->count) {
mm433kernel/exit.cexit_mmap(mm);
mm435kernel/exit.ckfree(mm);
mm437kernel/exit.ccurrent->mm = NULL;
mm79kernel/fork.cstatic inline int dup_mmap(struct mm_struct * mm)
mm83kernel/fork.cmm->mmap = NULL;
mm84kernel/fork.cp = &mm->mmap;
mm85kernel/fork.cfor (mpnt = current->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) {
mm88kernel/fork.cexit_mmap(mm);
mm93kernel/fork.ctmp->vm_mm = mm;
mm104kernel/fork.cif (copy_page_range(mm, current->mm, tmp)) {
mm105kernel/fork.cexit_mmap(mm);
mm111kernel/fork.cbuild_mmap_avl(mm);
mm118kernel/fork.cSET_PAGE_DIR(tsk, current->mm->pgd);
mm119kernel/fork.ccurrent->mm->count++;
mm122kernel/fork.ctsk->mm = kmalloc(sizeof(*tsk->mm), GFP_KERNEL);
mm123kernel/fork.cif (!tsk->mm)
mm125kernel/fork.c*tsk->mm = *current->mm;
mm126kernel/fork.ctsk->mm->count = 1;
mm127kernel/fork.ctsk->mm->def_flags = 0;
mm133kernel/fork.cif (dup_mmap(tsk->mm)) {
mm552kernel/sys.cif (brk < current->mm->end_code)
mm553kernel/sys.creturn current->mm->brk;
mm555kernel/sys.coldbrk = PAGE_ALIGN(current->mm->brk);
mm557kernel/sys.creturn current->mm->brk = brk;
mm562kernel/sys.cif (brk <= current->mm->brk) {
mm563kernel/sys.ccurrent->mm->brk = brk;
mm573kernel/sys.cif (brk - current->mm->end_code > rlim)
mm574kernel/sys.creturn current->mm->brk;
mm579kernel/sys.creturn current->mm->brk;
mm593kernel/sys.creturn current->mm->brk;
mm595kernel/sys.cfreepages += current->mm->rss;
mm598kernel/sys.creturn current->mm->brk;
mm603kernel/sys.ccurrent->mm->brk = brk;
mm478mm/filemap.cif (offset >= inode->i_size && (area->vm_flags & VM_SHARED) && area->vm_mm == current->mm)
mm707mm/filemap.cdir = pgd_offset(current->mm, address);
mm133mm/memory.cpage_dir = tsk->mm->pgd;
mm140mm/memory.cinvalidate_mm(tsk->mm);
mm154mm/memory.cpage_dir = tsk->mm->pgd;
mm159mm/memory.cinvalidate_mm(tsk->mm);
mm161mm/memory.ctsk->mm->pgd = swapper_pg_dir;  /* or else... */
mm176mm/memory.cinvalidate_mm(tsk->mm);
mm178mm/memory.ctsk->mm->pgd = new_pg;
mm309mm/memory.cif (current->mm->rss <= 0)
mm311mm/memory.ccurrent->mm->rss--;
mm370mm/memory.cint zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size)
mm375mm/memory.cdir = pgd_offset(mm, address);
mm381mm/memory.cinvalidate_range(mm, end - size, end);
mm430mm/memory.cdir = pgd_offset(current->mm, address);
mm442mm/memory.cinvalidate_range(current->mm, beg, end);
mm501mm/memory.cdir = pgd_offset(current->mm, from);
mm513mm/memory.cinvalidate_range(current->mm, beg, from);
mm545mm/memory.cpgd = pgd_offset(tsk->mm,address);
mm842mm/memory.cpgd = pgd_offset(tsk->mm, address);
mm194mm/mlock.clocked += current->mm->locked_vm;
mm230mm/mlock.ccurrent->mm->def_flags = def_flags;
mm233mm/mlock.cfor (vma = current->mm->mmap; vma ; vma = vma->vm_next) {
mm257mm/mlock.cif (current->mm->total_vm > lock_limit)
mm262mm/mlock.cif (current->mm->total_vm > MAP_NR(high_memory)/2)
mm58mm/mmap.cif (current->mm->def_flags & VM_LOCKED) {
mm59mm/mmap.cunsigned long locked = current->mm->locked_vm << PAGE_SHIFT;
mm121mm/mmap.cvma->vm_mm = current->mm;
mm126mm/mmap.cvma->vm_flags |= current->mm->def_flags;
mm170mm/mmap.ccurrent->mm->total_vm += len >> PAGE_SHIFT;
mm173mm/mmap.ccurrent->mm->locked_vm += len >> PAGE_SHIFT;
mm570mm/mmap.cavl_checkheights(task->mm->mmap_avl);
mm571mm/mmap.cavl_checkorder(task->mm->mmap_avl);
mm696mm/mmap.cavl_neighbours(mpnt, current->mm->mmap_avl, &prev, &next);
mm700mm/mmap.cnpp = (prev ? &prev->vm_next : &current->mm->mmap);
mm706mm/mmap.cavl_remove(mpnt, &current->mm->mmap_avl);
mm732mm/mmap.czap_page_range(current->mm, st, end-st);
mm737mm/mmap.czap_page_range(current->mm, addr, len);
mm742mm/mmap.cvoid build_mmap_avl(struct mm_struct * mm)
mm746mm/mmap.cmm->mmap_avl = NULL;
mm747mm/mmap.cfor (vma = mm->mmap; vma; vma = vma->vm_next)
mm748mm/mmap.cavl_insert(vma, &mm->mmap_avl);
mm752mm/mmap.cvoid exit_mmap(struct mm_struct * mm)
mm756mm/mmap.cmpnt = mm->mmap;
mm757mm/mmap.cmm->mmap = NULL;
mm758mm/mmap.cmm->mmap_avl = NULL;
mm759mm/mmap.cmm->rss = 0;
mm760mm/mmap.cmm->total_vm = 0;
mm761mm/mmap.cmm->locked_vm = 0;
mm771mm/mmap.czap_page_range(mm, mpnt->vm_start, mpnt->vm_end-mpnt->vm_start);
mm791mm/mmap.cp = &t->mm->mmap;
mm804mm/mmap.cavl_insert_neighbours(vmp, &t->mm->mmap_avl, &prev, &next);
mm805mm/mmap.cif ((prev ? prev->vm_next : t->mm->mmap) != next)
mm810mm/mmap.ct->mm->mmap = vmp;
mm866mm/mmap.cavl_neighbours(mpnt, task->mm->mmap_avl, &prev, &next);
mm910mm/mmap.cavl_remove(mpnt, &task->mm->mmap_avl);
mm77mm/mprotect.cdir = pgd_offset(current->mm, start);
mm83mm/mprotect.cinvalidate_range(current->mm, beg, end);
mm22mm/mremap.cstatic inline pte_t *get_one_pte(struct mm_struct *mm, unsigned long addr)
mm28mm/mremap.cpgd = pgd_offset(mm, addr);
mm53mm/mremap.cstatic inline pte_t *alloc_one_pte(struct mm_struct *mm, unsigned long addr)
mm58mm/mremap.cpmd = pmd_alloc(pgd_offset(mm, addr), addr);
mm80mm/mremap.cstatic int move_one_page(struct mm_struct *mm, unsigned long old_addr, unsigned long new_addr)
mm85mm/mremap.csrc = get_one_pte(mm, old_addr);
mm87mm/mremap.cerror = copy_one_pte(src, alloc_one_pte(mm, new_addr));
mm91mm/mremap.cstatic int move_page_tables(struct mm_struct * mm,
mm96mm/mremap.cinvalidate_range(mm, old_addr, old_addr + len);
mm105mm/mremap.cif (move_one_page(mm, old_addr + offset, new_addr + offset))
mm119mm/mremap.cmove_one_page(mm, new_addr + offset, old_addr + offset);
mm120mm/mremap.cinvalidate_range(mm, new_addr, new_addr + len);
mm121mm/mremap.czap_page_range(mm, new_addr, new_addr + len);
mm135mm/mremap.cif (new_addr && !move_page_tables(current->mm, new_addr, addr, old_len)) {
mm190mm/mremap.cunsigned long locked = current->mm->locked_vm << PAGE_SHIFT;
mm205mm/mremap.ccurrent->mm->total_vm += pages;
mm207mm/mremap.ccurrent->mm->locked_vm += pages;
mm266mm/swapfile.cstatic int unuse_process(struct mm_struct * mm, unsigned int type, unsigned long page)
mm273mm/swapfile.cif (!mm || mm == &init_mm)
mm275mm/swapfile.cvma = mm->mmap;
mm277mm/swapfile.cpgd_t * pgd = pgd_offset(mm, vma->vm_start);
mm301mm/swapfile.cif (unuse_process(p->mm, type, page)) {
mm35mm/vmalloc.cif (!p->mm)
mm37mm/vmalloc.c*pgd_offset(p->mm,address) = entry;
mm259mm/vmscan.cint result = swap_out_vma(p, vma, pgd_offset(p->mm, address), address, dma, wait);
mm294mm/vmscan.cif (p && p->swappable && p->mm->rss)
mm306mm/vmscan.cp->swap_cnt = AGE_CLUSTER_SIZE(p->mm->rss);