Lines Matching refs:restart
325 static long futex_wait_restart(struct restart_block *restart);
642 struct restart_block *restart; in futex_wait() local
685 restart = ¤t->restart_block; in futex_wait()
686 restart->futex.uaddr = uaddr; in futex_wait()
687 restart->futex.val = val; in futex_wait()
688 restart->futex.time = *abs_time; in futex_wait()
689 restart->futex.bitset = bitset; in futex_wait()
690 restart->futex.flags = flags | FLAGS_HAS_TIMEOUT; in futex_wait()
692 ret = set_restart_fn(restart, futex_wait_restart); in futex_wait()
703 static long futex_wait_restart(struct restart_block *restart) in futex_wait_restart() argument
705 u32 __user *uaddr = restart->futex.uaddr; in futex_wait_restart()
708 if (restart->futex.flags & FLAGS_HAS_TIMEOUT) { in futex_wait_restart()
709 t = restart->futex.time; in futex_wait_restart()
712 restart->fn = do_no_restart_syscall; in futex_wait_restart()
714 return (long)futex_wait(uaddr, restart->futex.flags, in futex_wait_restart()
715 restart->futex.val, tp, restart->futex.bitset); in futex_wait_restart()