tag | line | file | source code |
mm | 444 | arch/i386/ibcs/binfmt_coff.c | current->mm->mmap = NULL; |
mm | 445 | arch/i386/ibcs/binfmt_coff.c | current->mm->rss = 0; |
mm | 458 | arch/i386/ibcs/binfmt_coff.c | current->mm->start_code = text_vaddr & PAGE_MASK; |
mm | 459 | arch/i386/ibcs/binfmt_coff.c | current->mm->end_code = text_vaddr + text_size; |
mm | 460 | arch/i386/ibcs/binfmt_coff.c | current->mm->end_data = data_vaddr + data_size; |
mm | 461 | arch/i386/ibcs/binfmt_coff.c | current->mm->start_brk = |
mm | 462 | arch/i386/ibcs/binfmt_coff.c | current->mm->brk = bss_vaddr + bss_size; |
mm | 471 | arch/i386/ibcs/binfmt_coff.c | current->mm->start_stack = bprm->p; |
mm | 105 | arch/i386/ibcs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
mm | 111 | arch/i386/ibcs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
mm | 117 | arch/i386/ibcs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
mm | 221 | arch/i386/ibcs/binfmt_elf.c | current->mm->brk = interp_ex->a_bss + |
mm | 222 | arch/i386/ibcs/binfmt_elf.c | (current->mm->end_data = interp_ex->a_data + |
mm | 223 | arch/i386/ibcs/binfmt_elf.c | (current->mm->end_code = interp_ex->a_text)); |
mm | 427 | arch/i386/ibcs/binfmt_elf.c | current->mm->end_data = 0; |
mm | 428 | arch/i386/ibcs/binfmt_elf.c | current->mm->end_code = 0; |
mm | 429 | arch/i386/ibcs/binfmt_elf.c | current->mm->start_mmap = ELF_START_MMAP; |
mm | 430 | arch/i386/ibcs/binfmt_elf.c | current->mm->mmap = NULL; |
mm | 435 | arch/i386/ibcs/binfmt_elf.c | current->mm->rss = 0; |
mm | 437 | arch/i386/ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 532 | arch/i386/ibcs/binfmt_elf.c | current->mm->arg_start += strlen(passed_fileno) + 1; |
mm | 533 | arch/i386/ibcs/binfmt_elf.c | current->mm->start_brk = current->mm->brk = elf_brk; |
mm | 534 | arch/i386/ibcs/binfmt_elf.c | current->mm->end_code = end_code; |
mm | 535 | arch/i386/ibcs/binfmt_elf.c | current->mm->start_code = start_code; |
mm | 536 | arch/i386/ibcs/binfmt_elf.c | current->mm->end_data = end_data; |
mm | 537 | arch/i386/ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 543 | arch/i386/ibcs/binfmt_elf.c | current->mm->brk = (elf_bss + 0xfff) & 0xfffff000; |
mm | 205 | arch/i386/kernel/process.c | dump->u_tsize = ((unsigned long) current->mm->end_code) >> 12; |
mm | 206 | arch/i386/kernel/process.c | dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12; |
mm | 99 | arch/i386/kernel/setup.c | init_task.mm->start_code = TASK_SIZE; |
mm | 100 | arch/i386/kernel/setup.c | init_task.mm->end_code = TASK_SIZE + (unsigned long) &etext; |
mm | 101 | arch/i386/kernel/setup.c | init_task.mm->end_data = TASK_SIZE + (unsigned long) &edata; |
mm | 102 | 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 | 746 | drivers/block/sbpcd.c | u_int mm; |
mm | 750 | drivers/block/sbpcd.c | mm = (blk + CD_BLOCK_OFFSET) % (CD_SECS * CD_FRAMES); |
mm | 751 | drivers/block/sbpcd.c | msf.c[1] = mm / CD_FRAMES; |
mm | 752 | drivers/block/sbpcd.c | msf.c[0] = mm % CD_FRAMES; |
mm | 106 | fs/binfmt_elf.c | current->mm->stk_vma = mpnt; |
mm | 139 | fs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
mm | 145 | fs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
mm | 151 | fs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
mm | 255 | fs/binfmt_elf.c | current->mm->brk = interp_ex->a_bss + |
mm | 256 | fs/binfmt_elf.c | (current->mm->end_data = interp_ex->a_data + |
mm | 257 | fs/binfmt_elf.c | (current->mm->end_code = interp_ex->a_text)); |
mm | 482 | fs/binfmt_elf.c | current->mm->end_data = 0; |
mm | 483 | fs/binfmt_elf.c | current->mm->end_code = 0; |
mm | 484 | fs/binfmt_elf.c | current->mm->start_mmap = ELF_START_MMAP; |
mm | 485 | fs/binfmt_elf.c | current->mm->mmap = NULL; |
mm | 490 | fs/binfmt_elf.c | current->mm->rss = 0; |
mm | 492 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 593 | fs/binfmt_elf.c | current->mm->arg_start += strlen(passed_fileno) + 1; |
mm | 594 | fs/binfmt_elf.c | current->mm->start_brk = current->mm->brk = elf_brk; |
mm | 595 | fs/binfmt_elf.c | current->mm->end_code = end_code; |
mm | 596 | fs/binfmt_elf.c | current->mm->start_code = start_code; |
mm | 597 | fs/binfmt_elf.c | current->mm->end_data = end_data; |
mm | 598 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 604 | fs/binfmt_elf.c | current->mm->brk = (elf_bss + 0xfff) & 0xfffff000; |
mm | 610 | fs/binfmt_elf.c | printk("(start_brk) %x\n" , current->mm->start_brk); |
mm | 611 | fs/binfmt_elf.c | printk("(end_code) %x\n" , current->mm->end_code); |
mm | 612 | fs/binfmt_elf.c | printk("(start_code) %x\n" , current->mm->start_code); |
mm | 613 | fs/binfmt_elf.c | printk("(end_data) %x\n" , current->mm->end_data); |
mm | 614 | fs/binfmt_elf.c | printk("(start_stack) %x\n" , current->mm->start_stack); |
mm | 615 | fs/binfmt_elf.c | printk("(brk) %x\n" , current->mm->brk); |
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 | 769 | fs/exec.c | current->mm->brk = ex.a_bss + |
mm | 770 | fs/exec.c | (current->mm->start_brk = |
mm | 771 | fs/exec.c | (current->mm->end_data = ex.a_data + |
mm | 772 | fs/exec.c | (current->mm->end_code = ex.a_text + |
mm | 773 | fs/exec.c | (current->mm->start_code = N_TXTADDR(ex))))); |
mm | 774 | fs/exec.c | current->mm->rss = 0; |
mm | 775 | fs/exec.c | current->mm->mmap = NULL; |
mm | 835 | fs/exec.c | set_brk(current->mm->start_brk, current->mm->brk); |
mm | 842 | fs/exec.c | current->mm->start_stack = p; |
mm | 132 | fs/namei.c | for(mpnt = (*p)->mm->mmap; mpnt; mpnt = mpnt->vm_next) { |
mm | 407 | fs/proc/array.c | return get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer); |
mm | 416 | fs/proc/array.c | return get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer); |
mm | 467 | fs/proc/array.c | vsize = (*p)->mm->brk - (*p)->mm->start_code + PAGE_SIZE-1; |
mm | 495 | fs/proc/array.c | (*p)->mm->min_flt, |
mm | 496 | fs/proc/array.c | (*p)->mm->cmin_flt, |
mm | 497 | fs/proc/array.c | (*p)->mm->maj_flt, |
mm | 498 | fs/proc/array.c | (*p)->mm->cmaj_flt, |
mm | 511 | fs/proc/array.c | (*p)->mm->rss, /* you might want to shift this left 3 */ |
mm | 513 | fs/proc/array.c | (*p)->mm->start_code, |
mm | 514 | fs/proc/array.c | (*p)->mm->end_code, |
mm | 515 | fs/proc/array.c | (*p)->mm->start_stack, |
mm | 606 | fs/proc/array.c | struct vm_area_struct * vma = (*p)->mm->mmap; |
mm | 677 | 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 | 202 | fs/proc/mem.c | src_vma = tsk->mm->mmap; |
mm | 237 | fs/proc/mem.c | src_vma = tsk->mm->mmap; |
mm | 191 | include/linux/sched.h | struct mm_struct mm[1]; |
mm | 482 | ipc/shm.c | if ((addr > current->mm->start_stack - 16384 - PAGE_SIZE*shp->shm_npages)) { |
mm | 585 | ipc/shm.c | for (shmd = current->mm->mmap; shmd; shmd = shmdnext) { |
mm | 655 | ipc/shm.c | --current->mm->maj_flt; /* was incremented in do_no_page */ |
mm | 658 | ipc/shm.c | current->mm->min_flt++; |
mm | 756 | ipc/shm.c | if (shmd->vm_task->mm->rss > 0) |
mm | 757 | ipc/shm.c | shmd->vm_task->mm->rss--; |
mm | 451 | kernel/exit.c | current->mm->rss = 0; |
mm | 527 | kernel/exit.c | current->mm->cmin_flt += p->mm->min_flt + p->mm->cmin_flt; |
mm | 528 | kernel/exit.c | current->mm->cmaj_flt += p->mm->maj_flt + p->mm->cmaj_flt; |
mm | 87 | kernel/fork.c | tsk->mm->mmap = NULL; |
mm | 88 | kernel/fork.c | p = &tsk->mm->mmap; |
mm | 89 | kernel/fork.c | for (mpnt = current->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) { |
mm | 140 | kernel/fork.c | p->mm->min_flt = p->mm->maj_flt = 0; |
mm | 141 | kernel/fork.c | p->mm->cmin_flt = p->mm->cmaj_flt = 0; |
mm | 203 | kernel/fork.c | p->mm->swappable = 0; /* don't try to swap it out before it's set up */ |
mm | 216 | kernel/fork.c | p->mm->swappable = 1; |
mm | 385 | kernel/sys.c | if (brk < current->mm->end_code) |
mm | 386 | kernel/sys.c | return current->mm->brk; |
mm | 388 | kernel/sys.c | oldbrk = PAGE_ALIGN(current->mm->brk); |
mm | 390 | kernel/sys.c | return current->mm->brk = brk; |
mm | 395 | kernel/sys.c | if (brk <= current->mm->brk) { |
mm | 396 | kernel/sys.c | current->mm->brk = brk; |
mm | 406 | kernel/sys.c | if (brk - current->mm->end_code > rlim || |
mm | 407 | kernel/sys.c | brk >= current->mm->start_stack - 16384) |
mm | 408 | kernel/sys.c | return current->mm->brk; |
mm | 413 | kernel/sys.c | return current->mm->brk; |
mm | 425 | kernel/sys.c | return current->mm->brk; |
mm | 427 | kernel/sys.c | freepages += current->mm->rss; |
mm | 430 | kernel/sys.c | return current->mm->brk; |
mm | 435 | kernel/sys.c | current->mm->brk = brk; |
mm | 735 | kernel/sys.c | r.ru_minflt = p->mm->min_flt; |
mm | 736 | kernel/sys.c | r.ru_majflt = p->mm->maj_flt; |
mm | 743 | kernel/sys.c | r.ru_minflt = p->mm->cmin_flt; |
mm | 744 | kernel/sys.c | r.ru_majflt = p->mm->cmaj_flt; |
mm | 751 | kernel/sys.c | r.ru_minflt = p->mm->min_flt + p->mm->cmin_flt; |
mm | 752 | kernel/sys.c | r.ru_majflt = p->mm->maj_flt + p->mm->cmaj_flt; |
mm | 352 | mm/memory.c | if (current->mm->rss <= 0) |
mm | 354 | mm/memory.c | current->mm->rss--; |
mm | 659 | mm/memory.c | vma->vm_task->mm->min_flt++; |
mm | 666 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 1006 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 1007 | mm/memory.c | ++vma->vm_task->mm->maj_flt; |
mm | 1037 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 1038 | mm/memory.c | ++vma->vm_task->mm->min_flt; |
mm | 1044 | mm/memory.c | ++vma->vm_task->mm->min_flt; |
mm | 1045 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 1053 | mm/memory.c | ++vma->vm_task->mm->maj_flt; |
mm | 1054 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 172 | mm/mmap.c | for (vmm = current->mm->mmap; ; vmm = vmm->vm_next) { |
mm | 247 | mm/mmap.c | for (vma = task->mm->mmap ; ; vma = vma->vm_next) { |
mm | 257 | mm/mmap.c | for (tree = task->mm->mmap_avl ; ; ) { |
mm | 278 | mm/mmap.c | for (vma = task->mm->mmap; vma; vma = vma->vm_next) { |
mm | 621 | mm/mmap.c | avl_checkheights(task->mm->mmap_avl); |
mm | 622 | mm/mmap.c | avl_checkorder(task->mm->mmap_avl); |
mm | 744 | mm/mmap.c | avl_neighbours(mpnt, current->mm->mmap_avl, &prev, &next); |
mm | 748 | mm/mmap.c | npp = (prev ? &prev->vm_next : ¤t->mm->mmap); |
mm | 754 | mm/mmap.c | avl_remove(mpnt, ¤t->mm->mmap_avl); |
mm | 794 | mm/mmap.c | task->mm->mmap_avl = NULL; |
mm | 795 | mm/mmap.c | for (vma = task->mm->mmap; vma; vma = vma->vm_next) |
mm | 796 | mm/mmap.c | avl_insert(vma, &task->mm->mmap_avl); |
mm | 804 | mm/mmap.c | mpnt = task->mm->mmap; |
mm | 805 | mm/mmap.c | task->mm->mmap = NULL; |
mm | 806 | mm/mmap.c | task->mm->mmap_avl = NULL; |
mm | 831 | mm/mmap.c | p = &t->mm->mmap; |
mm | 844 | mm/mmap.c | avl_insert_neighbours(vmp, &t->mm->mmap_avl, &prev, &next); |
mm | 845 | mm/mmap.c | if ((prev ? prev->vm_next : t->mm->mmap) != next) |
mm | 850 | mm/mmap.c | t->mm->mmap = vmp; |
mm | 906 | mm/mmap.c | avl_neighbours(mpnt, task->mm->mmap_avl, &prev, &next); |
mm | 950 | mm/mmap.c | avl_remove(mpnt, &task->mm->mmap_avl); |
mm | 300 | mm/swap.c | vma->vm_task->mm->rss++; |
mm | 301 | mm/swap.c | vma->vm_task->mm->maj_flt++; |
mm | 344 | mm/swap.c | vma->vm_task->mm->rss--; |
mm | 349 | mm/swap.c | vma->vm_task->mm->rss--; |
mm | 363 | mm/swap.c | vma->vm_task->mm->rss--; |
mm | 369 | mm/swap.c | vma->vm_task->mm->rss--; |
mm | 426 | mm/swap.c | vma->vm_task->mm->swap_address = address + PAGE_SIZE; |
mm | 495 | mm/swap.c | address = p->mm->swap_address; |
mm | 496 | mm/swap.c | p->mm->swap_address = 0; |
mm | 516 | mm/swap.c | p->mm->swap_address = 0; |
mm | 543 | mm/swap.c | if (p && p->mm->swappable && p->mm->rss) |
mm | 552 | mm/swap.c | if (!p->mm->swap_cnt) { |
mm | 553 | mm/swap.c | p->mm->dec_flt = (p->mm->dec_flt * 3) / 4 + p->mm->maj_flt - p->mm->old_maj_flt; |
mm | 554 | mm/swap.c | p->mm->old_maj_flt = p->mm->maj_flt; |
mm | 556 | mm/swap.c | if (p->mm->dec_flt >= SWAP_RATIO / SWAP_MIN) { |
mm | 557 | mm/swap.c | p->mm->dec_flt = SWAP_RATIO / SWAP_MIN; |
mm | 558 | mm/swap.c | p->mm->swap_cnt = SWAP_MIN; |
mm | 559 | mm/swap.c | } else if (p->mm->dec_flt <= SWAP_RATIO / SWAP_MAX) |
mm | 560 | mm/swap.c | p->mm->swap_cnt = SWAP_MAX; |
mm | 562 | mm/swap.c | p->mm->swap_cnt = SWAP_RATIO / p->mm->dec_flt; |
mm | 564 | mm/swap.c | if (!--p->mm->swap_cnt) |
mm | 568 | mm/swap.c | if (p->mm->swap_cnt) |
mm | 860 | mm/swap.c | ++vma->vm_task->mm->rss; |
mm | 943 | mm/swap.c | vma = p->mm->mmap; |