• Home
  • Raw
  • Download

Lines Matching refs:mm

91 		down_write(&current->mm->mmap_sem);  in set_brk()
93 up_write(&current->mm->mmap_sem); in set_brk()
97 current->mm->start_brk = current->mm->brk = end; in set_brk()
211 elf_info = (elf_addr_t *)current->mm->saved_auxv; in create_elf_tables()
258 sizeof current->mm->saved_auxv - ei_index * sizeof elf_info[0]); in create_elf_tables()
281 vma = find_extend_vma(current->mm, bprm->p); in create_elf_tables()
292 p = current->mm->arg_end = current->mm->arg_start; in create_elf_tables()
304 current->mm->arg_end = current->mm->env_start = p; in create_elf_tables()
316 current->mm->env_end = p; in create_elf_tables()
342 down_write(&current->mm->mmap_sem); in elf_map()
355 do_munmap(current->mm, map_addr+size, total_size-size); in elf_map()
359 up_write(&current->mm->mmap_sem); in elf_map()
527 down_write(&current->mm->mmap_sem); in load_elf_interp()
529 up_write(&current->mm->mmap_sem); in load_elf_interp()
759 current->mm->def_flags = def_flags; in load_elf_binary()
769 arch_pick_mmap_layout(current->mm); in load_elf_binary()
773 current->mm->free_area_cache = current->mm->mmap_base; in load_elf_binary()
774 current->mm->cached_hole_size = 0; in load_elf_binary()
782 current->mm->start_stack = bprm->p; in load_elf_binary()
980 current->mm->end_code = end_code; in load_elf_binary()
981 current->mm->start_code = start_code; in load_elf_binary()
982 current->mm->start_data = start_data; in load_elf_binary()
983 current->mm->end_data = end_data; in load_elf_binary()
984 current->mm->start_stack = bprm->p; in load_elf_binary()
988 current->mm->brk = current->mm->start_brk = in load_elf_binary()
989 arch_randomize_brk(current->mm); in load_elf_binary()
997 down_write(&current->mm->mmap_sem); in load_elf_binary()
1000 up_write(&current->mm->mmap_sem); in load_elf_binary()
1087 down_write(&current->mm->mmap_sem); in load_elf_library()
1096 up_write(&current->mm->mmap_sem); in load_elf_library()
1110 down_write(&current->mm->mmap_sem); in load_elf_library()
1112 up_write(&current->mm->mmap_sem); in load_elf_library()
1384 struct mm_struct *mm) in fill_psinfo() argument
1392 len = mm->arg_end - mm->arg_start; in fill_psinfo()
1396 (const char __user *)mm->arg_start, len)) in fill_psinfo()
1424 static void fill_auxv_note(struct memelfnote *note, struct mm_struct *mm) in fill_auxv_note() argument
1426 elf_addr_t *auxv = (elf_addr_t *) mm->saved_auxv; in fill_auxv_note()
1571 for (ct = &dump_task->mm->core_state->dumper; ct; ct = ct->next) { in fill_note_info()
1602 fill_psinfo(psinfo, dump_task->group_leader, dump_task->mm); in fill_note_info()
1605 fill_auxv_note(&info->auxv, current->mm); in fill_note_info()
1771 for (ct = current->mm->core_state->dumper.next; in fill_note_info()
1804 fill_psinfo(info->psinfo, current->group_leader, current->mm); in fill_note_info()
1810 fill_auxv_note(&info->notes[info->numnote++], current->mm); in fill_note_info()
1888 struct vm_area_struct *ret = tsk->mm->mmap; in first_vma()
1947 segs = current->mm->map_count; in elf_core_dump()
1994 mm_flags = current->mm->flags; in elf_core_dump()
2043 if (get_user_pages(current, current->mm, addr, 1, 0, 1, in elf_core_dump()