Lines Matching refs:current
56 poll_wait(file, ¤t->sighand->signalfd_wqh, wait); in signalfd_poll()
58 spin_lock_irq(¤t->sighand->siglock); in signalfd_poll()
59 if (next_signal(¤t->pending, &ctx->sigmask) || in signalfd_poll()
60 next_signal(¤t->signal->shared_pending, in signalfd_poll()
63 spin_unlock_irq(¤t->sighand->siglock); in signalfd_poll()
160 DECLARE_WAITQUEUE(wait, current); in signalfd_dequeue()
162 spin_lock_irq(¤t->sighand->siglock); in signalfd_dequeue()
163 ret = dequeue_signal(current, &ctx->sigmask, info); in signalfd_dequeue()
170 spin_unlock_irq(¤t->sighand->siglock); in signalfd_dequeue()
174 add_wait_queue(¤t->sighand->signalfd_wqh, &wait); in signalfd_dequeue()
177 ret = dequeue_signal(current, &ctx->sigmask, info); in signalfd_dequeue()
180 if (signal_pending(current)) { in signalfd_dequeue()
184 spin_unlock_irq(¤t->sighand->siglock); in signalfd_dequeue()
186 spin_lock_irq(¤t->sighand->siglock); in signalfd_dequeue()
188 spin_unlock_irq(¤t->sighand->siglock); in signalfd_dequeue()
190 remove_wait_queue(¤t->sighand->signalfd_wqh, &wait); in signalfd_dequeue()
290 spin_lock_irq(¤t->sighand->siglock); in do_signalfd4()
292 spin_unlock_irq(¤t->sighand->siglock); in do_signalfd4()
294 wake_up(¤t->sighand->signalfd_wqh); in do_signalfd4()