Lines Matching refs:current
254 sp = current->sas_ss_sp + current->sas_ss_size; in get_sigframe()
300 spin_lock_irq(¤t->sighand->siglock); in sys_sigsuspend()
301 current->saved_sigmask = current->blocked; in sys_sigsuspend()
302 current->blocked = newset; in sys_sigsuspend()
304 spin_unlock_irq(¤t->sighand->siglock); in sys_sigsuspend()
306 current->state = TASK_INTERRUPTIBLE; in sys_sigsuspend()
329 spin_lock_irq(¤t->sighand->siglock); in sys_rt_sigsuspend()
330 current->saved_sigmask = current->blocked; in sys_rt_sigsuspend()
331 current->blocked = newset; in sys_rt_sigsuspend()
333 spin_unlock_irq(¤t->sighand->siglock); in sys_rt_sigsuspend()
335 current->state = TASK_INTERRUPTIBLE; in sys_rt_sigsuspend()
405 spin_lock_irq(¤t->sighand->siglock); in sys_sigreturn()
406 current->blocked = blocked; in sys_sigreturn()
408 spin_unlock_irq(¤t->sighand->siglock); in sys_sigreturn()
414 force_sig(sig, current); in sys_sigreturn()
427 force_sig(SIGSEGV, current); in sys_sigreturn()
445 spin_lock_irq(¤t->sighand->siglock); in sys_rt_sigreturn()
446 current->blocked = set; in sys_rt_sigreturn()
448 spin_unlock_irq(¤t->sighand->siglock); in sys_rt_sigreturn()
454 force_sig(sig, current); in sys_rt_sigreturn()
473 force_sig(SIGSEGV, current); in sys_rt_sigreturn()
512 current->comm, current->pid, in setup_frame()
517 force_sigsegv(signr, current); in setup_frame()
540 err |= __put_user((void __user *)current->sas_ss_sp, in setup_rt_frame()
544 err |= __put_user(current->sas_ss_size, in setup_rt_frame()
570 current->comm, current->pid, in setup_rt_frame()
576 force_sigsegv(signr, current); in setup_rt_frame()
612 ret = current->thread.abi->setup_rt_frame(ka, regs, sig, oldset, info); in handle_signal()
614 ret = current->thread.abi->setup_frame(ka, regs, sig, oldset); in handle_signal()
616 spin_lock_irq(¤t->sighand->siglock); in handle_signal()
617 sigorsets(¤t->blocked, ¤t->blocked, &ka->sa.sa_mask); in handle_signal()
619 sigaddset(¤t->blocked, sig); in handle_signal()
621 spin_unlock_irq(¤t->sighand->siglock); in handle_signal()
642 oldset = ¤t->saved_sigmask; in do_signal()
644 oldset = ¤t->blocked; in do_signal()
676 regs->regs[2] = current->thread.abi->restart; in do_signal()
689 sigprocmask(SIG_SETMASK, ¤t->saved_sigmask, NULL); in do_signal()