| /linux/kernel/time/ |
| H A D | posix-stubs.c | 116 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE4() 117 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4() 118 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4() 199 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE4() 200 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4() 201 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()
|
| H A D | posix-cpu-timers.c | 1499 struct restart_block *restart; in do_cpu_nanosleep() 1559 restart = ¤t->restart_block; in do_cpu_nanosleep() 1568 static long posix_cpu_nsleep_restart(struct restart_block *restart_block); 1573 struct restart_block *restart_block = ¤t->restart_block; in posix_cpu_nsleep() local 1591 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep() 1592 set_restart_fn(restart_block, posix_cpu_nsleep_restart); in posix_cpu_nsleep() 1597 static long posix_cpu_nsleep_restart(struct restart_block *restart_block) in posix_cpu_nsleep_restart() argument 1599 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart() 1602 t = ktime_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
|
| H A D | hrtimer.c | 2096 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) in nanosleep_copyout() 2117 struct restart_block *restart; in do_nanosleep() 2136 restart = ¤t->restart_block; in do_nanosleep() 2150 static long __sched hrtimer_nanosleep_restart(struct restart_block *restart) in hrtimer_nanosleep_restart() 2165 struct restart_block *restart; in hrtimer_nanosleep() 2181 restart = ¤t->restart_block; in hrtimer_nanosleep() 2203 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE2() 2204 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2() 2205 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE2() 2225 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE2() [all …]
|
| H A D | alarmtimer.c | 701 struct restart_block *restart; in alarmtimer_do_nsleep() 721 restart = ¤t->restart_block; in alarmtimer_do_nsleep() 752 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart) in alarm_timer_nsleep_restart() 775 struct restart_block *restart = ¤t->restart_block; in alarm_timer_nsleep()
|
| H A D | posix-timers.c | 1387 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE4() 1388 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4() 1389 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4() 1415 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE4() 1416 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4() 1417 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()
|
| /linux/include/linux/ |
| H A D | restart_block.h | 26 struct restart_block { struct 28 long (*fn)(struct restart_block *); argument 59 extern long do_no_restart_syscall(struct restart_block *parm);
|
| H A D | thread_info.h | 14 #include <linux/restart_block.h> 83 static inline long set_restart_fn(struct restart_block *restart, in set_restart_fn() 84 long (*fn)(struct restart_block *)) in set_restart_fn() 82 set_restart_fn(struct restart_block * restart,long (* fn)(struct restart_block *)) set_restart_fn() argument
|
| H A D | hrtimer.h | 352 extern int nanosleep_copyout(struct restart_block *, struct timespec64 *);
|
| /linux/arch/csky/include/asm/ |
| H A D | thread_info.h | 19 struct restart_block restart_block; member 29 .restart_block = { \
|
| /linux/fs/ |
| H A D | select.c | 1036 static long do_restart_poll(struct restart_block *restart_block) in do_restart_poll() argument 1038 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll() 1039 int nfds = restart_block->poll.nfds; in do_restart_poll() 1043 if (restart_block->poll.has_timeout) in do_restart_poll() 1044 to = &restart_block->poll.end_time; in do_restart_poll() 1049 ret = set_restart_fn(restart_block, do_restart_poll); in do_restart_poll() 1069 struct restart_block *restart_block; in SYSCALL_DEFINE3() local 1071 restart_block = ¤t->restart_block; in SYSCALL_DEFINE3() 1072 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3() 1073 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3() [all …]
|
| /linux/arch/s390/kernel/ |
| H A D | syscall.c | 120 if (nr == __NR_restart_syscall && !(current->restart_block.arch_data & 1)) { in __do_syscall() 121 regs->psw.addr = current->restart_block.arch_data; in __do_syscall() 122 current->restart_block.arch_data = 1; in __do_syscall()
|
| H A D | signal.c | 144 current->restart_block.fn = do_no_restart_syscall; in restore_sigregs() 492 current->restart_block.arch_data = regs->psw.addr; in arch_do_signal_or_restart()
|
| H A D | process.c | 176 p->restart_block.arch_data = 1; in copy_thread()
|
| /linux/kernel/futex/ |
| H A D | waitwake.c | 334 static long futex_wait_restart(struct restart_block *restart); 709 struct restart_block *restart; in futex_wait() 725 restart = ¤t->restart_block; in futex_wait() 738 static long futex_wait_restart(struct restart_block *restart) in futex_wait_restart()
|
| /linux/arch/sh/kernel/ |
| H A D | signal_32.c | 163 current->restart_block.fn = do_no_restart_syscall; in sys_sigreturn() 193 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
|
| /linux/arch/csky/kernel/ |
| H A D | signal.c | 76 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE0()
|
| /linux/arch/riscv/kernel/ |
| H A D | compat_signal.c | 127 current->restart_block.fn = do_no_restart_syscall; in COMPAT_SYSCALL_DEFINE0()
|
| /linux/arch/arm/kernel/ |
| H A D | signal.c | 192 current->restart_block.fn = do_no_restart_syscall; in sys_sigreturn() 222 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
|
| /linux/init/ |
| H A D | init_task.c | 116 .restart_block = {
|
| /linux/arch/x86/kernel/ |
| H A D | signal.c | 318 if (current->restart_block.arch_data & TS_COMPAT) in get_nr_restart_syscall()
|
| /linux/arch/arm64/kernel/ |
| H A D | signal32.c | 237 current->restart_block.fn = do_no_restart_syscall; in COMPAT_SYSCALL_DEFINE0() 268 current->restart_block.fn = do_no_restart_syscall; in COMPAT_SYSCALL_DEFINE0()
|
| /linux/arch/openrisc/kernel/ |
| H A D | signal.c | 80 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext()
|
| /linux/arch/mips/kernel/ |
| H A D | signal_o32.c | 94 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext32()
|
| /linux/arch/hexagon/kernel/ |
| H A D | signal.c | 230 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE0()
|
| /linux/arch/microblaze/kernel/ |
| H A D | signal.c | 90 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
|