tag | line | file | source code |
mm | 535 | drivers/block/sbpcd.c | u_int mm; |
mm | 539 | drivers/block/sbpcd.c | mm = (blk + CD_BLOCK_OFFSET) % (CD_SECS * CD_FRAMES); |
mm | 540 | drivers/block/sbpcd.c | msf.c[1] = mm / CD_FRAMES; |
mm | 541 | drivers/block/sbpcd.c | msf.c[0] = mm % CD_FRAMES; |
mm | 112 | drivers/char/mem.c | merge_segments(current->mm->mmap, NULL, NULL); |
mm | 205 | drivers/char/mem.c | merge_segments(current->mm->mmap, ignoff_mergep, inode); |
mm | 444 | fs/binfmt_coff.c | current->mm->mmap = NULL; |
mm | 445 | fs/binfmt_coff.c | current->mm->rss = 0; |
mm | 458 | fs/binfmt_coff.c | current->mm->start_code = text_vaddr & PAGE_MASK; |
mm | 459 | fs/binfmt_coff.c | current->mm->end_code = text_vaddr + text_size; |
mm | 460 | fs/binfmt_coff.c | current->mm->end_data = data_vaddr + data_size; |
mm | 461 | fs/binfmt_coff.c | current->mm->start_brk = |
mm | 462 | fs/binfmt_coff.c | current->mm->brk = bss_vaddr + bss_size; |
mm | 471 | fs/binfmt_coff.c | current->mm->start_stack = bprm->p; |
mm | 66 | fs/binfmt_elf.c | current->mm->stk_vma = mpnt; |
mm | 97 | fs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
mm | 103 | fs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
mm | 109 | fs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
mm | 213 | fs/binfmt_elf.c | current->mm->brk = interp_ex->a_bss + |
mm | 214 | fs/binfmt_elf.c | (current->mm->end_data = interp_ex->a_data + |
mm | 215 | fs/binfmt_elf.c | (current->mm->end_code = interp_ex->a_text)); |
mm | 419 | fs/binfmt_elf.c | current->mm->end_data = 0; |
mm | 420 | fs/binfmt_elf.c | current->mm->end_code = 0; |
mm | 421 | fs/binfmt_elf.c | current->mm->start_mmap = ELF_START_MMAP; |
mm | 422 | fs/binfmt_elf.c | current->mm->mmap = NULL; |
mm | 427 | fs/binfmt_elf.c | current->mm->rss = 0; |
mm | 429 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 515 | fs/binfmt_elf.c | current->mm->arg_start += strlen(passed_fileno) + 1; |
mm | 516 | fs/binfmt_elf.c | current->mm->start_brk = current->mm->brk = elf_brk; |
mm | 517 | fs/binfmt_elf.c | current->mm->end_code = end_code; |
mm | 518 | fs/binfmt_elf.c | current->mm->start_code = start_code; |
mm | 519 | fs/binfmt_elf.c | current->mm->end_data = end_data; |
mm | 520 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 526 | fs/binfmt_elf.c | current->mm->brk = (elf_bss + 0xfff) & 0xfffff000; |
mm | 1108 | fs/buffer.c | ++current->mm->min_flt; |
mm | 1166 | fs/buffer.c | ++current->mm->maj_flt; |
mm | 1225 | fs/buffer.c | ++current->mm->maj_flt; |
mm | 208 | fs/exec.c | dump.u_tsize = ((unsigned long) current->mm->end_code) >> 12; |
mm | 209 | fs/exec.c | dump.u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12; |
mm | 326 | fs/exec.c | current->mm->stk_vma = mpnt; |
mm | 338 | fs/exec.c | current->mm->arg_start = (unsigned long) p; |
mm | 344 | fs/exec.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
mm | 350 | fs/exec.c | current->mm->env_end = (unsigned long) p; |
mm | 444 | fs/exec.c | current->mm->start_code = code_base; |
mm | 449 | fs/exec.c | current->mm->rss++; |
mm | 530 | fs/exec.c | mpnt = current->mm->mmap; |
mm | 531 | fs/exec.c | current->mm->mmap = NULL; |
mm | 532 | fs/exec.c | current->mm->stk_vma = NULL; |
mm | 831 | fs/exec.c | current->mm->brk = ex.a_bss + |
mm | 832 | fs/exec.c | (current->mm->start_brk = |
mm | 833 | fs/exec.c | (current->mm->end_data = ex.a_data + |
mm | 834 | fs/exec.c | (current->mm->end_code = ex.a_text + |
mm | 835 | fs/exec.c | (current->mm->start_code = N_TXTADDR(ex))))); |
mm | 836 | fs/exec.c | current->mm->rss = 0; |
mm | 837 | fs/exec.c | current->mm->mmap = NULL; |
mm | 886 | 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 | 82 | fs/nfs/mmap.c | merge_segments(current->mm->mmap, NULL, NULL); |
mm | 104 | fs/nfs/mmap.c | ++area->vm_task->mm->min_flt; |
mm | 108 | 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 | 66 | ibcs/binfmt_elf.c | current->mm->stk_vma = mpnt; |
mm | 97 | ibcs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
mm | 103 | ibcs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
mm | 109 | ibcs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
mm | 213 | ibcs/binfmt_elf.c | current->mm->brk = interp_ex->a_bss + |
mm | 214 | ibcs/binfmt_elf.c | (current->mm->end_data = interp_ex->a_data + |
mm | 215 | ibcs/binfmt_elf.c | (current->mm->end_code = interp_ex->a_text)); |
mm | 419 | ibcs/binfmt_elf.c | current->mm->end_data = 0; |
mm | 420 | ibcs/binfmt_elf.c | current->mm->end_code = 0; |
mm | 421 | ibcs/binfmt_elf.c | current->mm->start_mmap = ELF_START_MMAP; |
mm | 422 | ibcs/binfmt_elf.c | current->mm->mmap = NULL; |
mm | 427 | ibcs/binfmt_elf.c | current->mm->rss = 0; |
mm | 429 | ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 515 | ibcs/binfmt_elf.c | current->mm->arg_start += strlen(passed_fileno) + 1; |
mm | 516 | ibcs/binfmt_elf.c | current->mm->start_brk = current->mm->brk = elf_brk; |
mm | 517 | ibcs/binfmt_elf.c | current->mm->end_code = end_code; |
mm | 518 | ibcs/binfmt_elf.c | current->mm->start_code = start_code; |
mm | 519 | ibcs/binfmt_elf.c | current->mm->end_data = end_data; |
mm | 520 | ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 526 | 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 | 554 | kernel/exit.c | current->mm->cmin_flt += p->mm->min_flt + p->mm->cmin_flt; |
mm | 555 | 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 | tsk->mm->stk_vma = NULL; |
mm | 98 | kernel/fork.c | p = &tsk->mm->mmap; |
mm | 99 | kernel/fork.c | for (mpnt = current->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) { |
mm | 110 | kernel/fork.c | if (current->mm->stk_vma == mpnt) |
mm | 111 | kernel/fork.c | tsk->mm->stk_vma = tmp; |
mm | 142 | kernel/fork.c | p->mm->swappable = 1; |
mm | 143 | kernel/fork.c | p->mm->min_flt = p->mm->maj_flt = 0; |
mm | 144 | kernel/fork.c | p->mm->cmin_flt = p->mm->cmaj_flt = 0; |
mm | 364 | kernel/sys.c | if (brk < current->mm->end_code) |
mm | 365 | kernel/sys.c | return current->mm->brk; |
mm | 367 | kernel/sys.c | oldbrk = PAGE_ALIGN(current->mm->brk); |
mm | 369 | kernel/sys.c | return current->mm->brk = brk; |
mm | 374 | kernel/sys.c | if (brk <= current->mm->brk) { |
mm | 375 | kernel/sys.c | current->mm->brk = brk; |
mm | 385 | kernel/sys.c | if (brk - current->mm->end_code > rlim || |
mm | 386 | kernel/sys.c | brk >= current->mm->start_stack - 16384) |
mm | 387 | kernel/sys.c | return current->mm->brk; |
mm | 399 | kernel/sys.c | return current->mm->brk; |
mm | 401 | kernel/sys.c | freepages += current->mm->rss; |
mm | 404 | kernel/sys.c | return current->mm->brk; |
mm | 409 | kernel/sys.c | current->mm->brk = brk; |
mm | 702 | kernel/sys.c | r.ru_minflt = p->mm->min_flt; |
mm | 703 | kernel/sys.c | r.ru_majflt = p->mm->maj_flt; |
mm | 710 | kernel/sys.c | r.ru_minflt = p->mm->cmin_flt; |
mm | 711 | kernel/sys.c | r.ru_majflt = p->mm->cmaj_flt; |
mm | 718 | kernel/sys.c | r.ru_minflt = p->mm->min_flt + p->mm->cmin_flt; |
mm | 719 | kernel/sys.c | r.ru_majflt = p->mm->maj_flt + p->mm->cmaj_flt; |
mm | 317 | mm/memory.c | if (current->mm->rss > 0) |
mm | 318 | mm/memory.c | --current->mm->rss; |
mm | 377 | mm/memory.c | if (current->mm->rss > 0) |
mm | 378 | mm/memory.c | --current->mm->rss; |
mm | 439 | mm/memory.c | if (current->mm->rss > 0) |
mm | 440 | mm/memory.c | --current->mm->rss; |
mm | 461 | mm/memory.c | ++current->mm->rss; |
mm | 582 | mm/memory.c | tsk->mm->min_flt++; |
mm | 588 | mm/memory.c | ++tsk->mm->rss; |
mm | 780 | mm/memory.c | for (mpnt = (*p)->mm->mmap; mpnt; mpnt = mpnt->vm_next) { |
mm | 846 | mm/memory.c | ++tsk->mm->rss; |
mm | 848 | mm/memory.c | ++tsk->mm->maj_flt; |
mm | 854 | mm/memory.c | for (mpnt = tsk->mm->mmap; mpnt != NULL; mpnt = mpnt->vm_next) { |
mm | 862 | mm/memory.c | ++tsk->mm->min_flt; |
mm | 871 | mm/memory.c | if (address >= tsk->mm->end_data && address < tsk->mm->brk) |
mm | 873 | mm/memory.c | if (mpnt && mpnt == tsk->mm->stk_vma && |
mm | 886 | mm/memory.c | ++tsk->mm->min_flt; |
mm | 1184 | mm/memory.c | ++area->vm_task->mm->min_flt; |
mm | 1188 | 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 | 349 | mm/mmap.c | merge_segments(current->mm->mmap, NULL, NULL); |
mm | 364 | mm/mmap.c | nxtpp = &t->mm->mmap; |
mm | 366 | mm/mmap.c | for(mpnt = t->mm->mmap; mpnt != NULL; mpnt = mpnt->vm_next) |
mm | 467 | 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; |