taglinefilesource code
mm227arch/i386/kernel/process.cdump->u_tsize = ((unsigned long) current->mm->end_code) >> 12;
mm228arch/i386/kernel/process.cdump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12;
mm100arch/i386/kernel/setup.cinit_task.mm->start_code = TASK_SIZE;
mm101arch/i386/kernel/setup.cinit_task.mm->end_code = TASK_SIZE + (unsigned long) &_etext;
mm102arch/i386/kernel/setup.cinit_task.mm->end_data = TASK_SIZE + (unsigned long) &_edata;
mm103arch/i386/kernel/setup.cinit_task.mm->brk = TASK_SIZE + (unsigned long) &_end;
mm77arch/i386/kernel/vm86.cpgd = pgd_offset(tsk->mm, 0xA0000);
mm129arch/mips/kernel/process.cdump->u_tsize = ((unsigned long) current->mm->end_code) >> 12;
mm130arch/mips/kernel/process.cdump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12;
mm47arch/mips/mm/fault.cfor (vma = current->mm->mmap ; ; vma = vma->vm_next) {
mm249arch/sparc/kernel/setup.cinit_task.mm->start_code = PAGE_OFFSET;
mm250arch/sparc/kernel/setup.cinit_task.mm->end_code = PAGE_OFFSET + (unsigned long) &etext;
mm251arch/sparc/kernel/setup.cinit_task.mm->end_data = PAGE_OFFSET + (unsigned long) &edata;
mm252arch/sparc/kernel/setup.cinit_task.mm->brk = PAGE_OFFSET + (unsigned long) &end;
mm253arch/sparc/kernel/setup.cinit_task.mm->mmap->vm_page_prot = PAGE_SHARED;
mm3780drivers/block/floppy.cfor(i=current->mm->env_start; 
mm3781drivers/block/floppy.ci< current->mm->env_end; 
mm812drivers/block/sbpcd.cu_int mm;
mm816drivers/block/sbpcd.cmm = (blk + CD_MSF_OFFSET) % (CD_SECS * CD_FRAMES);
mm817drivers/block/sbpcd.cmsf.c[1] = mm / CD_FRAMES;
mm818drivers/block/sbpcd.cmsf.c[0] = mm % CD_FRAMES;
mm100fs/binfmt_elf.cmpnt->vm_mm = current->mm;
mm117fs/binfmt_elf.ccurrent->mm->stk_vma = mpnt;
mm156fs/binfmt_elf.ccurrent->mm->arg_start = (unsigned long) p;
mm162fs/binfmt_elf.ccurrent->mm->arg_end = current->mm->env_start = (unsigned long) p;
mm168fs/binfmt_elf.ccurrent->mm->env_end = (unsigned long) p;
mm297fs/binfmt_elf.ccurrent->mm->brk = interp_ex->a_bss +
mm298fs/binfmt_elf.c(current->mm->end_data = interp_ex->a_data +
mm299fs/binfmt_elf.c(current->mm->end_code = interp_ex->a_text));
mm531fs/binfmt_elf.ccurrent->mm->end_data = 0;
mm532fs/binfmt_elf.ccurrent->mm->end_code = 0;
mm533fs/binfmt_elf.ccurrent->mm->start_mmap = ELF_START_MMAP;
mm534fs/binfmt_elf.ccurrent->mm->mmap = NULL;
mm539fs/binfmt_elf.ccurrent->mm->rss = 0;
mm541fs/binfmt_elf.ccurrent->mm->start_stack = bprm->p;
mm646fs/binfmt_elf.ccurrent->mm->arg_start += strlen(passed_fileno) + 1;
mm647fs/binfmt_elf.ccurrent->mm->start_brk = current->mm->brk = elf_brk;
mm648fs/binfmt_elf.ccurrent->mm->end_code = end_code;
mm649fs/binfmt_elf.ccurrent->mm->start_code = start_code;
mm650fs/binfmt_elf.ccurrent->mm->end_data = end_data;
mm651fs/binfmt_elf.ccurrent->mm->start_stack = bprm->p;
mm657fs/binfmt_elf.ccurrent->mm->brk = (elf_bss + 0xfff) & 0xfffff000;
mm663fs/binfmt_elf.cprintk("(start_brk) %x\n" , current->mm->start_brk);
mm664fs/binfmt_elf.cprintk("(end_code) %x\n" , current->mm->end_code);
mm665fs/binfmt_elf.cprintk("(start_code) %x\n" , current->mm->start_code);
mm666fs/binfmt_elf.cprintk("(end_data) %x\n" , current->mm->end_data);
mm667fs/binfmt_elf.cprintk("(start_stack) %x\n" , current->mm->start_stack);
mm668fs/binfmt_elf.cprintk("(brk) %x\n" , current->mm->brk);
mm955fs/binfmt_elf.cfor(vma = current->mm->mmap; vma != NULL; vma = vma->vm_next) {
mm1081fs/binfmt_elf.clen = current->mm->arg_end - current->mm->arg_start;
mm1084fs/binfmt_elf.c(const char *)current->mm->arg_start, len);
mm1138fs/binfmt_elf.cfor(vma = current->mm->mmap, i = 0;
mm1172fs/binfmt_elf.cfor(i = 0, vma = current->mm->mmap;
mm315fs/exec.cmpnt->vm_mm = current->mm;
mm351fs/exec.ccurrent->mm->arg_start = (unsigned long) p;
mm357fs/exec.ccurrent->mm->arg_end = current->mm->env_start = (unsigned long) p;
mm363fs/exec.ccurrent->mm->env_end = (unsigned long) p;
mm467fs/exec.ccurrent->mm->start_code = code_base;
mm472fs/exec.ccurrent->mm->rss++;
mm534fs/exec.cif (current->mm->count > 1) {
mm535fs/exec.cstruct mm_struct *mm = kmalloc(sizeof(*mm), GFP_KERNEL);
mm536fs/exec.cif (!mm) {
mm541fs/exec.c*mm = *current->mm;
mm542fs/exec.cmm->count = 1;
mm543fs/exec.cmm->mmap = NULL;
mm544fs/exec.cmm->mmap_avl = NULL;
mm545fs/exec.ccurrent->mm->count--;
mm546fs/exec.ccurrent->mm = mm;
mm550fs/exec.cexit_mmap(current->mm);
mm843fs/exec.ccurrent->mm->end_code = ex.a_text +
mm844fs/exec.c(current->mm->start_code = N_TXTADDR(ex));
mm845fs/exec.ccurrent->mm->end_data = ex.a_data +
mm846fs/exec.c(current->mm->start_data = N_DATADDR(ex));
mm847fs/exec.ccurrent->mm->brk = ex.a_bss +
mm848fs/exec.c(current->mm->start_brk = N_BSSADDR(ex));
mm850fs/exec.ccurrent->mm->rss = 0;
mm851fs/exec.ccurrent->mm->mmap = NULL;
mm911fs/exec.cset_brk(current->mm->start_brk, current->mm->brk);
mm921fs/exec.ccurrent->mm->start_stack = p;
mm132fs/namei.cfor(mpnt = (*p)->mm->mmap; mpnt; mpnt = mpnt->vm_next) {
mm291fs/proc/array.cif (!p || !p->mm || ptr >= TASK_SIZE)
mm293fs/proc/array.cpage_dir = pgd_offset(p->mm,ptr);
mm352fs/proc/array.cif (!p || !*p || !(*p)->mm)
mm354fs/proc/array.creturn get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer);
mm361fs/proc/array.cif (!p || !*p || !(*p)->mm)
mm363fs/proc/array.creturn get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer);
mm410fs/proc/array.cif (tsk->mm) {
mm415fs/proc/array.cvsize = tsk->mm->brk - tsk->mm->start_code + PAGE_SIZE-1;
mm468fs/proc/array.ctsk->mm ? tsk->mm->rss : 0, /* you might want to shift this left 3 */
mm470fs/proc/array.ctsk->mm ? tsk->mm->start_code : 0,
mm471fs/proc/array.ctsk->mm ? tsk->mm->end_code : 0,
mm472fs/proc/array.ctsk->mm ? tsk->mm->start_stack : 0,
mm562fs/proc/array.cif (tsk->mm) {
mm563fs/proc/array.cstruct vm_area_struct * vma = tsk->mm->mmap;
mm566fs/proc/array.cpgd_t *pgd = pgd_offset(tsk->mm, vma->vm_start);
mm626fs/proc/array.cif (!(*p)->mm || count == 0)
mm634fs/proc/array.cfor (map = (*p)->mm->mmap, i = 0; map && (i < lineno); map = map->vm_next, i++)
mm137fs/proc/link.cstruct vm_area_struct * vma = 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);
mm252include/asm-alpha/pgtable.hextern inline pgd_t * pgd_offset(struct mm_struct * mm, unsigned long address)
mm254include/asm-alpha/pgtable.hreturn mm->pgd + ((address >> PGDIR_SHIFT) & (PTRS_PER_PAGE - 1));
mm68include/asm-i386/page.hdo { if ((task)->mm == current->mm) invalidate(); } while (0)
mm70include/asm-i386/page.hdo { if ((task)->mm == current->mm) invalidate(); } while (0)
mm222include/asm-i386/pgtable.hextern inline pgd_t * pgd_offset(struct mm_struct * mm, unsigned long address)
mm224include/asm-i386/pgtable.hreturn mm->pgd + (address >> PGDIR_SHIFT);
mm184include/linux/mm.hextern int zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size);
mm215include/linux/sched.hstruct mm_struct *mm;
mm488ipc/shm.cif (addr < current->mm->start_stack &&
mm489ipc/shm.caddr > current->mm->start_stack - PAGE_SIZE*(shp->shm_npages + 4))
mm517ipc/shm.cshmd->vm_mm = current->mm;
mm593ipc/shm.cfor (shmd = current->mm->mmap; shmd; shmd = shmdnext) {
mm408kernel/exit.cstruct mm_struct * mm = current->mm;
mm411kernel/exit.cif (mm) {
mm412kernel/exit.cif (!--mm->count) {
mm413kernel/exit.cexit_mmap(mm);
mm415kernel/exit.ckfree(mm);
mm417kernel/exit.ccurrent->mm = NULL;
mm64kernel/fork.cstatic int dup_mmap(struct mm_struct * mm)
mm68kernel/fork.cmm->mmap = NULL;
mm69kernel/fork.cp = &mm->mmap;
mm70kernel/fork.cfor (mpnt = current->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) {
mm73kernel/fork.cexit_mmap(mm);
mm77kernel/fork.ctmp->vm_mm = mm;
mm88kernel/fork.cif (copy_page_range(mm, current->mm, tmp)) {
mm89kernel/fork.cexit_mmap(mm);
mm95kernel/fork.cbuild_mmap_avl(mm);
mm102kernel/fork.cSET_PAGE_DIR(tsk, current->mm->pgd);
mm103kernel/fork.ccurrent->mm->count++;
mm106kernel/fork.ctsk->mm = kmalloc(sizeof(*tsk->mm), GFP_KERNEL);
mm107kernel/fork.cif (!tsk->mm)
mm109kernel/fork.c*tsk->mm = *current->mm;
mm110kernel/fork.ctsk->mm->count = 1;
mm115kernel/fork.cif (dup_mmap(tsk->mm)) {
mm403kernel/sys.cif (brk < current->mm->end_code)
mm404kernel/sys.creturn current->mm->brk;
mm406kernel/sys.coldbrk = PAGE_ALIGN(current->mm->brk);
mm408kernel/sys.creturn current->mm->brk = brk;
mm413kernel/sys.cif (brk <= current->mm->brk) {
mm414kernel/sys.ccurrent->mm->brk = brk;
mm424kernel/sys.cif (brk - current->mm->end_code > rlim)
mm425kernel/sys.creturn current->mm->brk;
mm430kernel/sys.creturn current->mm->brk;
mm442kernel/sys.creturn current->mm->brk;
mm444kernel/sys.cfreepages += current->mm->rss;
mm447kernel/sys.creturn current->mm->brk;
mm452kernel/sys.ccurrent->mm->brk = brk;
mm264mm/filemap.cdir = pgd_offset(current->mm, address);
mm133mm/memory.ctsk->mm->pgd = new_pg;
mm153mm/memory.cpage_dir = pgd_offset(tsk->mm, 0);
mm182mm/memory.cpage_dir = tsk->mm->pgd;
mm192mm/memory.ctsk->mm->pgd = swapper_pg_dir;  /* or else... */
mm320mm/memory.cif (current->mm->rss <= 0)
mm322mm/memory.ccurrent->mm->rss--;
mm381mm/memory.cint zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size)
mm386mm/memory.cdir = pgd_offset(mm, address);
mm402mm/memory.creturn zap_page_range(current->mm, address, size);
mm449mm/memory.cdir = pgd_offset(current->mm, address);
mm519mm/memory.cdir = pgd_offset(current->mm, from);
mm563mm/memory.cpgd = pgd_offset(tsk->mm,address);
mm940mm/memory.cpgd = pgd_offset(tsk->mm, address);
mm116mm/mmap.cvma->vm_mm = current->mm;
mm179mm/mmap.cfor (vmm = current->mm->mmap; ; vmm = vmm->vm_next) {
mm234mm/mmap.cif (!task->mm)
mm236mm/mmap.cfor (vma = task->mm->mmap ; ; vma = vma->vm_next) {
mm246mm/mmap.cif (!task->mm)
mm248mm/mmap.cfor (tree = task->mm->mmap_avl ; ; ) {
mm269mm/mmap.cfor (vma = task->mm->mmap; vma; vma = vma->vm_next) {
mm612mm/mmap.cavl_checkheights(task->mm->mmap_avl);
mm613mm/mmap.cavl_checkorder(task->mm->mmap_avl);
mm735mm/mmap.cavl_neighbours(mpnt, current->mm->mmap_avl, &prev, &next);
mm739mm/mmap.cnpp = (prev ? &prev->vm_next : &current->mm->mmap);
mm745mm/mmap.cavl_remove(mpnt, &current->mm->mmap_avl);
mm781mm/mmap.cvoid build_mmap_avl(struct mm_struct * mm)
mm785mm/mmap.cmm->mmap_avl = NULL;
mm786mm/mmap.cfor (vma = mm->mmap; vma; vma = vma->vm_next)
mm787mm/mmap.cavl_insert(vma, &mm->mmap_avl);
mm791mm/mmap.cvoid exit_mmap(struct mm_struct * mm)
mm795mm/mmap.cmpnt = mm->mmap;
mm796mm/mmap.cmm->mmap = NULL;
mm797mm/mmap.cmm->mmap_avl = NULL;
mm805mm/mmap.czap_page_range(mm, mpnt->vm_start, mpnt->vm_end-mpnt->vm_start);
mm823mm/mmap.cp = &t->mm->mmap;
mm836mm/mmap.cavl_insert_neighbours(vmp, &t->mm->mmap_avl, &prev, &next);
mm837mm/mmap.cif ((prev ? prev->vm_next : t->mm->mmap) != next)
mm842mm/mmap.ct->mm->mmap = vmp;
mm898mm/mmap.cavl_neighbours(mpnt, task->mm->mmap_avl, &prev, &next);
mm942mm/mmap.cavl_remove(mpnt, &task->mm->mmap_avl);
mm76mm/mprotect.cdir = pgd_offset(current->mm, start);
mm546mm/swap.cint result = swap_out_vma(p, vma, pgd_offset(p->mm, address), address, limit);
mm581mm/swap.cif (p && p->swappable && p->mm->rss)
mm958mm/swap.cvma = p->mm->mmap;
mm960mm/swap.cpgd_t * pgd = pgd_offset(p->mm, vma->vm_start);
mm35mm/vmalloc.c*pgd_offset(p->mm,address) = entry;