Lines Matching refs:restart_block
1047 static long do_restart_poll(struct restart_block *restart_block) in do_restart_poll() argument
1049 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
1050 int nfds = restart_block->poll.nfds; in do_restart_poll()
1054 if (restart_block->poll.has_timeout) { in do_restart_poll()
1055 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll()
1056 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll()
1063 ret = set_restart_fn(restart_block, do_restart_poll); in do_restart_poll()
1083 struct restart_block *restart_block; in SYSCALL_DEFINE3() local
1085 restart_block = ¤t->restart_block; in SYSCALL_DEFINE3()
1086 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()
1087 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3()
1090 restart_block->poll.tv_sec = end_time.tv_sec; in SYSCALL_DEFINE3()
1091 restart_block->poll.tv_nsec = end_time.tv_nsec; in SYSCALL_DEFINE3()
1092 restart_block->poll.has_timeout = 1; in SYSCALL_DEFINE3()
1094 restart_block->poll.has_timeout = 0; in SYSCALL_DEFINE3()
1096 ret = set_restart_fn(restart_block, do_restart_poll); in SYSCALL_DEFINE3()