Lines Matching refs:current

57 	dump->u_tsize = ((unsigned long) current->mm->end_code) >> PAGE_SHIFT;  in dump_thread32()
59 (current->mm->brk + (PAGE_SIZE-1))) >> PAGE_SHIFT; in dump_thread32()
62 dump->u_debugreg[0] = current->thread.debugreg0; in dump_thread32()
63 dump->u_debugreg[1] = current->thread.debugreg1; in dump_thread32()
64 dump->u_debugreg[2] = current->thread.debugreg2; in dump_thread32()
65 dump->u_debugreg[3] = current->thread.debugreg3; in dump_thread32()
68 dump->u_debugreg[6] = current->thread.debugreg6; in dump_thread32()
69 dump->u_debugreg[7] = current->thread.debugreg7; in dump_thread32()
85 dump->regs.ds = current->thread.ds; in dump_thread32()
86 dump->regs.es = current->thread.es; in dump_thread32()
123 down_write(&current->mm->mmap_sem); in set_brk()
125 up_write(&current->mm->mmap_sem); in set_brk()
168 current->flags |= PF_DUMPCORE; in aout_core_dump()
169 strncpy(dump.u_comm, current->comm, sizeof(current->comm)); in aout_core_dump()
238 current->mm->arg_start = (unsigned long) p; in create_aout_tables()
248 current->mm->arg_end = current->mm->env_start = (unsigned long) p; in create_aout_tables()
258 current->mm->env_end = (unsigned long) p; in create_aout_tables()
301 current->mm->context.ia32_compat = 1; in load_aout_binary()
309 current->mm->end_code = ex.a_text + in load_aout_binary()
310 (current->mm->start_code = N_TXTADDR(ex)); in load_aout_binary()
311 current->mm->end_data = ex.a_data + in load_aout_binary()
312 (current->mm->start_data = N_DATADDR(ex)); in load_aout_binary()
313 current->mm->brk = ex.a_bss + in load_aout_binary()
314 (current->mm->start_brk = N_BSSADDR(ex)); in load_aout_binary()
315 current->mm->free_area_cache = TASK_UNMAPPED_BASE; in load_aout_binary()
316 current->mm->cached_hole_size = 0; in load_aout_binary()
319 current->flags &= ~PF_FORKNOEXEC; in load_aout_binary()
330 down_write(&current->mm->mmap_sem); in load_aout_binary()
332 up_write(&current->mm->mmap_sem); in load_aout_binary()
335 send_sig(SIGKILL, current, 0); in load_aout_binary()
343 send_sig(SIGKILL, current, 0); in load_aout_binary()
371 down_write(&current->mm->mmap_sem); in load_aout_binary()
373 up_write(&current->mm->mmap_sem); in load_aout_binary()
383 down_write(&current->mm->mmap_sem); in load_aout_binary()
389 up_write(&current->mm->mmap_sem); in load_aout_binary()
392 send_sig(SIGKILL, current, 0); in load_aout_binary()
396 down_write(&current->mm->mmap_sem); in load_aout_binary()
402 up_write(&current->mm->mmap_sem); in load_aout_binary()
404 send_sig(SIGKILL, current, 0); in load_aout_binary()
411 set_brk(current->mm->start_brk, current->mm->brk); in load_aout_binary()
416 send_sig(SIGKILL, current, 0); in load_aout_binary()
420 current->mm->start_stack = in load_aout_binary()
428 (regs)->sp = current->mm->start_stack; in load_aout_binary()
481 down_write(&current->mm->mmap_sem); in load_aout_library()
483 up_write(&current->mm->mmap_sem); in load_aout_library()
495 down_write(&current->mm->mmap_sem); in load_aout_library()
500 up_write(&current->mm->mmap_sem); in load_aout_library()
508 down_write(&current->mm->mmap_sem); in load_aout_library()
510 up_write(&current->mm->mmap_sem); in load_aout_library()