| /Linux-v6.6/kernel/time/ | 
| D | posix-stubs.c | 150 	current->restart_block.fn = do_no_restart_syscall;  in SYSCALL_DEFINE4()151 	current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE;  in SYSCALL_DEFINE4()
 152 	current->restart_block.nanosleep.rmtp = rmtp;  in SYSCALL_DEFINE4()
 244 	current->restart_block.fn = do_no_restart_syscall;  in SYSCALL_DEFINE4()
 245 	current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE;  in SYSCALL_DEFINE4()
 246 	current->restart_block.nanosleep.compat_rmtp = rmtp;  in SYSCALL_DEFINE4()
 
 | 
| D | posix-cpu-timers.c | 1521 		struct restart_block *restart;  in do_cpu_nanosleep()1581 		restart = ¤t->restart_block;  in do_cpu_nanosleep()
 1590 static long posix_cpu_nsleep_restart(struct restart_block *restart_block);
 1595 	struct restart_block *restart_block = ¤t->restart_block;  in posix_cpu_nsleep()  local
 1613 		restart_block->nanosleep.clockid = which_clock;  in posix_cpu_nsleep()
 1614 		set_restart_fn(restart_block, posix_cpu_nsleep_restart);  in posix_cpu_nsleep()
 1619 static long posix_cpu_nsleep_restart(struct restart_block *restart_block)  in posix_cpu_nsleep_restart()  argument
 1621 	clockid_t which_clock = restart_block->nanosleep.clockid;  in posix_cpu_nsleep_restart()
 1624 	t = ns_to_timespec64(restart_block->nanosleep.expires);  in posix_cpu_nsleep_restart()
 
 | 
| D | hrtimer.c | 2019 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts)  in nanosleep_copyout()2040 	struct restart_block *restart;  in do_nanosleep()
 2059 	restart = ¤t->restart_block;  in do_nanosleep()
 2073 static long __sched hrtimer_nanosleep_restart(struct restart_block *restart)  in hrtimer_nanosleep_restart()
 2089 	struct restart_block *restart;  in hrtimer_nanosleep()
 2110 	restart = ¤t->restart_block;  in hrtimer_nanosleep()
 2132 	current->restart_block.fn = do_no_restart_syscall;  in SYSCALL_DEFINE2()
 2133 	current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE;  in SYSCALL_DEFINE2()
 2134 	current->restart_block.nanosleep.rmtp = rmtp;  in SYSCALL_DEFINE2()
 2154 	current->restart_block.fn = do_no_restart_syscall;  in SYSCALL_DEFINE2()
 [all …]
 
 | 
| D | alarmtimer.c | 773 	struct restart_block *restart;  in alarmtimer_do_nsleep()793 	restart = ¤t->restart_block;  in alarmtimer_do_nsleep()
 824 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart)  in alarm_timer_nsleep_restart()
 847 	struct restart_block *restart = ¤t->restart_block;  in alarm_timer_nsleep()
 
 | 
| D | posix-timers.c | 1392 	current->restart_block.fn = do_no_restart_syscall;  in SYSCALL_DEFINE4()1393 	current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE;  in SYSCALL_DEFINE4()
 1394 	current->restart_block.nanosleep.rmtp = rmtp;  in SYSCALL_DEFINE4()
 1420 	current->restart_block.fn = do_no_restart_syscall;  in SYSCALL_DEFINE4()
 1421 	current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE;  in SYSCALL_DEFINE4()
 1422 	current->restart_block.nanosleep.compat_rmtp = rmtp;  in SYSCALL_DEFINE4()
 
 | 
| /Linux-v6.6/include/linux/ | 
| D | restart_block.h | 25 struct restart_block {  struct27 	long (*fn)(struct restart_block *);  argument
 59 extern long do_no_restart_syscall(struct restart_block *parm);
 
 | 
| D | thread_info.h | 68 static inline long set_restart_fn(struct restart_block *restart,  in set_restart_fn()69 					long (*fn)(struct restart_block *))  in set_restart_fn()  argument
 
 | 
| D | hrtimer.h | 511 extern int nanosleep_copyout(struct restart_block *, struct timespec64 *);
 | 
| /Linux-v6.6/arch/csky/include/asm/ | 
| D | thread_info.h | 19 	struct restart_block	restart_block;  member29 	.restart_block = {			\
 
 | 
| /Linux-v6.6/fs/ | 
| D | select.c | 1047 static long do_restart_poll(struct restart_block *restart_block)  in do_restart_poll()  argument1049 	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()
 [all …]
 
 | 
| /Linux-v6.6/arch/s390/kernel/ | 
| D | syscall.c | 124 	if (nr == __NR_restart_syscall && !(current->restart_block.arch_data & 1)) {  in do_syscall()125 		regs->psw.addr = current->restart_block.arch_data;  in do_syscall()
 126 		current->restart_block.arch_data = 1;  in do_syscall()
 
 | 
| D | process.c | 183 	p->restart_block.arch_data = 1;  in copy_thread()
 | 
| D | signal.c | 144 	current->restart_block.fn = do_no_restart_syscall;  in restore_sigregs()511 			current->restart_block.arch_data = regs->psw.addr;  in arch_do_signal_or_restart()
 
 | 
| /Linux-v6.6/kernel/futex/ | 
| D | waitwake.c | 320 static long futex_wait_restart(struct restart_block *restart);635 	struct restart_block *restart;  in futex_wait()
 677 	restart = ¤t->restart_block;  in futex_wait()
 694 static long futex_wait_restart(struct restart_block *restart)  in futex_wait_restart()
 
 | 
| /Linux-v6.6/init/ | 
| D | init_task.c | 88 	.restart_block	= {
 | 
| /Linux-v6.6/arch/sh/kernel/ | 
| 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-v6.6/arch/csky/kernel/ | 
| D | signal.c | 76 	current->restart_block.fn = do_no_restart_syscall;  in SYSCALL_DEFINE0()
 | 
| /Linux-v6.6/arch/riscv/kernel/ | 
| D | compat_signal.c | 127 	current->restart_block.fn = do_no_restart_syscall;  in COMPAT_SYSCALL_DEFINE0()
 | 
| /Linux-v6.6/arch/x86/kernel/ | 
| D | signal.c | 290 	if (current->restart_block.arch_data & TS_COMPAT)  in get_nr_restart_syscall()
 | 
| /Linux-v6.6/arch/openrisc/kernel/ | 
| D | signal.c | 48 	current->restart_block.fn = do_no_restart_syscall;  in restore_sigcontext()
 | 
| /Linux-v6.6/arch/arm/kernel/ | 
| 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-v6.6/arch/arm64/kernel/ | 
| D | signal32.c | 234 	current->restart_block.fn = do_no_restart_syscall;  in COMPAT_SYSCALL_DEFINE0()265 	current->restart_block.fn = do_no_restart_syscall;  in COMPAT_SYSCALL_DEFINE0()
 
 | 
| /Linux-v6.6/arch/mips/kernel/ | 
| D | signal_o32.c | 93 	current->restart_block.fn = do_no_restart_syscall;  in restore_sigcontext32()
 | 
| /Linux-v6.6/arch/hexagon/kernel/ | 
| D | signal.c | 230 	current->restart_block.fn = do_no_restart_syscall;  in sys_rt_sigreturn()
 | 
| /Linux-v6.6/arch/microblaze/kernel/ | 
| D | signal.c | 90 	current->restart_block.fn = do_no_restart_syscall;  in sys_rt_sigreturn()
 |