tag | line | file | source code |
mm | 154 | arch/alpha/kernel/process.c | dump->start_code = current->mm->start_code; |
mm | 155 | arch/alpha/kernel/process.c | dump->start_data = current->mm->start_data; |
mm | 157 | arch/alpha/kernel/process.c | dump->u_tsize = (current->mm->end_code - dump->start_code) >> PAGE_SHIFT; |
mm | 158 | arch/alpha/kernel/process.c | dump->u_dsize = (current->mm->brk + (PAGE_SIZE - 1) - dump->start_data) >> PAGE_SHIFT; |
mm | 160 | arch/alpha/kernel/process.c | (current->mm->start_stack - dump->start_stack + PAGE_SIZE - 1) >> PAGE_SHIFT; |
mm | 327 | arch/i386/kernel/process.c | dump->u_tsize = ((unsigned long) current->mm->end_code) >> 12; |
mm | 328 | arch/i386/kernel/process.c | dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12; |
mm | 136 | arch/i386/kernel/setup.c | init_task.mm->start_code = TASK_SIZE; |
mm | 137 | arch/i386/kernel/setup.c | init_task.mm->end_code = TASK_SIZE + (unsigned long) &_etext; |
mm | 138 | arch/i386/kernel/setup.c | init_task.mm->end_data = TASK_SIZE + (unsigned long) &_edata; |
mm | 139 | arch/i386/kernel/setup.c | init_task.mm->brk = TASK_SIZE + (unsigned long) &_end; |
mm | 77 | arch/i386/kernel/vm86.c | pgd = pgd_offset(tsk->mm, 0xA0000); |
mm | 55 | arch/ppc/mm/fault.c | dir = pgd_offset(current->mm, regs->dar & PAGE_MASK); |
mm | 99 | arch/ppc/mm/fault.c | dir = pgd_offset(current->mm, regs->dar & PAGE_MASK); |
mm | 143 | arch/ppc/mm/fault.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) |
mm | 150 | arch/ppc/mm/fault.c | for(mmp=current->mm->mmap; mmp; mmp=mmp->vm_next) { |
mm | 152 | arch/ppc/mm/fault.c | current, current->mm, mmp, mmp->vm_start, mmp->vm_end, mmp->vm_flags); |
mm | 158 | arch/ppc/mm/fault.c | regs->nip, current, current->mm, current->mm->mmap, address, error_code); |
mm | 197 | arch/ppc/mm/fault.c | current,address,vma->vm_flags,current->mm,vma,vma->vm_start,vma->vm_end); |
mm | 245 | arch/ppc/mm/fault.c | current,address,vma->vm_flags,current->mm,vma,vma->vm_start,vma->vm_end); |
mm | 256 | arch/ppc/mm/fault.c | dir = pgd_offset(current->mm, address & PAGE_MASK); |
mm | 734 | arch/ppc/mm/init.c | pgd = pgd_offset(current->mm, 0); |
mm | 233 | arch/sparc/kernel/setup.c | init_task.mm->mmap->vm_page_prot = PAGE_SHARED; |
mm | 48 | arch/sparc/kernel/sys_sunos.c | for (vmm = current->mm->mmap; ; vmm = vmm->vm_next) { |
mm | 130 | arch/sparc/kernel/sys_sunos.c | if (brk < current->mm->end_code) |
mm | 134 | arch/sparc/kernel/sys_sunos.c | oldbrk = PAGE_ALIGN(current->mm->brk); |
mm | 136 | arch/sparc/kernel/sys_sunos.c | current->mm->brk = brk; |
mm | 143 | arch/sparc/kernel/sys_sunos.c | if (brk <= current->mm->brk) { |
mm | 144 | arch/sparc/kernel/sys_sunos.c | current->mm->brk = brk; |
mm | 154 | arch/sparc/kernel/sys_sunos.c | if (brk - current->mm->end_code > rlim) |
mm | 178 | arch/sparc/kernel/sys_sunos.c | current->mm->brk = brk; |
mm | 190 | arch/sparc/kernel/sys_sunos.c | error = sunos_brk(((int) current->mm->brk) + increment); |
mm | 192 | arch/sparc/kernel/sys_sunos.c | return current->mm->brk; |
mm | 290 | arch/sparc/kernel/sys_sunos.c | pgdp = pgd_offset(current->mm, addr); |
mm | 170 | arch/sparc/mm/srmmu.c | srmmu_pgd_offset(struct mm_struct * mm, unsigned long address) |
mm | 172 | arch/sparc/mm/srmmu.c | return mm->pgd + ((address >> SRMMU_PGDIR_SHIFT) & (SRMMU_PTRS_PER_PGD - 1)); |
mm | 414 | arch/sparc/mm/srmmu.c | pgdp = srmmu_pgd_offset(init_task.mm, virt_addr); |
mm | 611 | arch/sparc/mm/srmmu.c | pgdp = srmmu_pgd_offset(init_task.mm, vaddr); |
mm | 632 | arch/sparc/mm/srmmu.c | pgdp = srmmu_pgd_offset(init_task.mm, vaddr); |
mm | 649 | arch/sparc/mm/srmmu.c | pgdp = srmmu_pgd_offset(init_task.mm, vaddr); |
mm | 676 | arch/sparc/mm/srmmu.c | pgdp = srmmu_pgd_offset(init_task.mm, vaddr); |
mm | 718 | arch/sparc/mm/srmmu.c | pgdp = srmmu_pgd_offset(init_task.mm, vaddr); |
mm | 799 | arch/sparc/mm/srmmu.c | pgdp = srmmu_pgd_offset(init_task.mm, 0x0); |
mm | 142 | arch/sparc/mm/sun4c.c | pgd_t *sun4c_pgd_offset(struct mm_struct * mm, unsigned long address) |
mm | 144 | arch/sparc/mm/sun4c.c | return mm->pgd + (address >> SUN4C_PGDIR_SHIFT); |
mm | 3995 | drivers/block/floppy.c | for (i=current->mm->env_start; i< current->mm->env_end; i ++){ |
mm | 799 | drivers/cdrom/sbpcd.c | u_int mm; |
mm | 803 | drivers/cdrom/sbpcd.c | mm = (blk + CD_MSF_OFFSET) % (CD_SECS * CD_FRAMES); |
mm | 804 | drivers/cdrom/sbpcd.c | msf.c[1] = mm / CD_FRAMES; |
mm | 805 | drivers/cdrom/sbpcd.c | msf.c[0] = mm % CD_FRAMES; |
mm | 100 | fs/binfmt_elf.c | mpnt->vm_mm = current->mm; |
mm | 110 | fs/binfmt_elf.c | current->mm->total_vm += (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT; |
mm | 147 | fs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
mm | 153 | fs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
mm | 159 | fs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
mm | 303 | fs/binfmt_elf.c | current->mm->brk = interp_ex->a_bss + |
mm | 304 | fs/binfmt_elf.c | (current->mm->end_data = interp_ex->a_data + |
mm | 305 | fs/binfmt_elf.c | (current->mm->end_code = interp_ex->a_text)); |
mm | 530 | fs/binfmt_elf.c | current->mm->end_data = 0; |
mm | 531 | fs/binfmt_elf.c | current->mm->end_code = 0; |
mm | 532 | fs/binfmt_elf.c | current->mm->start_mmap = ELF_START_MMAP; |
mm | 533 | fs/binfmt_elf.c | current->mm->mmap = NULL; |
mm | 538 | fs/binfmt_elf.c | current->mm->rss = 0; |
mm | 540 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 651 | fs/binfmt_elf.c | current->mm->arg_start += strlen(passed_fileno) + 1; |
mm | 652 | fs/binfmt_elf.c | current->mm->start_brk = current->mm->brk = elf_brk; |
mm | 653 | fs/binfmt_elf.c | current->mm->end_code = end_code; |
mm | 654 | fs/binfmt_elf.c | current->mm->start_code = start_code; |
mm | 655 | fs/binfmt_elf.c | current->mm->end_data = end_data; |
mm | 656 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
mm | 660 | fs/binfmt_elf.c | current->mm->brk = (elf_bss + 0xfff) & 0xfffff000; |
mm | 666 | fs/binfmt_elf.c | printk("(start_brk) %x\n" , current->mm->start_brk); |
mm | 667 | fs/binfmt_elf.c | printk("(end_code) %x\n" , current->mm->end_code); |
mm | 668 | fs/binfmt_elf.c | printk("(start_code) %x\n" , current->mm->start_code); |
mm | 669 | fs/binfmt_elf.c | printk("(end_data) %x\n" , current->mm->end_data); |
mm | 670 | fs/binfmt_elf.c | printk("(start_stack) %x\n" , current->mm->start_stack); |
mm | 671 | fs/binfmt_elf.c | printk("(brk) %x\n" , current->mm->brk); |
mm | 973 | fs/binfmt_elf.c | for(vma = current->mm->mmap; vma != NULL; vma = vma->vm_next) { |
mm | 1099 | fs/binfmt_elf.c | len = current->mm->arg_end - current->mm->arg_start; |
mm | 1102 | fs/binfmt_elf.c | (const char *)current->mm->arg_start, len); |
mm | 1156 | fs/binfmt_elf.c | for(vma = current->mm->mmap, i = 0; |
mm | 1190 | fs/binfmt_elf.c | for(i = 0, vma = current->mm->mmap; |
mm | 323 | fs/exec.c | mpnt->vm_mm = current->mm; |
mm | 333 | fs/exec.c | current->mm->total_vm = (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT; |
mm | 360 | fs/exec.c | current->mm->arg_start = (unsigned long) p; |
mm | 366 | fs/exec.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
mm | 372 | fs/exec.c | current->mm->env_end = (unsigned long) p; |
mm | 477 | fs/exec.c | current->mm->rss++; |
mm | 539 | fs/exec.c | if (current->mm->count > 1) { |
mm | 540 | fs/exec.c | struct mm_struct *mm = kmalloc(sizeof(*mm), GFP_KERNEL); |
mm | 541 | fs/exec.c | if (!mm) { |
mm | 546 | fs/exec.c | *mm = *current->mm; |
mm | 547 | fs/exec.c | mm->def_flags = 0; /* should future lockings be kept? */ |
mm | 548 | fs/exec.c | mm->count = 1; |
mm | 549 | fs/exec.c | mm->mmap = NULL; |
mm | 550 | fs/exec.c | mm->mmap_avl = NULL; |
mm | 551 | fs/exec.c | mm->total_vm = 0; |
mm | 552 | fs/exec.c | mm->rss = 0; |
mm | 553 | fs/exec.c | current->mm->count--; |
mm | 554 | fs/exec.c | current->mm = mm; |
mm | 558 | fs/exec.c | exit_mmap(current->mm); |
mm | 868 | fs/exec.c | current->mm->end_code = ex.a_text + |
mm | 869 | fs/exec.c | (current->mm->start_code = N_TXTADDR(ex)); |
mm | 870 | fs/exec.c | current->mm->end_data = ex.a_data + |
mm | 871 | fs/exec.c | (current->mm->start_data = N_DATADDR(ex)); |
mm | 872 | fs/exec.c | current->mm->brk = ex.a_bss + |
mm | 873 | fs/exec.c | (current->mm->start_brk = N_BSSADDR(ex)); |
mm | 875 | fs/exec.c | current->mm->rss = 0; |
mm | 876 | fs/exec.c | current->mm->mmap = NULL; |
mm | 945 | fs/exec.c | set_brk(current->mm->start_brk, current->mm->brk); |
mm | 955 | fs/exec.c | current->mm->start_stack = p; |
mm | 130 | fs/namei.c | if (!p->mm) |
mm | 132 | fs/namei.c | for(mpnt = p->mm->mmap; mpnt; mpnt = mpnt->vm_next) { |
mm | 319 | fs/proc/array.c | if (!p || !p->mm || ptr >= TASK_SIZE) |
mm | 321 | fs/proc/array.c | page_dir = pgd_offset(p->mm,ptr); |
mm | 380 | fs/proc/array.c | if (!p || !*p || !(*p)->mm) |
mm | 382 | fs/proc/array.c | return get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer); |
mm | 389 | fs/proc/array.c | if (!p || !*p || !(*p)->mm) |
mm | 391 | fs/proc/array.c | return get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer); |
mm | 472 | fs/proc/array.c | if (tsk->mm && tsk->mm != &init_mm) { |
mm | 473 | fs/proc/array.c | struct vm_area_struct *vma = tsk->mm->mmap; |
mm | 537 | fs/proc/array.c | tsk->mm ? tsk->mm->rss : 0, /* you might want to shift this left 3 */ |
mm | 539 | fs/proc/array.c | tsk->mm ? tsk->mm->start_code : 0, |
mm | 540 | fs/proc/array.c | tsk->mm ? tsk->mm->end_code : 0, |
mm | 541 | fs/proc/array.c | tsk->mm ? tsk->mm->start_stack : 0, |
mm | 631 | fs/proc/array.c | if (tsk->mm && tsk->mm != &init_mm) { |
mm | 632 | fs/proc/array.c | struct vm_area_struct * vma = tsk->mm->mmap; |
mm | 635 | fs/proc/array.c | pgd_t *pgd = pgd_offset(tsk->mm, vma->vm_start); |
mm | 695 | fs/proc/array.c | if (!(*p)->mm || (*p)->mm == &init_mm || count == 0) |
mm | 703 | fs/proc/array.c | for (map = (*p)->mm->mmap, i = 0; map && (i < lineno); map = map->vm_next, i++) |
mm | 106 | fs/proc/link.c | if (!p->mm) |
mm | 108 | fs/proc/link.c | vma = p->mm->mmap; |
mm | 84 | fs/proc/mem.c | page_dir = pgd_offset(tsk->mm,addr); |
mm | 231 | fs/proc/mem.c | src_vma = tsk->mm->mmap; |
mm | 239 | fs/proc/mem.c | src_dir = pgd_offset(tsk->mm, stmp); |
mm | 266 | fs/proc/mem.c | src_vma = tsk->mm->mmap; |
mm | 274 | fs/proc/mem.c | src_dir = pgd_offset(tsk->mm, stmp); |
mm | 278 | fs/proc/mem.c | dest_dir = pgd_offset(current->mm, dtmp); |
mm | 40 | include/asm-alpha/pgtable.h | static inline void invalidate_mm(struct mm_struct *mm) |
mm | 63 | include/asm-alpha/pgtable.h | static inline void invalidate_range(struct mm_struct *mm, |
mm | 310 | include/asm-alpha/pgtable.h | extern inline pgd_t * pgd_offset(struct mm_struct * mm, unsigned long address) |
mm | 312 | include/asm-alpha/pgtable.h | return mm->pgd + ((address >> PGDIR_SHIFT) & (PTRS_PER_PAGE - 1)); |
mm | 50 | include/asm-i386/pgtable.h | static inline void invalidate_mm(struct mm_struct *mm) |
mm | 52 | include/asm-i386/pgtable.h | if (mm == current->mm) |
mm | 59 | include/asm-i386/pgtable.h | if (vma->vm_mm == current->mm) |
mm | 63 | include/asm-i386/pgtable.h | static inline void invalidate_range(struct mm_struct *mm, |
mm | 66 | include/asm-i386/pgtable.h | if (mm == current->mm) |
mm | 87 | include/asm-i386/pgtable.h | static inline void invalidate_mm(struct mm_struct *mm) |
mm | 98 | include/asm-i386/pgtable.h | static inline void invalidate_range(struct mm_struct *mm, |
mm | 310 | include/asm-i386/pgtable.h | extern inline pgd_t * pgd_offset(struct mm_struct * mm, unsigned long address) |
mm | 312 | include/asm-i386/pgtable.h | return mm->pgd + (address >> PGDIR_SHIFT); |
mm | 42 | include/asm-mips/pgtable.h | do { if ((mm_struct) == current->mm) invalidate(); } while (0) |
mm | 44 | include/asm-mips/pgtable.h | do { if ((mm_struct) == current->mm) invalidate(); } while (0) |
mm | 46 | include/asm-mips/pgtable.h | do { if ((mm_struct) == current->mm) invalidate(); } while (0) |
mm | 344 | include/asm-mips/pgtable.h | extern inline pgd_t * pgd_offset(struct mm_struct * mm, unsigned long address) |
mm | 346 | include/asm-mips/pgtable.h | return mm->pgd + (address >> PGDIR_SHIFT); |
mm | 288 | include/asm-ppc/pgtable.h | extern inline pgd_t * pgd_offset(struct mm_struct * mm, unsigned long address) |
mm | 290 | include/asm-ppc/pgtable.h | return mm->pgd + (address >> PGDIR_SHIFT); |
mm | 175 | include/linux/mm.h | extern int zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size); |
mm | 265 | include/linux/mm.h | if (!task->mm) |
mm | 267 | include/linux/mm.h | for (tree = task->mm->mmap_avl ; ; ) { |
mm | 229 | include/linux/sched.h | struct mm_struct *mm; |
mm | 428 | ipc/shm.c | current->mm->total_vm += (shmd->vm_end - shmd->vm_start) >> PAGE_SHIFT; |
mm | 489 | ipc/shm.c | if (addr < current->mm->start_stack && |
mm | 490 | ipc/shm.c | addr > current->mm->start_stack - PAGE_SIZE*(shp->shm_npages + 4)) |
mm | 518 | ipc/shm.c | shmd->vm_mm = current->mm; |
mm | 592 | ipc/shm.c | for (shmd = current->mm->mmap; shmd; shmd = shmdnext) { |
mm | 424 | kernel/exit.c | struct mm_struct * mm = current->mm; |
mm | 427 | kernel/exit.c | if (mm) { |
mm | 428 | kernel/exit.c | if (!--mm->count) { |
mm | 429 | kernel/exit.c | exit_mmap(mm); |
mm | 431 | kernel/exit.c | kfree(mm); |
mm | 433 | kernel/exit.c | current->mm = NULL; |
mm | 78 | kernel/fork.c | static inline int dup_mmap(struct mm_struct * mm) |
mm | 82 | kernel/fork.c | mm->mmap = NULL; |
mm | 83 | kernel/fork.c | p = &mm->mmap; |
mm | 84 | kernel/fork.c | for (mpnt = current->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) { |
mm | 87 | kernel/fork.c | exit_mmap(mm); |
mm | 92 | kernel/fork.c | tmp->vm_mm = mm; |
mm | 103 | kernel/fork.c | if (copy_page_range(mm, current->mm, tmp)) { |
mm | 104 | kernel/fork.c | exit_mmap(mm); |
mm | 110 | kernel/fork.c | build_mmap_avl(mm); |
mm | 117 | kernel/fork.c | SET_PAGE_DIR(tsk, current->mm->pgd); |
mm | 118 | kernel/fork.c | current->mm->count++; |
mm | 121 | kernel/fork.c | tsk->mm = kmalloc(sizeof(*tsk->mm), GFP_KERNEL); |
mm | 122 | kernel/fork.c | if (!tsk->mm) |
mm | 124 | kernel/fork.c | *tsk->mm = *current->mm; |
mm | 125 | kernel/fork.c | tsk->mm->count = 1; |
mm | 126 | kernel/fork.c | tsk->mm->def_flags = 0; |
mm | 132 | kernel/fork.c | if (dup_mmap(tsk->mm)) { |
mm | 421 | kernel/sys.c | if (brk < current->mm->end_code) |
mm | 422 | kernel/sys.c | return current->mm->brk; |
mm | 424 | kernel/sys.c | oldbrk = PAGE_ALIGN(current->mm->brk); |
mm | 426 | kernel/sys.c | return current->mm->brk = brk; |
mm | 431 | kernel/sys.c | if (brk <= current->mm->brk) { |
mm | 432 | kernel/sys.c | current->mm->brk = brk; |
mm | 442 | kernel/sys.c | if (brk - current->mm->end_code > rlim) |
mm | 443 | kernel/sys.c | return current->mm->brk; |
mm | 448 | kernel/sys.c | return current->mm->brk; |
mm | 460 | kernel/sys.c | return current->mm->brk; |
mm | 462 | kernel/sys.c | freepages += current->mm->rss; |
mm | 465 | kernel/sys.c | return current->mm->brk; |
mm | 470 | kernel/sys.c | current->mm->brk = brk; |
mm | 156 | mm/filemap.c | if (address >= inode->i_size && (area->vm_flags & VM_SHARED) && area->vm_mm == current->mm) |
mm | 401 | mm/filemap.c | dir = pgd_offset(current->mm, address); |
mm | 142 | mm/memory.c | page_dir = tsk->mm->pgd; |
mm | 149 | mm/memory.c | invalidate_mm(tsk->mm); |
mm | 163 | mm/memory.c | page_dir = tsk->mm->pgd; |
mm | 168 | mm/memory.c | invalidate_mm(tsk->mm); |
mm | 170 | mm/memory.c | tsk->mm->pgd = swapper_pg_dir; /* or else... */ |
mm | 186 | mm/memory.c | invalidate_mm(tsk->mm); |
mm | 188 | mm/memory.c | tsk->mm->pgd = new_pg; |
mm | 316 | mm/memory.c | if (current->mm->rss <= 0) |
mm | 318 | mm/memory.c | current->mm->rss--; |
mm | 377 | mm/memory.c | int zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size) |
mm | 382 | mm/memory.c | dir = pgd_offset(mm, address); |
mm | 388 | mm/memory.c | invalidate_range(mm, end - size, end); |
mm | 436 | mm/memory.c | dir = pgd_offset(current->mm, address); |
mm | 448 | mm/memory.c | invalidate_range(current->mm, end - size, end); |
mm | 506 | mm/memory.c | dir = pgd_offset(current->mm, from); |
mm | 518 | mm/memory.c | invalidate_range(current->mm, from - size, from); |
mm | 550 | mm/memory.c | pgd = pgd_offset(tsk->mm,address); |
mm | 1004 | mm/memory.c | pgd = pgd_offset(tsk->mm, address); |
mm | 193 | mm/mlock.c | locked += current->mm->locked_vm; |
mm | 229 | mm/mlock.c | current->mm->def_flags = def_flags; |
mm | 232 | mm/mlock.c | for (vma = current->mm->mmap; vma ; vma = vma->vm_next) { |
mm | 256 | mm/mlock.c | if (current->mm->total_vm > lock_limit) |
mm | 261 | mm/mlock.c | if (current->mm->total_vm > MAP_NR(high_memory)/2) |
mm | 70 | mm/mmap.c | if (current->mm->def_flags & VM_LOCKED) { |
mm | 71 | mm/mmap.c | unsigned long locked = current->mm->locked_vm << PAGE_SHIFT; |
mm | 133 | mm/mmap.c | vma->vm_mm = current->mm; |
mm | 138 | mm/mmap.c | vma->vm_flags |= current->mm->def_flags; |
mm | 179 | mm/mmap.c | current->mm->total_vm += len >> PAGE_SHIFT; |
mm | 183 | mm/mmap.c | current->mm->locked_vm += len >> PAGE_SHIFT; |
mm | 208 | mm/mmap.c | for (vmm = current->mm->mmap; ; vmm = vmm->vm_next) { |
mm | 584 | mm/mmap.c | avl_checkheights(task->mm->mmap_avl); |
mm | 585 | mm/mmap.c | avl_checkorder(task->mm->mmap_avl); |
mm | 710 | mm/mmap.c | avl_neighbours(mpnt, current->mm->mmap_avl, &prev, &next); |
mm | 714 | mm/mmap.c | npp = (prev ? &prev->vm_next : ¤t->mm->mmap); |
mm | 720 | mm/mmap.c | avl_remove(mpnt, ¤t->mm->mmap_avl); |
mm | 746 | mm/mmap.c | zap_page_range(current->mm, st, end-st); |
mm | 751 | mm/mmap.c | zap_page_range(current->mm, addr, len); |
mm | 756 | mm/mmap.c | void build_mmap_avl(struct mm_struct * mm) |
mm | 760 | mm/mmap.c | mm->mmap_avl = NULL; |
mm | 761 | mm/mmap.c | for (vma = mm->mmap; vma; vma = vma->vm_next) |
mm | 762 | mm/mmap.c | avl_insert(vma, &mm->mmap_avl); |
mm | 766 | mm/mmap.c | void exit_mmap(struct mm_struct * mm) |
mm | 770 | mm/mmap.c | mpnt = mm->mmap; |
mm | 771 | mm/mmap.c | mm->mmap = NULL; |
mm | 772 | mm/mmap.c | mm->mmap_avl = NULL; |
mm | 773 | mm/mmap.c | mm->rss = 0; |
mm | 774 | mm/mmap.c | mm->total_vm = 0; |
mm | 775 | mm/mmap.c | mm->locked_vm = 0; |
mm | 785 | mm/mmap.c | zap_page_range(mm, mpnt->vm_start, mpnt->vm_end-mpnt->vm_start); |
mm | 805 | mm/mmap.c | p = &t->mm->mmap; |
mm | 818 | mm/mmap.c | avl_insert_neighbours(vmp, &t->mm->mmap_avl, &prev, &next); |
mm | 819 | mm/mmap.c | if ((prev ? prev->vm_next : t->mm->mmap) != next) |
mm | 824 | mm/mmap.c | t->mm->mmap = vmp; |
mm | 880 | mm/mmap.c | avl_neighbours(mpnt, task->mm->mmap_avl, &prev, &next); |
mm | 924 | mm/mmap.c | avl_remove(mpnt, &task->mm->mmap_avl); |
mm | 77 | mm/mprotect.c | dir = pgd_offset(current->mm, start); |
mm | 83 | mm/mprotect.c | invalidate_range(current->mm, beg, end); |
mm | 605 | mm/swap.c | int result = swap_out_vma(p, vma, pgd_offset(p->mm, address), address, limit); |
mm | 640 | mm/swap.c | if (p && p->swappable && p->mm->rss) |
mm | 652 | mm/swap.c | p->swap_cnt = AGE_CLUSTER_SIZE(p->mm->rss); |
mm | 1014 | mm/swap.c | if (!p->mm || pgd_inuse(p->mm->pgd)) |
mm | 1016 | mm/swap.c | vma = p->mm->mmap; |
mm | 1018 | mm/swap.c | pgd_t * pgd = pgd_offset(p->mm, vma->vm_start); |
mm | 35 | mm/vmalloc.c | if (!p->mm) |
mm | 37 | mm/vmalloc.c | *pgd_offset(p->mm,address) = entry; |