Lines Matching refs:restart_block
836 static long do_restart_poll(struct restart_block *restart_block) in do_restart_poll() argument
838 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
839 int nfds = restart_block->poll.nfds; in do_restart_poll()
843 if (restart_block->poll.has_timeout) { in do_restart_poll()
844 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll()
845 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll()
852 restart_block->fn = do_restart_poll; in do_restart_poll()
873 struct restart_block *restart_block; in SYSCALL_DEFINE3() local
875 restart_block = ¤t_thread_info()->restart_block; in SYSCALL_DEFINE3()
876 restart_block->fn = do_restart_poll; in SYSCALL_DEFINE3()
877 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()
878 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3()
881 restart_block->poll.tv_sec = end_time.tv_sec; in SYSCALL_DEFINE3()
882 restart_block->poll.tv_nsec = end_time.tv_nsec; in SYSCALL_DEFINE3()
883 restart_block->poll.has_timeout = 1; in SYSCALL_DEFINE3()
885 restart_block->poll.has_timeout = 0; in SYSCALL_DEFINE3()