Searched refs:restart_block (Results 1 – 5 of 5) sorted by relevance
25 struct restart_block { struct26 long (*fn)(struct restart_block *); argument58 extern long do_no_restart_syscall(struct restart_block *parm);
47 static inline long set_restart_fn(struct restart_block *restart, in set_restart_fn()48 long (*fn)(struct restart_block *)) in set_restart_fn() argument
484 extern int nanosleep_copyout(struct restart_block *, struct timespec64 *);
748 struct restart_block restart_block; member
994 static long do_restart_poll(struct restart_block *restart_block) in do_restart_poll() argument996 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()997 int nfds = restart_block->poll.nfds; in do_restart_poll()1001 if (restart_block->poll.has_timeout) { in do_restart_poll()1002 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll()1003 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll()1010 ret = set_restart_fn(restart_block, do_restart_poll); in do_restart_poll()1030 struct restart_block *restart_block; in SYSCALL_DEFINE3() local1032 restart_block = ¤t->restart_block; in SYSCALL_DEFINE3()1033 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()[all …]