tag | line | file | source code |
mm | 654 | drivers/block/sbpcd.c | u_int mm; |
mm | 658 | drivers/block/sbpcd.c | mm = (blk + CD_BLOCK_OFFSET) % (CD_SECS * CD_FRAMES); |
mm | 659 | drivers/block/sbpcd.c | msf.c[1] = mm / CD_FRAMES; |
mm | 660 | drivers/block/sbpcd.c | msf.c[0] = mm % CD_FRAMES; |
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 | 210 | fs/exec.c | dump.u_tsize = ((unsigned long) current->mm->end_code) >> 12; |
mm | 211 | fs/exec.c | dump.u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12; |
mm | 341 | fs/exec.c | current->mm->arg_start = (unsigned long) p; |
mm | 347 | fs/exec.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
mm | 353 | fs/exec.c | current->mm->env_end = (unsigned long) p; |
mm | 447 | fs/exec.c | current->mm->start_code = code_base; |
mm | 452 | fs/exec.c | current->mm->rss++; |
mm | 529 | fs/exec.c | mpnt = current->mm->mmap; |
mm | 530 | fs/exec.c | current->mm->mmap = NULL; |
mm | 811 | fs/exec.c | current->mm->brk = ex.a_bss + |
mm | 812 | fs/exec.c | (current->mm->start_brk = |
mm | 813 | fs/exec.c | (current->mm->end_data = ex.a_data + |
mm | 814 | fs/exec.c | (current->mm->end_code = ex.a_text + |
mm | 815 | fs/exec.c | (current->mm->start_code = N_TXTADDR(ex))))); |
mm | 816 | fs/exec.c | current->mm->rss = 0; |
mm | 817 | fs/exec.c | current->mm->mmap = NULL; |
mm | 879 | fs/exec.c | set_brk(current->mm->start_brk, current->mm->brk); |
mm | 886 | fs/exec.c | current->mm->start_stack = p; |
mm | 34 | fs/namei.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
mm | 387 | fs/namei.c | for(mpnt = (*p)->mm->mmap; mpnt; mpnt = mpnt->vm_next) { |
mm | 249 | fs/proc/array.c | return get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer); |
mm | 258 | fs/proc/array.c | return get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer); |
mm | 307 | fs/proc/array.c | vsize = (*p)->mm->brk - (*p)->mm->start_code + PAGE_SIZE-1; |
mm | 335 | fs/proc/array.c | (*p)->mm->min_flt, |
mm | 336 | fs/proc/array.c | (*p)->mm->cmin_flt, |
mm | 337 | fs/proc/array.c | (*p)->mm->maj_flt, |
mm | 338 | fs/proc/array.c | (*p)->mm->cmaj_flt, |
mm | 351 | fs/proc/array.c | (*p)->mm->rss, /* you might want to shift this left 3 */ |
mm | 353 | fs/proc/array.c | (*p)->mm->start_code, |
mm | 354 | fs/proc/array.c | (*p)->mm->end_code, |
mm | 355 | fs/proc/array.c | (*p)->mm->start_stack, |
mm | 374 | fs/proc/array.c | tpag = (*p)->mm->end_code / PAGE_SIZE; |
mm | 421 | fs/proc/array.c | for(map = (*p)->mm->mmap; map != NULL; map = map->vm_next) { |
mm | 75 | fs/proc/link.c | struct vm_area_struct * vma = p->mm->mmap; |
mm | 157 | fs/proc/mem.c | src_vma = task[i]->mm->mmap; |
mm | 192 | fs/proc/mem.c | src_vma = task[i]->mm->mmap; |
mm | 526 | 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 | 106 | ibcs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
mm | 112 | ibcs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
mm | 118 | ibcs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
mm | 222 | ibcs/binfmt_elf.c | current->mm->brk = interp_ex->a_bss + |
mm | 223 | ibcs/binfmt_elf.c | (current->mm->end_data = interp_ex->a_data + |
mm | 224 | ibcs/binfmt_elf.c | (current->mm->end_code = interp_ex->a_text)); |
mm | 428 | ibcs/binfmt_elf.c | current->mm->end_data = 0; |
mm | 429 | ibcs/binfmt_elf.c | current->mm->end_code = 0; |
mm | 430 | ibcs/binfmt_elf.c | current->mm->start_mmap = ELF_START_MMAP; |
mm | 431 | ibcs/binfmt_elf.c | current->mm->mmap = NULL; |
mm | 436 | ibcs/binfmt_elf.c | current->mm->rss = 0; |
mm | 438 | ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 533 | ibcs/binfmt_elf.c | current->mm->arg_start += strlen(passed_fileno) + 1; |
mm | 534 | ibcs/binfmt_elf.c | current->mm->start_brk = current->mm->brk = elf_brk; |
mm | 535 | ibcs/binfmt_elf.c | current->mm->end_code = end_code; |
mm | 536 | ibcs/binfmt_elf.c | current->mm->start_code = start_code; |
mm | 537 | ibcs/binfmt_elf.c | current->mm->end_data = end_data; |
mm | 538 | ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 544 | ibcs/binfmt_elf.c | current->mm->brk = (elf_bss + 0xfff) & 0xfffff000; |
mm | 303 | include/linux/sched.h | struct mm_struct mm[1]; |
mm | 348 | ipc/shm.c | --current->mm->rss; |
mm | 419 | ipc/shm.c | merge_segments(current->mm->mmap); |
mm | 467 | ipc/shm.c | if ((addr > current->mm->start_stack - 16384 - PAGE_SIZE*shp->shm_npages)) |
mm | 674 | ipc/shm.c | --current->mm->maj_flt; /* was incremented in do_no_page */ |
mm | 677 | ipc/shm.c | current->mm->min_flt++; |
mm | 764 | 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 | 160 | kernel/ptrace.c | for (vma = tsk->mm->mmap ; ; vma = vma->vm_next) { |
mm | 400 | kernel/sys.c | if (brk < current->mm->end_code) |
mm | 401 | kernel/sys.c | return current->mm->brk; |
mm | 403 | kernel/sys.c | oldbrk = PAGE_ALIGN(current->mm->brk); |
mm | 405 | kernel/sys.c | return current->mm->brk = brk; |
mm | 410 | kernel/sys.c | if (brk <= current->mm->brk) { |
mm | 411 | kernel/sys.c | current->mm->brk = brk; |
mm | 421 | kernel/sys.c | if (brk - current->mm->end_code > rlim || |
mm | 422 | kernel/sys.c | brk >= current->mm->start_stack - 16384) |
mm | 423 | kernel/sys.c | return current->mm->brk; |
mm | 435 | kernel/sys.c | return current->mm->brk; |
mm | 437 | kernel/sys.c | freepages += current->mm->rss; |
mm | 440 | kernel/sys.c | return current->mm->brk; |
mm | 445 | kernel/sys.c | current->mm->brk = brk; |
mm | 738 | kernel/sys.c | r.ru_minflt = p->mm->min_flt; |
mm | 739 | kernel/sys.c | r.ru_majflt = p->mm->maj_flt; |
mm | 746 | kernel/sys.c | r.ru_minflt = p->mm->cmin_flt; |
mm | 747 | kernel/sys.c | r.ru_majflt = p->mm->cmaj_flt; |
mm | 754 | kernel/sys.c | r.ru_minflt = p->mm->min_flt + p->mm->cmin_flt; |
mm | 755 | kernel/sys.c | r.ru_majflt = p->mm->maj_flt + p->mm->cmaj_flt; |
mm | 324 | mm/memory.c | if (current->mm->rss > 0) |
mm | 325 | mm/memory.c | --current->mm->rss; |
mm | 384 | mm/memory.c | if (current->mm->rss > 0) |
mm | 385 | mm/memory.c | --current->mm->rss; |
mm | 446 | mm/memory.c | if (current->mm->rss > 0) |
mm | 447 | mm/memory.c | --current->mm->rss; |
mm | 468 | mm/memory.c | ++current->mm->rss; |
mm | 586 | mm/memory.c | vma->vm_task->mm->min_flt++; |
mm | 592 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 640 | mm/memory.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
mm | 823 | mm/memory.c | for (mpnt = (*p)->mm->mmap; mpnt; mpnt = mpnt->vm_next) { |
mm | 897 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 898 | mm/memory.c | ++vma->vm_task->mm->maj_flt; |
mm | 923 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 924 | mm/memory.c | ++vma->vm_task->mm->min_flt; |
mm | 930 | mm/memory.c | ++vma->vm_task->mm->min_flt; |
mm | 931 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 939 | mm/memory.c | ++vma->vm_task->mm->maj_flt; |
mm | 940 | mm/memory.c | ++vma->vm_task->mm->rss; |
mm | 979 | mm/memory.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
mm | 93 | mm/mmap.c | for (vmm = current->mm->mmap ; vmm ; vmm = vmm->vm_next) { |
mm | 165 | mm/mmap.c | merge_segments(current->mm->mmap); |
mm | 294 | mm/mmap.c | npp = ¤t->mm->mmap; |
mm | 372 | mm/mmap.c | p = &t->mm->mmap; |
mm | 58 | mm/mprotect.c | merge_segments(current->mm->mmap); |
mm | 80 | mm/mprotect.c | merge_segments(current->mm->mmap); |
mm | 102 | mm/mprotect.c | merge_segments(current->mm->mmap); |
mm | 134 | mm/mprotect.c | merge_segments(current->mm->mmap); |
mm | 186 | mm/mprotect.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
mm | 375 | mm/swap.c | address = p->mm->swap_address; |
mm | 403 | mm/swap.c | p->mm->rss--; |
mm | 405 | mm/swap.c | p->mm->swap_address = address + offset + PAGE_SIZE; |
mm | 409 | mm/swap.c | p->mm->rss--; |
mm | 418 | mm/swap.c | p->mm->swap_address = 0; |
mm | 446 | mm/swap.c | if (p && p->mm->swappable && p->mm->rss) |
mm | 455 | mm/swap.c | if (!p->mm->swap_cnt) { |
mm | 456 | mm/swap.c | p->mm->dec_flt = (p->mm->dec_flt * 3) / 4 + p->mm->maj_flt - p->mm->old_maj_flt; |
mm | 457 | mm/swap.c | p->mm->old_maj_flt = p->mm->maj_flt; |
mm | 459 | mm/swap.c | if (p->mm->dec_flt >= SWAP_RATIO / SWAP_MIN) { |
mm | 460 | mm/swap.c | p->mm->dec_flt = SWAP_RATIO / SWAP_MIN; |
mm | 461 | mm/swap.c | p->mm->swap_cnt = SWAP_MIN; |
mm | 462 | mm/swap.c | } else if (p->mm->dec_flt <= SWAP_RATIO / SWAP_MAX) |
mm | 463 | mm/swap.c | p->mm->swap_cnt = SWAP_MAX; |
mm | 465 | mm/swap.c | p->mm->swap_cnt = SWAP_RATIO / p->mm->dec_flt; |
mm | 468 | mm/swap.c | if ((--p->mm->swap_cnt) == 0) |
mm | 725 | mm/swap.c | ++p->mm->rss; |