tag | line | file | source code |
mm | 638 | drivers/block/sbpcd.c | u_int mm; |
mm | 642 | drivers/block/sbpcd.c | mm = (blk + CD_BLOCK_OFFSET) % (CD_SECS * CD_FRAMES); |
mm | 643 | drivers/block/sbpcd.c | msf.c[1] = mm / CD_FRAMES; |
mm | 644 | drivers/block/sbpcd.c | msf.c[0] = mm % CD_FRAMES; |
mm | 113 | drivers/char/mem.c | merge_segments(current->mm->mmap, NULL, NULL); |
mm | 207 | drivers/char/mem.c | merge_segments(current->mm->mmap, ignoff_mergep, inode); |
mm | 1010 | fs/buffer.c | ++current->mm->min_flt; |
mm | 1068 | fs/buffer.c | ++current->mm->maj_flt; |
mm | 1127 | fs/buffer.c | ++current->mm->maj_flt; |
mm | 212 | fs/exec.c | dump.u_tsize = ((unsigned long) current->mm->end_code) >> 12; |
mm | 213 | fs/exec.c | dump.u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12; |
mm | 342 | fs/exec.c | current->mm->arg_start = (unsigned long) p; |
mm | 348 | fs/exec.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
mm | 354 | fs/exec.c | current->mm->env_end = (unsigned long) p; |
mm | 448 | fs/exec.c | current->mm->start_code = code_base; |
mm | 453 | fs/exec.c | current->mm->rss++; |
mm | 534 | fs/exec.c | mpnt = current->mm->mmap; |
mm | 535 | fs/exec.c | current->mm->mmap = NULL; |
mm | 815 | fs/exec.c | current->mm->brk = ex.a_bss + |
mm | 816 | fs/exec.c | (current->mm->start_brk = |
mm | 817 | fs/exec.c | (current->mm->end_data = ex.a_data + |
mm | 818 | fs/exec.c | (current->mm->end_code = ex.a_text + |
mm | 819 | fs/exec.c | (current->mm->start_code = N_TXTADDR(ex))))); |
mm | 820 | fs/exec.c | current->mm->rss = 0; |
mm | 821 | fs/exec.c | current->mm->mmap = NULL; |
mm | 884 | fs/exec.c | set_brk(current->mm->start_brk, current->mm->brk); |
mm | 891 | fs/exec.c | current->mm->start_stack = p; |
mm | 360 | fs/namei.c | for(mpnt = (*p)->mm->mmap; mpnt; mpnt = mpnt->vm_next) { |
mm | 83 | fs/nfs/mmap.c | merge_segments(current->mm->mmap, NULL, NULL); |
mm | 105 | fs/nfs/mmap.c | ++area->vm_task->mm->min_flt; |
mm | 109 | fs/nfs/mmap.c | ++area->vm_task->mm->maj_flt; |
mm | 239 | fs/proc/array.c | return get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer); |
mm | 248 | fs/proc/array.c | return get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer); |
mm | 297 | fs/proc/array.c | vsize = (*p)->mm->brk - (*p)->mm->start_code + PAGE_SIZE-1; |
mm | 325 | fs/proc/array.c | (*p)->mm->min_flt, |
mm | 326 | fs/proc/array.c | (*p)->mm->cmin_flt, |
mm | 327 | fs/proc/array.c | (*p)->mm->maj_flt, |
mm | 328 | fs/proc/array.c | (*p)->mm->cmaj_flt, |
mm | 341 | fs/proc/array.c | (*p)->mm->rss, /* you might want to shift this left 3 */ |
mm | 343 | fs/proc/array.c | (*p)->mm->start_code, |
mm | 344 | fs/proc/array.c | (*p)->mm->end_code, |
mm | 345 | fs/proc/array.c | (*p)->mm->start_stack, |
mm | 364 | fs/proc/array.c | tpag = (*p)->mm->end_code / PAGE_SIZE; |
mm | 411 | fs/proc/array.c | for(map = (*p)->mm->mmap; map != NULL; map = map->vm_next) { |
mm | 114 | fs/proc/fd.c | for (mpnt = p->mm->mmap; mpnt; mpnt = mpnt->vm_next) |
mm | 171 | fs/proc/fd.c | for (mpnt = p->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) |
mm | 183 | fs/proc/inode.c | for (mpnt = p->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) |
mm | 88 | fs/proc/link.c | for(mpnt = p->mm->mmap; mpnt && j >= 0; |
mm | 522 | fs/super.c | for (vma = current->mm->mmap ; ; ) { |
mm | 444 | ibcs/binfmt_coff.c | current->mm->mmap = NULL; |
mm | 445 | ibcs/binfmt_coff.c | current->mm->rss = 0; |
mm | 458 | ibcs/binfmt_coff.c | current->mm->start_code = text_vaddr & PAGE_MASK; |
mm | 459 | ibcs/binfmt_coff.c | current->mm->end_code = text_vaddr + text_size; |
mm | 460 | ibcs/binfmt_coff.c | current->mm->end_data = data_vaddr + data_size; |
mm | 461 | ibcs/binfmt_coff.c | current->mm->start_brk = |
mm | 462 | ibcs/binfmt_coff.c | current->mm->brk = bss_vaddr + bss_size; |
mm | 471 | ibcs/binfmt_coff.c | current->mm->start_stack = bprm->p; |
mm | 74 | ibcs/binfmt_elf.c | current->mm->stk_vma = mpnt; |
mm | 105 | ibcs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
mm | 111 | ibcs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
mm | 117 | ibcs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
mm | 221 | ibcs/binfmt_elf.c | current->mm->brk = interp_ex->a_bss + |
mm | 222 | ibcs/binfmt_elf.c | (current->mm->end_data = interp_ex->a_data + |
mm | 223 | ibcs/binfmt_elf.c | (current->mm->end_code = interp_ex->a_text)); |
mm | 427 | ibcs/binfmt_elf.c | current->mm->end_data = 0; |
mm | 428 | ibcs/binfmt_elf.c | current->mm->end_code = 0; |
mm | 429 | ibcs/binfmt_elf.c | current->mm->start_mmap = ELF_START_MMAP; |
mm | 430 | ibcs/binfmt_elf.c | current->mm->mmap = NULL; |
mm | 435 | ibcs/binfmt_elf.c | current->mm->rss = 0; |
mm | 437 | ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 532 | ibcs/binfmt_elf.c | current->mm->arg_start += strlen(passed_fileno) + 1; |
mm | 533 | ibcs/binfmt_elf.c | current->mm->start_brk = current->mm->brk = elf_brk; |
mm | 534 | ibcs/binfmt_elf.c | current->mm->end_code = end_code; |
mm | 535 | ibcs/binfmt_elf.c | current->mm->start_code = start_code; |
mm | 536 | ibcs/binfmt_elf.c | current->mm->end_data = end_data; |
mm | 537 | ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 543 | ibcs/binfmt_elf.c | current->mm->brk = (elf_bss + 0xfff) & 0xfffff000; |
mm | 304 | include/linux/sched.h | struct mm_struct mm[1]; |
mm | 347 | ipc/shm.c | --current->mm->rss; |
mm | 422 | ipc/shm.c | if ((addr > current->mm->start_stack - 16384 - PAGE_SIZE*shp->shm_npages)) |
mm | 452 | ipc/shm.c | if (addr < current->mm->end_data) { |
mm | 629 | ipc/shm.c | --current->mm->maj_flt; /* was incremented in do_no_page */ |
mm | 632 | ipc/shm.c | current->mm->min_flt++; |
mm | 720 | ipc/shm.c | shmd->task->mm->rss--; |
mm | 362 | kernel/exit.c | mpnt = current->mm->mmap; |
mm | 363 | kernel/exit.c | current->mm->mmap = NULL; |
mm | 482 | kernel/exit.c | current->mm->rss = 0; |
mm | 558 | kernel/exit.c | current->mm->cmin_flt += p->mm->min_flt + p->mm->cmin_flt; |
mm | 559 | kernel/exit.c | current->mm->cmaj_flt += p->mm->maj_flt + p->mm->cmaj_flt; |
mm | 96 | kernel/fork.c | tsk->mm->mmap = NULL; |
mm | 97 | kernel/fork.c | p = &tsk->mm->mmap; |
mm | 98 | kernel/fork.c | for (mpnt = current->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) { |
mm | 139 | kernel/fork.c | p->mm->swappable = 1; |
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 | 367 | kernel/sys.c | if (brk < current->mm->end_code) |
mm | 368 | kernel/sys.c | return current->mm->brk; |
mm | 370 | kernel/sys.c | oldbrk = PAGE_ALIGN(current->mm->brk); |
mm | 372 | kernel/sys.c | return current->mm->brk = brk; |
mm | 377 | kernel/sys.c | if (brk <= current->mm->brk) { |
mm | 378 | kernel/sys.c | current->mm->brk = brk; |
mm | 388 | kernel/sys.c | if (brk - current->mm->end_code > rlim || |
mm | 389 | kernel/sys.c | brk >= current->mm->start_stack - 16384) |
mm | 390 | kernel/sys.c | return current->mm->brk; |
mm | 402 | kernel/sys.c | return current->mm->brk; |
mm | 404 | kernel/sys.c | freepages += current->mm->rss; |
mm | 407 | kernel/sys.c | return current->mm->brk; |
mm | 412 | kernel/sys.c | current->mm->brk = brk; |
mm | 705 | kernel/sys.c | r.ru_minflt = p->mm->min_flt; |
mm | 706 | kernel/sys.c | r.ru_majflt = p->mm->maj_flt; |
mm | 713 | kernel/sys.c | r.ru_minflt = p->mm->cmin_flt; |
mm | 714 | kernel/sys.c | r.ru_majflt = p->mm->cmaj_flt; |
mm | 721 | kernel/sys.c | r.ru_minflt = p->mm->min_flt + p->mm->cmin_flt; |
mm | 722 | kernel/sys.c | r.ru_majflt = p->mm->maj_flt + p->mm->cmaj_flt; |
mm | 320 | mm/memory.c | if (current->mm->rss > 0) |
mm | 321 | mm/memory.c | --current->mm->rss; |
mm | 380 | mm/memory.c | if (current->mm->rss > 0) |
mm | 381 | mm/memory.c | --current->mm->rss; |
mm | 442 | mm/memory.c | if (current->mm->rss > 0) |
mm | 443 | mm/memory.c | --current->mm->rss; |
mm | 464 | mm/memory.c | ++current->mm->rss; |
mm | 585 | mm/memory.c | tsk->mm->min_flt++; |
mm | 591 | mm/memory.c | ++tsk->mm->rss; |
mm | 690 | mm/memory.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
mm | 822 | mm/memory.c | for (mpnt = (*p)->mm->mmap; mpnt; mpnt = mpnt->vm_next) { |
mm | 889 | mm/memory.c | ++tsk->mm->rss; |
mm | 890 | mm/memory.c | ++tsk->mm->maj_flt; |
mm | 896 | mm/memory.c | for (mpnt = tsk->mm->mmap; mpnt != NULL; mpnt = mpnt->vm_next) { |
mm | 904 | mm/memory.c | ++tsk->mm->rss; |
mm | 905 | mm/memory.c | ++tsk->mm->min_flt; |
mm | 909 | mm/memory.c | ++tsk->mm->rss; |
mm | 915 | mm/memory.c | if (address >= tsk->mm->end_data && address < tsk->mm->brk) |
mm | 930 | mm/memory.c | ++tsk->mm->rss; |
mm | 931 | mm/memory.c | ++tsk->mm->min_flt; |
mm | 1232 | mm/memory.c | ++area->vm_task->mm->min_flt; |
mm | 1236 | mm/memory.c | ++area->vm_task->mm->maj_flt; |
mm | 89 | mm/mmap.c | for (vmm = current->mm->mmap ; vmm ; vmm = vmm->vm_next) { |
mm | 262 | mm/mmap.c | npp = ¤t->mm->mmap; |
mm | 350 | mm/mmap.c | merge_segments(current->mm->mmap, NULL, NULL); |
mm | 365 | mm/mmap.c | nxtpp = &t->mm->mmap; |
mm | 367 | mm/mmap.c | for(mpnt = t->mm->mmap; mpnt != NULL; mpnt = mpnt->vm_next) |
mm | 469 | mm/mmap.c | merge_segments(current->mm->mmap, ignoff_mergep, NULL); |
mm | 320 | mm/swap.c | if(p && p->mm->swappable && p->mm->rss) |
mm | 329 | mm/swap.c | if(! p->mm->swap_cnt) { |
mm | 330 | mm/swap.c | p->mm->dec_flt = (p->mm->dec_flt * 3) / 4 + p->mm->maj_flt - p->mm->old_maj_flt; |
mm | 331 | mm/swap.c | p->mm->old_maj_flt = p->mm->maj_flt; |
mm | 333 | mm/swap.c | if(p->mm->dec_flt >= SWAP_RATIO / SWAP_MIN) { |
mm | 334 | mm/swap.c | p->mm->dec_flt = SWAP_RATIO / SWAP_MIN; |
mm | 335 | mm/swap.c | p->mm->swap_cnt = SWAP_MIN; |
mm | 336 | mm/swap.c | } else if(p->mm->dec_flt <= SWAP_RATIO / SWAP_MAX) |
mm | 337 | mm/swap.c | p->mm->swap_cnt = SWAP_MAX; |
mm | 339 | mm/swap.c | p->mm->swap_cnt = SWAP_RATIO / p->mm->dec_flt; |
mm | 345 | mm/swap.c | for(table = p->mm->swap_table; table < 1024; table++) { |
mm | 362 | mm/swap.c | for(page = p->mm->swap_page; page < 1024; page++) { |
mm | 368 | mm/swap.c | p->mm->rss--; |
mm | 370 | mm/swap.c | p->mm->swap_table = table; |
mm | 371 | mm/swap.c | p->mm->swap_page = page + 1; |
mm | 372 | mm/swap.c | if((--p->mm->swap_cnt) == 0) |
mm | 377 | mm/swap.c | p->mm->rss--; |
mm | 382 | mm/swap.c | p->mm->swap_page = 0; |
mm | 389 | mm/swap.c | p->mm->swap_table = 0; |
mm | 422 | mm/swap.c | if (!p || !p->mm->swappable) { |
mm | 453 | mm/swap.c | case 1: p->mm->rss--; return 1; |
mm | 454 | mm/swap.c | default: p->mm->rss--; |
mm | 692 | mm/swap.c | ++p->mm->rss; |