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
1101
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
127
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
1036
static long do_restart_poll(struct restart_block *restart_block)
fs/select.c
1038
struct pollfd __user *ufds = restart_block->poll.ufds;
fs/select.c
1039
int nfds = restart_block->poll.nfds;
fs/select.c
1043
if (restart_block->poll.has_timeout)
fs/select.c
1044
to = &restart_block->poll.end_time;
fs/select.c
1049
ret = set_restart_fn(restart_block, do_restart_poll);
fs/select.c
1069
struct restart_block *restart_block;
fs/select.c
1071
restart_block = &current->restart_block;
fs/select.c
1072
restart_block->poll.ufds = ufds;
fs/select.c
1073
restart_block->poll.nfds = nfds;
fs/select.c
1076
restart_block->poll.end_time = end_time;
fs/select.c
1077
restart_block->poll.has_timeout = 1;
fs/select.c
1079
restart_block->poll.has_timeout = 0;
fs/select.c
1081
ret = set_restart_fn(restart_block, do_restart_poll);
include/linux/hrtimer.h
352
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
1054
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
116
.restart_block = {
kernel/futex/waitwake.c
334
static long futex_wait_restart(struct restart_block *restart);
kernel/futex/waitwake.c
709
struct restart_block *restart;
kernel/futex/waitwake.c
725
restart = &current->restart_block;
kernel/futex/waitwake.c
738
static long futex_wait_restart(struct restart_block *restart)
kernel/signal.c
3175
struct restart_block *restart = &current->restart_block;
kernel/signal.c
3179
long do_no_restart_syscall(struct restart_block *param)
kernel/time/alarmtimer.c
701
struct restart_block *restart;
kernel/time/alarmtimer.c
721
restart = &current->restart_block;
kernel/time/alarmtimer.c
752
static long __sched alarm_timer_nsleep_restart(struct restart_block *restart)
kernel/time/alarmtimer.c
775
struct restart_block *restart = &current->restart_block;
kernel/time/hrtimer.c
2096
int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts)
kernel/time/hrtimer.c
2117
struct restart_block *restart;
kernel/time/hrtimer.c
2136
restart = &current->restart_block;
kernel/time/hrtimer.c
2150
static long __sched hrtimer_nanosleep_restart(struct restart_block *restart)
kernel/time/hrtimer.c
2165
struct restart_block *restart;
kernel/time/hrtimer.c
2181
restart = &current->restart_block;
kernel/time/hrtimer.c
2203
current->restart_block.fn = do_no_restart_syscall;
kernel/time/hrtimer.c
2204
current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE;
kernel/time/hrtimer.c
2205
current->restart_block.nanosleep.rmtp = rmtp;
kernel/time/hrtimer.c
2225
current->restart_block.fn = do_no_restart_syscall;
kernel/time/hrtimer.c
2226
current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE;
kernel/time/hrtimer.c
2227
current->restart_block.nanosleep.compat_rmtp = rmtp;
kernel/time/posix-cpu-timers.c
1499
struct restart_block *restart;
kernel/time/posix-cpu-timers.c
1559
restart = &current->restart_block;
kernel/time/posix-cpu-timers.c
1568
static long posix_cpu_nsleep_restart(struct restart_block *restart_block);
kernel/time/posix-cpu-timers.c
1573
struct restart_block *restart_block = &current->restart_block;
kernel/time/posix-cpu-timers.c
1591
restart_block->nanosleep.clockid = which_clock;
kernel/time/posix-cpu-timers.c
1592
set_restart_fn(restart_block, posix_cpu_nsleep_restart);
kernel/time/posix-cpu-timers.c
1597
static long posix_cpu_nsleep_restart(struct restart_block *restart_block)
kernel/time/posix-cpu-timers.c
1599
clockid_t which_clock = restart_block->nanosleep.clockid;
kernel/time/posix-cpu-timers.c
1602
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
1387
current->restart_block.fn = do_no_restart_syscall;
kernel/time/posix-timers.c
1388
current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE;
kernel/time/posix-timers.c
1389
current->restart_block.nanosleep.rmtp = rmtp;
kernel/time/posix-timers.c
1415
current->restart_block.fn = do_no_restart_syscall;
kernel/time/posix-timers.c
1416
current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE;
kernel/time/posix-timers.c
1417
current->restart_block.nanosleep.compat_rmtp = rmtp;