Lines Matching refs:restart_block
991 static long do_restart_poll(struct restart_block *restart_block) in do_restart_poll() argument
993 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
994 int nfds = restart_block->poll.nfds; in do_restart_poll()
998 if (restart_block->poll.has_timeout) { in do_restart_poll()
999 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll()
1000 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll()
1007 restart_block->fn = do_restart_poll; in do_restart_poll()
1028 struct restart_block *restart_block; in SYSCALL_DEFINE3() local
1030 restart_block = ¤t->restart_block; in SYSCALL_DEFINE3()
1031 restart_block->fn = do_restart_poll; in SYSCALL_DEFINE3()
1032 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()
1033 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3()
1036 restart_block->poll.tv_sec = end_time.tv_sec; in SYSCALL_DEFINE3()
1037 restart_block->poll.tv_nsec = end_time.tv_nsec; in SYSCALL_DEFINE3()
1038 restart_block->poll.has_timeout = 1; in SYSCALL_DEFINE3()
1040 restart_block->poll.has_timeout = 0; in SYSCALL_DEFINE3()