Lines Matching refs:current
92 vma->vm_mm = current->mm; in ia64_elf32_init()
98 down_write(¤t->mm->mmap_sem); in ia64_elf32_init()
100 if (insert_vm_struct(current->mm, vma)) { in ia64_elf32_init()
102 up_write(¤t->mm->mmap_sem); in ia64_elf32_init()
106 up_write(¤t->mm->mmap_sem); in ia64_elf32_init()
117 vma->vm_mm = current->mm; in ia64_elf32_init()
124 down_write(¤t->mm->mmap_sem); in ia64_elf32_init()
126 if (insert_vm_struct(current->mm, vma)) { in ia64_elf32_init()
128 up_write(¤t->mm->mmap_sem); in ia64_elf32_init()
132 up_write(¤t->mm->mmap_sem); in ia64_elf32_init()
141 vma->vm_mm = current->mm; in ia64_elf32_init()
146 down_write(¤t->mm->mmap_sem); in ia64_elf32_init()
148 if (insert_vm_struct(current->mm, vma)) { in ia64_elf32_init()
150 up_write(¤t->mm->mmap_sem); in ia64_elf32_init()
154 up_write(¤t->mm->mmap_sem); in ia64_elf32_init()
172 current->thread.eflag = IA32_EFLAG; in ia64_elf32_init()
173 current->thread.fsr = IA32_FSR_DEFAULT; in ia64_elf32_init()
174 current->thread.fcr = IA32_FCR_DEFAULT; in ia64_elf32_init()
175 current->thread.fir = 0; in ia64_elf32_init()
176 current->thread.fdr = 0; in ia64_elf32_init()
190 ia32_load_segment_descriptors(current); in ia64_elf32_init()
191 ia32_load_state(current); in ia64_elf32_init()
211 current->thread.ppl = ia32_init_pp_list(); in ia32_setup_arg_pages()
221 current->thread.map_base = IA32_PAGE_OFFSET/3; in elf32_set_personality()