Symbol: restart_block
arch/alpha/kernel/signal.c
155
current->restart_block.fn = do_no_restart_syscall;
arch/arc/kernel/signal.c
203
current->restart_block.fn = do_no_restart_syscall;
arch/arm/kernel/signal.c
192
current->restart_block.fn = do_no_restart_syscall;
arch/arm/kernel/signal.c
222
current->restart_block.fn = do_no_restart_syscall;
arch/arm64/kernel/signal.c
1133
current->restart_block.fn = do_no_restart_syscall;
arch/arm64/kernel/signal32.c
237
current->restart_block.fn = do_no_restart_syscall;
arch/arm64/kernel/signal32.c
268
current->restart_block.fn = do_no_restart_syscall;
arch/csky/include/asm/thread_info.h
19
struct restart_block restart_block;
arch/csky/include/asm/thread_info.h
29
.restart_block = { \
arch/csky/kernel/signal.c
76
current->restart_block.fn = do_no_restart_syscall;
arch/hexagon/kernel/signal.c
230
current->restart_block.fn = do_no_restart_syscall;
arch/loongarch/kernel/signal.c
779
current->restart_block.fn = do_no_restart_syscall;
arch/m68k/kernel/signal.c
687
current->restart_block.fn = do_no_restart_syscall;
arch/m68k/kernel/signal.c
720
current->restart_block.fn = do_no_restart_syscall;
arch/microblaze/kernel/signal.c
90
current->restart_block.fn = do_no_restart_syscall;
arch/mips/kernel/signal.c
523
current->restart_block.fn = do_no_restart_syscall;
arch/mips/kernel/signal_o32.c
94
current->restart_block.fn = do_no_restart_syscall;
arch/nios2/kernel/signal.c
46
current->restart_block.fn = do_no_restart_syscall;
arch/openrisc/kernel/signal.c
80
current->restart_block.fn = do_no_restart_syscall;
arch/parisc/kernel/signal.c
90
current->restart_block.fn = do_no_restart_syscall;
arch/powerpc/kernel/signal_32.c
1106
current->restart_block.fn = do_no_restart_syscall;
arch/powerpc/kernel/signal_32.c
1311
current->restart_block.fn = do_no_restart_syscall;
arch/powerpc/kernel/signal_64.c
752
current->restart_block.fn = do_no_restart_syscall;
arch/riscv/kernel/compat_signal.c
129
current->restart_block.fn = do_no_restart_syscall;
arch/riscv/kernel/signal.c
319
current->restart_block.fn = do_no_restart_syscall;
arch/s390/kernel/process.c
176
p->restart_block.arch_data = 1;
arch/s390/kernel/signal.c
144
current->restart_block.fn = do_no_restart_syscall;
arch/s390/kernel/signal.c
492
current->restart_block.arch_data = regs->psw.addr;
arch/s390/kernel/syscall.c
120
if (nr == __NR_restart_syscall && !(current->restart_block.arch_data & 1)) {
arch/s390/kernel/syscall.c
121
regs->psw.addr = current->restart_block.arch_data;
arch/s390/kernel/syscall.c
122
current->restart_block.arch_data = 1;
arch/sh/kernel/signal_32.c
163
current->restart_block.fn = do_no_restart_syscall;
arch/sh/kernel/signal_32.c
193
current->restart_block.fn = do_no_restart_syscall;
arch/sparc/kernel/signal32.c
184
current->restart_block.fn = do_no_restart_syscall;
arch/sparc/kernel/signal32.c
95
current->restart_block.fn = do_no_restart_syscall;
arch/sparc/kernel/signal_32.c
84
current->restart_block.fn = do_no_restart_syscall;
arch/sparc/kernel/signal_64.c
265
current->restart_block.fn = do_no_restart_syscall;
arch/x86/kernel/signal.c
318
if (current->restart_block.arch_data & TS_COMPAT)
arch/x86/kernel/signal_32.c
113
current->restart_block.fn = do_no_restart_syscall;
arch/x86/kernel/signal_64.c
57
current->restart_block.fn = do_no_restart_syscall;
arch/x86/um/signal.c
41
current->restart_block.fn = do_no_restart_syscall;
arch/xtensa/kernel/signal.c
256
current->restart_block.fn = do_no_restart_syscall;
fs/select.c
1042
static long do_restart_poll(struct restart_block *restart_block)
fs/select.c
1044
struct pollfd __user *ufds = restart_block->poll.ufds;
fs/select.c
1045
int nfds = restart_block->poll.nfds;
fs/select.c
1049
if (restart_block->poll.has_timeout)
fs/select.c
1050
to = &restart_block->poll.end_time;
fs/select.c
1055
ret = set_restart_fn(restart_block, do_restart_poll);
fs/select.c
1075
struct restart_block *restart_block;
fs/select.c
1077
restart_block = &current->restart_block;
fs/select.c
1078
restart_block->poll.ufds = ufds;
fs/select.c
1079
restart_block->poll.nfds = nfds;
fs/select.c
1082
restart_block->poll.end_time = end_time;
fs/select.c
1083
restart_block->poll.has_timeout = 1;
fs/select.c
1085
restart_block->poll.has_timeout = 0;
fs/select.c
1087
ret = set_restart_fn(restart_block, do_restart_poll);
include/linux/hrtimer.h
342
extern int nanosleep_copyout(struct restart_block *, struct timespec64 *);
include/linux/restart_block.h
28
long (*fn)(struct restart_block *);
include/linux/restart_block.h
59
extern long do_no_restart_syscall(struct restart_block *parm);
include/linux/sched.h
1069
struct restart_block restart_block;
include/linux/thread_info.h
83
static inline long set_restart_fn(struct restart_block *restart,
include/linux/thread_info.h
84
long (*fn)(struct restart_block *))
init/init_task.c
126
.restart_block = {
kernel/futex/waitwake.c
363
static long futex_wait_restart(struct restart_block *restart);
kernel/futex/waitwake.c
744
struct restart_block *restart;
kernel/futex/waitwake.c
760
restart = &current->restart_block;
kernel/futex/waitwake.c
773
static long futex_wait_restart(struct restart_block *restart)
kernel/signal.c
3187
struct restart_block *restart = &current->restart_block;
kernel/signal.c
3191
long do_no_restart_syscall(struct restart_block *param)
kernel/time/alarmtimer.c
693
struct restart_block *restart;
kernel/time/alarmtimer.c
715
restart = &current->restart_block;
kernel/time/alarmtimer.c
746
static long __sched alarm_timer_nsleep_restart(struct restart_block *restart)
kernel/time/alarmtimer.c
769
struct restart_block *restart = &current->restart_block;
kernel/time/hrtimer.c
2371
int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts)
kernel/time/hrtimer.c
2392
struct restart_block *restart;
kernel/time/hrtimer.c
2411
restart = &current->restart_block;
kernel/time/hrtimer.c
2425
static long __sched hrtimer_nanosleep_restart(struct restart_block *restart)
kernel/time/hrtimer.c
2439
struct restart_block *restart;
kernel/time/hrtimer.c
2455
restart = &current->restart_block;
kernel/time/hrtimer.c
2477
current->restart_block.fn = do_no_restart_syscall;
kernel/time/hrtimer.c
2478
current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE;
kernel/time/hrtimer.c
2479
current->restart_block.nanosleep.rmtp = rmtp;
kernel/time/hrtimer.c
2498
current->restart_block.fn = do_no_restart_syscall;
kernel/time/hrtimer.c
2499
current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE;
kernel/time/hrtimer.c
2500
current->restart_block.nanosleep.compat_rmtp = rmtp;
kernel/time/posix-cpu-timers.c
1558
struct restart_block *restart;
kernel/time/posix-cpu-timers.c
1619
restart = &current->restart_block;
kernel/time/posix-cpu-timers.c
1628
static long posix_cpu_nsleep_restart(struct restart_block *restart_block);
kernel/time/posix-cpu-timers.c
1633
struct restart_block *restart_block = &current->restart_block;
kernel/time/posix-cpu-timers.c
1651
restart_block->nanosleep.clockid = which_clock;
kernel/time/posix-cpu-timers.c
1652
set_restart_fn(restart_block, posix_cpu_nsleep_restart);
kernel/time/posix-cpu-timers.c
1657
static long posix_cpu_nsleep_restart(struct restart_block *restart_block)
kernel/time/posix-cpu-timers.c
1659
clockid_t which_clock = restart_block->nanosleep.clockid;
kernel/time/posix-cpu-timers.c
1662
t = ktime_to_timespec64(restart_block->nanosleep.expires);
kernel/time/posix-stubs.c
116
current->restart_block.fn = do_no_restart_syscall;
kernel/time/posix-stubs.c
117
current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE;
kernel/time/posix-stubs.c
118
current->restart_block.nanosleep.rmtp = rmtp;
kernel/time/posix-stubs.c
199
current->restart_block.fn = do_no_restart_syscall;
kernel/time/posix-stubs.c
200
current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE;
kernel/time/posix-stubs.c
201
current->restart_block.nanosleep.compat_rmtp = rmtp;
kernel/time/posix-timers.c
1402
current->restart_block.fn = do_no_restart_syscall;
kernel/time/posix-timers.c
1403
current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE;
kernel/time/posix-timers.c
1404
current->restart_block.nanosleep.rmtp = rmtp;
kernel/time/posix-timers.c
1430
current->restart_block.fn = do_no_restart_syscall;
kernel/time/posix-timers.c
1431
current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE;
kernel/time/posix-timers.c
1432
current->restart_block.nanosleep.compat_rmtp = rmtp;