Home
last modified time | relevance | path

Searched refs:restart_block (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/include/linux/
Drestart_block.h25 struct restart_block { struct
26 long (*fn)(struct restart_block *); argument
58 extern long do_no_restart_syscall(struct restart_block *parm);
Dthread_info.h47 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
Dhrtimer.h484 extern int nanosleep_copyout(struct restart_block *, struct timespec64 *);
Dsched.h748 struct restart_block restart_block; member
/linux-4.19.296/fs/
Dselect.c994 static long do_restart_poll(struct restart_block *restart_block) in do_restart_poll() argument
996 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() local
1032 restart_block = &current->restart_block; in SYSCALL_DEFINE3()
1033 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()
[all …]