/Linux-v5.10/include/linux/ |
D | restart_block.h | 25 struct restart_block { struct 26 long (*fn)(struct restart_block *); argument 58 extern long do_no_restart_syscall(struct restart_block *parm);
|
D | hrtimer.h | 511 extern int nanosleep_copyout(struct restart_block *, struct timespec64 *);
|
/Linux-v5.10/arch/csky/include/asm/ |
D | thread_info.h | 22 struct restart_block restart_block; member 33 .restart_block = { \
|
/Linux-v5.10/fs/ |
D | select.c | 1035 static long do_restart_poll(struct restart_block *restart_block) in do_restart_poll() argument 1037 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll() 1038 int nfds = restart_block->poll.nfds; in do_restart_poll() 1042 if (restart_block->poll.has_timeout) { in do_restart_poll() 1043 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll() 1044 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll() 1051 restart_block->fn = do_restart_poll; in do_restart_poll() 1072 struct restart_block *restart_block; in SYSCALL_DEFINE3() local 1074 restart_block = ¤t->restart_block; in SYSCALL_DEFINE3() 1075 restart_block->fn = do_restart_poll; in SYSCALL_DEFINE3() [all …]
|
/Linux-v5.10/kernel/time/ |
D | posix-stubs.c | 149 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4() 150 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4() 242 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4() 243 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()
|
D | posix-cpu-timers.c | 1384 struct restart_block *restart; in do_cpu_nanosleep() 1451 restart = ¤t->restart_block; in do_cpu_nanosleep() 1460 static long posix_cpu_nsleep_restart(struct restart_block *restart_block); 1465 struct restart_block *restart_block = ¤t->restart_block; in posix_cpu_nsleep() local 1483 restart_block->fn = posix_cpu_nsleep_restart; in posix_cpu_nsleep() 1484 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep() 1489 static long posix_cpu_nsleep_restart(struct restart_block *restart_block) in posix_cpu_nsleep_restart() argument 1491 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart() 1494 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
|
D | hrtimer.c | 1850 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) in nanosleep_copyout() 1871 struct restart_block *restart; in do_nanosleep() 1890 restart = ¤t->restart_block; in do_nanosleep() 1904 static long __sched hrtimer_nanosleep_restart(struct restart_block *restart) in hrtimer_nanosleep_restart() 1920 struct restart_block *restart; in hrtimer_nanosleep() 1941 restart = ¤t->restart_block; in hrtimer_nanosleep() 1963 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2() 1964 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE2() 1984 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE2() 1985 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE2()
|
D | alarmtimer.c | 742 struct restart_block *restart; in alarmtimer_do_nsleep() 762 restart = ¤t->restart_block; in alarmtimer_do_nsleep() 793 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart) in alarm_timer_nsleep_restart() 817 struct restart_block *restart = ¤t->restart_block; in alarm_timer_nsleep()
|
D | posix-timers.c | 1264 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4() 1265 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4() 1291 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4() 1292 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()
|
/Linux-v5.10/init/ |
D | init_task.c | 87 .restart_block = {
|
/Linux-v5.10/arch/sh/kernel/ |
D | signal_32.c | 160 current->restart_block.fn = do_no_restart_syscall; in sys_sigreturn() 190 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
|
/Linux-v5.10/arch/csky/kernel/ |
D | signal.c | 72 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE0()
|
/Linux-v5.10/arch/arm/kernel/ |
D | signal.c | 229 current->restart_block.fn = do_no_restart_syscall; in sys_sigreturn() 259 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
|
/Linux-v5.10/arch/arm64/kernel/ |
D | signal32.c | 238 current->restart_block.fn = do_no_restart_syscall; in COMPAT_SYSCALL_DEFINE0() 269 current->restart_block.fn = do_no_restart_syscall; in COMPAT_SYSCALL_DEFINE0()
|
/Linux-v5.10/arch/openrisc/kernel/ |
D | signal.c | 45 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext()
|
/Linux-v5.10/arch/h8300/kernel/ |
D | signal.c | 82 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext()
|
/Linux-v5.10/arch/riscv/kernel/ |
D | signal.c | 106 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE0()
|
/Linux-v5.10/arch/hexagon/kernel/ |
D | signal.c | 231 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
|
/Linux-v5.10/arch/mips/kernel/ |
D | signal_o32.c | 93 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext32()
|
/Linux-v5.10/arch/microblaze/kernel/ |
D | signal.c | 90 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
|
/Linux-v5.10/arch/arc/kernel/ |
D | signal.c | 158 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE0()
|
/Linux-v5.10/arch/c6x/kernel/ |
D | signal.c | 68 current->restart_block.fn = do_no_restart_syscall; in do_rt_sigreturn()
|
/Linux-v5.10/arch/sparc/kernel/ |
D | signal32.c | 96 current->restart_block.fn = do_no_restart_syscall; in do_sigreturn32() 185 current->restart_block.fn = do_no_restart_syscall; in do_rt_sigreturn32()
|
/Linux-v5.10/arch/nios2/kernel/ |
D | signal.c | 46 current->restart_block.fn = do_no_restart_syscall; in rt_restore_ucontext()
|
/Linux-v5.10/arch/xtensa/kernel/ |
D | signal.c | 247 current->restart_block.fn = do_no_restart_syscall; in xtensa_rt_sigreturn()
|