tag | line | file | source code |
mm | 232 | arch/i386/kernel/process.c | dump->u_tsize = ((unsigned long) current->mm->end_code) >> 12; |
mm | 233 | arch/i386/kernel/process.c | dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12; |
mm | 100 | arch/i386/kernel/setup.c | init_task.mm->start_code = TASK_SIZE; |
mm | 101 | arch/i386/kernel/setup.c | init_task.mm->end_code = TASK_SIZE + (unsigned long) &_etext; |
mm | 102 | arch/i386/kernel/setup.c | init_task.mm->end_data = TASK_SIZE + (unsigned long) &_edata; |
mm | 103 | arch/i386/kernel/setup.c | init_task.mm->brk = TASK_SIZE + (unsigned long) &_end; |
mm | 139 | arch/mips/kernel/process.c | dump->u_tsize = ((unsigned long) current->mm->end_code) >> 12; |
mm | 140 | arch/mips/kernel/process.c | dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12; |
mm | 47 | arch/mips/mm/fault.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
mm | 249 | arch/sparc/kernel/setup.c | init_task.mm->start_code = PAGE_OFFSET; |
mm | 250 | arch/sparc/kernel/setup.c | init_task.mm->end_code = PAGE_OFFSET + (unsigned long) &etext; |
mm | 251 | arch/sparc/kernel/setup.c | init_task.mm->end_data = PAGE_OFFSET + (unsigned long) &edata; |
mm | 252 | arch/sparc/kernel/setup.c | init_task.mm->brk = PAGE_OFFSET + (unsigned long) &end; |
mm | 253 | arch/sparc/kernel/setup.c | init_task.mm->mmap->vm_page_prot = PAGE_SHARED; |
mm | 798 | drivers/block/sbpcd.c | u_int mm; |
mm | 802 | drivers/block/sbpcd.c | mm = (blk + CD_BLOCK_OFFSET) % (CD_SECS * CD_FRAMES); |
mm | 803 | drivers/block/sbpcd.c | msf.c[1] = mm / CD_FRAMES; |
mm | 804 | drivers/block/sbpcd.c | msf.c[0] = mm % CD_FRAMES; |
mm | 118 | fs/binfmt_elf.c | current->mm->stk_vma = mpnt; |
mm | 151 | fs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
mm | 157 | fs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
mm | 163 | fs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
mm | 292 | fs/binfmt_elf.c | current->mm->brk = interp_ex->a_bss + |
mm | 293 | fs/binfmt_elf.c | (current->mm->end_data = interp_ex->a_data + |
mm | 294 | fs/binfmt_elf.c | (current->mm->end_code = interp_ex->a_text)); |
mm | 516 | fs/binfmt_elf.c | current->mm->end_data = 0; |
mm | 517 | fs/binfmt_elf.c | current->mm->end_code = 0; |
mm | 518 | fs/binfmt_elf.c | current->mm->start_mmap = ELF_START_MMAP; |
mm | 519 | fs/binfmt_elf.c | current->mm->mmap = NULL; |
mm | 524 | fs/binfmt_elf.c | current->mm->rss = 0; |
mm | 526 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 631 | fs/binfmt_elf.c | current->mm->arg_start += strlen(passed_fileno) + 1; |
mm | 632 | fs/binfmt_elf.c | current->mm->start_brk = current->mm->brk = elf_brk; |
mm | 633 | fs/binfmt_elf.c | current->mm->end_code = end_code; |
mm | 634 | fs/binfmt_elf.c | current->mm->start_code = start_code; |
mm | 635 | fs/binfmt_elf.c | current->mm->end_data = end_data; |
mm | 636 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 642 | fs/binfmt_elf.c | current->mm->brk = (elf_bss + 0xfff) & 0xfffff000; |
mm | 648 | fs/binfmt_elf.c | printk("(start_brk) %x\n" , current->mm->start_brk); |
mm | 649 | fs/binfmt_elf.c | printk("(end_code) %x\n" , current->mm->end_code); |
mm | 650 | fs/binfmt_elf.c | printk("(start_code) %x\n" , current->mm->start_code); |
mm | 651 | fs/binfmt_elf.c | printk("(end_data) %x\n" , current->mm->end_data); |
mm | 652 | fs/binfmt_elf.c | printk("(start_stack) %x\n" , current->mm->start_stack); |
mm | 653 | fs/binfmt_elf.c | printk("(brk) %x\n" , current->mm->brk); |
mm | 927 | fs/binfmt_elf.c | for(vma = current->mm->mmap; vma != NULL; vma = vma->vm_next) { |
mm | 1053 | fs/binfmt_elf.c | len = current->mm->arg_end - current->mm->arg_start; |
mm | 1056 | fs/binfmt_elf.c | (const char *)current->mm->arg_start, len); |
mm | 1110 | fs/binfmt_elf.c | for(vma = current->mm->mmap, i = 0; |
mm | 1144 | fs/binfmt_elf.c | for(i = 0, vma = current->mm->mmap; |
mm | 1032 | fs/buffer.c | ++current->mm->min_flt; |
mm | 1089 | fs/buffer.c | ++current->mm->maj_flt; |
mm | 1143 | fs/buffer.c | ++current->mm->maj_flt; |
mm | 329 | fs/exec.c | current->mm->arg_start = (unsigned long) p; |
mm | 335 | fs/exec.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
mm | 341 | fs/exec.c | current->mm->env_end = (unsigned long) p; |
mm | 445 | fs/exec.c | current->mm->start_code = code_base; |
mm | 450 | fs/exec.c | current->mm->rss++; |
mm | 779 | fs/exec.c | current->mm->end_code = ex.a_text + |
mm | 780 | fs/exec.c | (current->mm->start_code = N_TXTADDR(ex)); |
mm | 781 | fs/exec.c | current->mm->end_data = ex.a_data + |
mm | 782 | fs/exec.c | (current->mm->start_data = N_DATADDR(ex)); |
mm | 783 | fs/exec.c | current->mm->brk = ex.a_bss + |
mm | 784 | fs/exec.c | (current->mm->start_brk = N_BSSADDR(ex)); |
mm | 786 | fs/exec.c | current->mm->rss = 0; |
mm | 787 | fs/exec.c | current->mm->mmap = NULL; |
mm | 847 | fs/exec.c | set_brk(current->mm->start_brk, current->mm->brk); |
mm | 857 | fs/exec.c | current->mm->start_stack = p; |
mm | 132 | fs/namei.c | for(mpnt = (*p)->mm->mmap; mpnt; mpnt = mpnt->vm_next) { |
mm | 356 | fs/proc/array.c | return get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer); |
mm | 365 | fs/proc/array.c | return get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer); |
mm | 416 | fs/proc/array.c | vsize = (*p)->mm->brk - (*p)->mm->start_code + PAGE_SIZE-1; |
mm | 444 | fs/proc/array.c | (*p)->mm->min_flt, |
mm | 445 | fs/proc/array.c | (*p)->mm->cmin_flt, |
mm | 446 | fs/proc/array.c | (*p)->mm->maj_flt, |
mm | 447 | fs/proc/array.c | (*p)->mm->cmaj_flt, |
mm | 460 | fs/proc/array.c | (*p)->mm->rss, /* you might want to shift this left 3 */ |
mm | 462 | fs/proc/array.c | (*p)->mm->start_code, |
mm | 463 | fs/proc/array.c | (*p)->mm->end_code, |
mm | 464 | fs/proc/array.c | (*p)->mm->start_stack, |
mm | 555 | fs/proc/array.c | struct vm_area_struct * vma = (*p)->mm->mmap; |
mm | 626 | fs/proc/array.c | for (map = (*p)->mm->mmap, i = 0; map && (i < lineno); map = map->vm_next, i++) |
mm | 137 | fs/proc/link.c | struct vm_area_struct * vma = p->mm->mmap; |
mm | 201 | fs/proc/mem.c | src_vma = tsk->mm->mmap; |
mm | 236 | fs/proc/mem.c | src_vma = tsk->mm->mmap; |
mm | 198 | include/linux/sched.h | struct mm_struct mm[1]; |
mm | 488 | ipc/shm.c | if (addr < current->mm->start_stack && |
mm | 489 | ipc/shm.c | addr > current->mm->start_stack - PAGE_SIZE*(shp->shm_npages + 4)) |
mm | 593 | ipc/shm.c | for (shmd = current->mm->mmap; shmd; shmd = shmdnext) { |
mm | 663 | ipc/shm.c | --current->mm->maj_flt; /* was incremented in do_no_page */ |
mm | 666 | ipc/shm.c | current->mm->min_flt++; |
mm | 768 | ipc/shm.c | if (shmd->vm_task->mm->rss > 0) |
mm | 769 | ipc/shm.c | shmd->vm_task->mm->rss--; |
mm | 453 | kernel/exit.c | current->mm->rss = 0; |
mm | 529 | kernel/exit.c | current->mm->cmin_flt += p->mm->min_flt + p->mm->cmin_flt; |
mm | 530 | kernel/exit.c | current->mm->cmaj_flt += p->mm->maj_flt + p->mm->cmaj_flt; |
mm | 89 | kernel/fork.c | tsk->mm->mmap = NULL; |
mm | 90 | kernel/fork.c | p = &tsk->mm->mmap; |
mm | 91 | kernel/fork.c | for (mpnt = current->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) { |
mm | 142 | kernel/fork.c | p->mm->min_flt = p->mm->maj_flt = 0; |
mm | 143 | kernel/fork.c | p->mm->cmin_flt = p->mm->cmaj_flt = 0; |
mm | 209 | kernel/fork.c | p->mm->swappable = 0; /* don't try to swap it out before it's set up */ |
mm | 223 | kernel/fork.c | p->mm->swappable = 1; |
mm | 403 | kernel/sys.c | if (brk < current->mm->end_code) |
mm | 404 | kernel/sys.c | return current->mm->brk; |
mm | 406 | kernel/sys.c | oldbrk = PAGE_ALIGN(current->mm->brk); |
mm | 408 | kernel/sys.c | return current->mm->brk = brk; |
mm | 413 | kernel/sys.c | if (brk <= current->mm->brk) { |
mm | 414 | kernel/sys.c | current->mm->brk = brk; |
mm | 424 | kernel/sys.c | if (brk - current->mm->end_code > rlim) |
mm | 425 | kernel/sys.c | return current->mm->brk; |
mm | 430 | kernel/sys.c | return current->mm->brk; |
mm | 442 | kernel/sys.c | return current->mm->brk; |
mm | 444 | kernel/sys.c | freepages += current->mm->rss; |
mm | 447 | kernel/sys.c | return current->mm->brk; |
mm | 452 | kernel/sys.c | current->mm->brk = brk; |
mm | 767 | kernel/sys.c | r.ru_minflt = p->mm->min_flt; |
mm | 768 | kernel/sys.c | r.ru_majflt = p->mm->maj_flt; |
mm | 775 | kernel/sys.c | r.ru_minflt = p->mm->cmin_flt; |
mm | 776 | kernel/sys.c | r.ru_majflt = p->mm->cmaj_flt; |
mm | 783 | kernel/sys.c | r.ru_minflt = p->mm->min_flt + p->mm->cmin_flt; |
mm | 784 | kernel/sys.c | r.ru_majflt = p->mm->maj_flt + p->mm->cmaj_flt; |
mm | 351 | mm/memory.c | if (current->mm->rss <= 0) |
mm | 353 | mm/memory.c | current->mm->rss--; |
mm | 654 | mm/memory.c | vma->vm_task->mm->min_flt++; |
mm | 661 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 993 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 994 | mm/memory.c | ++vma->vm_task->mm->maj_flt; |
mm | 1024 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 1025 | mm/memory.c | ++vma->vm_task->mm->min_flt; |
mm | 1031 | mm/memory.c | ++vma->vm_task->mm->min_flt; |
mm | 1032 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 1040 | mm/memory.c | ++vma->vm_task->mm->maj_flt; |
mm | 1041 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 177 | mm/mmap.c | for (vmm = current->mm->mmap; ; vmm = vmm->vm_next) { |
mm | 232 | mm/mmap.c | for (vma = task->mm->mmap ; ; vma = vma->vm_next) { |
mm | 242 | mm/mmap.c | for (tree = task->mm->mmap_avl ; ; ) { |
mm | 263 | mm/mmap.c | for (vma = task->mm->mmap; vma; vma = vma->vm_next) { |
mm | 606 | mm/mmap.c | avl_checkheights(task->mm->mmap_avl); |
mm | 607 | mm/mmap.c | avl_checkorder(task->mm->mmap_avl); |
mm | 729 | mm/mmap.c | avl_neighbours(mpnt, current->mm->mmap_avl, &prev, &next); |
mm | 733 | mm/mmap.c | npp = (prev ? &prev->vm_next : ¤t->mm->mmap); |
mm | 739 | mm/mmap.c | avl_remove(mpnt, ¤t->mm->mmap_avl); |
mm | 779 | mm/mmap.c | task->mm->mmap_avl = NULL; |
mm | 780 | mm/mmap.c | for (vma = task->mm->mmap; vma; vma = vma->vm_next) |
mm | 781 | mm/mmap.c | avl_insert(vma, &task->mm->mmap_avl); |
mm | 789 | mm/mmap.c | mpnt = task->mm->mmap; |
mm | 790 | mm/mmap.c | task->mm->mmap = NULL; |
mm | 791 | mm/mmap.c | task->mm->mmap_avl = NULL; |
mm | 816 | mm/mmap.c | p = &t->mm->mmap; |
mm | 829 | mm/mmap.c | avl_insert_neighbours(vmp, &t->mm->mmap_avl, &prev, &next); |
mm | 830 | mm/mmap.c | if ((prev ? prev->vm_next : t->mm->mmap) != next) |
mm | 835 | mm/mmap.c | t->mm->mmap = vmp; |
mm | 891 | mm/mmap.c | avl_neighbours(mpnt, task->mm->mmap_avl, &prev, &next); |
mm | 935 | mm/mmap.c | avl_remove(mpnt, &task->mm->mmap_avl); |
mm | 326 | mm/swap.c | vma->vm_task->mm->rss++; |
mm | 327 | mm/swap.c | vma->vm_task->mm->maj_flt++; |
mm | 372 | mm/swap.c | vma->vm_task->mm->rss--; |
mm | 377 | mm/swap.c | vma->vm_task->mm->rss--; |
mm | 391 | mm/swap.c | vma->vm_task->mm->rss--; |
mm | 397 | mm/swap.c | vma->vm_task->mm->rss--; |
mm | 454 | mm/swap.c | vma->vm_task->mm->swap_address = address + PAGE_SIZE; |
mm | 523 | mm/swap.c | address = p->mm->swap_address; |
mm | 524 | mm/swap.c | p->mm->swap_address = 0; |
mm | 544 | mm/swap.c | p->mm->swap_address = 0; |
mm | 571 | mm/swap.c | if (p && p->mm->swappable && p->mm->rss) |
mm | 580 | mm/swap.c | if (!p->mm->swap_cnt) { |
mm | 581 | mm/swap.c | p->mm->dec_flt = (p->mm->dec_flt * 3) / 4 + p->mm->maj_flt - p->mm->old_maj_flt; |
mm | 582 | mm/swap.c | p->mm->old_maj_flt = p->mm->maj_flt; |
mm | 584 | mm/swap.c | if (p->mm->dec_flt >= SWAP_RATIO / SWAP_MIN) { |
mm | 585 | mm/swap.c | p->mm->dec_flt = SWAP_RATIO / SWAP_MIN; |
mm | 586 | mm/swap.c | p->mm->swap_cnt = SWAP_MIN; |
mm | 587 | mm/swap.c | } else if (p->mm->dec_flt <= SWAP_RATIO / SWAP_MAX) |
mm | 588 | mm/swap.c | p->mm->swap_cnt = SWAP_MAX; |
mm | 590 | mm/swap.c | p->mm->swap_cnt = SWAP_RATIO / p->mm->dec_flt; |
mm | 592 | mm/swap.c | if (!--p->mm->swap_cnt) |
mm | 596 | mm/swap.c | if (p->mm->swap_cnt) |
mm | 865 | mm/swap.c | ++vma->vm_task->mm->rss; |
mm | 948 | mm/swap.c | vma = p->mm->mmap; |