Home
last modified time | relevance | path

Searched refs:restart_block (Results 1 – 25 of 30) sorted by relevance

12

/linux/kernel/time/
H A Dposix-stubs.c116 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 Dhrtimer.c2371 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) in SYSCALL_DEFINE2()
2392 struct restart_block *restart; in SYSCALL_DEFINE2()
2411 restart = &current->restart_block; in hrtimers_prepare_cpu()
2425 static long __sched hrtimer_nanosleep_restart(struct restart_block *restart) in hrtimers_cpu_starting()
2439 struct restart_block *restart; in migrate_hrtimer_list()
2455 restart = &current->restart_block; in migrate_hrtimer_list()
2477 current->restart_block.fn = do_no_restart_syscall; in hrtimers_cpu_dying()
2478 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in hrtimers_cpu_dying()
2479 current->restart_block.nanosleep.rmtp = rmtp; in hrtimers_cpu_dying()
2498 current->restart_block
[all...]
H A Dalarmtimer.c693 struct restart_block *restart;
715 restart = &current->restart_block; in alarmtimer_do_nsleep()
746 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart) in alarm_init_on_stack()
769 struct restart_block *restart = &current->restart_block;
/linux/arch/csky/include/asm/
H A Dthread_info.h19 struct restart_block restart_block; member
29 .restart_block = { \
/linux/fs/
H A Dselect.c1042 static long do_restart_poll(struct restart_block *restart_block) in do_restart_poll() argument
1044 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
1045 int nfds = restart_block->poll.nfds; in do_restart_poll()
1049 if (restart_block->poll.has_timeout) in do_restart_poll()
1050 to = &restart_block->poll.end_time; in do_restart_poll()
1055 ret = set_restart_fn(restart_block, do_restart_poll); in do_restart_poll()
1075 struct restart_block *restart_block; in SYSCALL_DEFINE3() local
1077 restart_block in SYSCALL_DEFINE3()
[all...]
/linux/arch/s390/kernel/
H A Dsyscall.c120 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()
/linux/arch/sh/kernel/
H A Dsignal_32.c163 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 Dsignal.c76 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE0()
/linux/arch/riscv/kernel/
H A Dcompat_signal.c129 current->restart_block.fn = do_no_restart_syscall; in COMPAT_SYSCALL_DEFINE0()
H A Dsignal.c319 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE0()
/linux/arch/hexagon/kernel/
H A Dsignal.c230 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE0()
/linux/arch/mips/kernel/
H A Dsignal_o32.c94 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext32()
/linux/arch/microblaze/kernel/
H A Dsignal.c90 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
/linux/arch/sparc/kernel/
H A Dsignal32.c95 current->restart_block.fn = do_no_restart_syscall; in do_sigreturn32()
184 current->restart_block.fn = do_no_restart_syscall; in do_rt_sigreturn32()
H A Dsignal_32.c84 current->restart_block.fn = do_no_restart_syscall; in do_sigreturn()
H A Dsignal_64.c265 current->restart_block.fn = do_no_restart_syscall; in do_rt_sigreturn()
/linux/arch/nios2/kernel/
H A Dsignal.c46 current->restart_block.fn = do_no_restart_syscall; in rt_restore_ucontext()
/linux/arch/m68k/kernel/
H A Dsignal.c687 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext()
720 current->restart_block.fn = do_no_restart_syscall; in rt_restore_ucontext()
/linux/arch/xtensa/kernel/
H A Dsignal.c256 current->restart_block.fn = do_no_restart_syscall; in xtensa_rt_sigreturn()
/linux/arch/arc/kernel/
H A Dsignal.c203 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE0()
/linux/arch/powerpc/kernel/
H A Dsignal_32.c1106 current->restart_block.fn = do_no_restart_syscall; in COMPAT_SYSCALL_DEFINE0()
1311 current->restart_block.fn = do_no_restart_syscall; in COMPAT_SYSCALL_DEFINE0()
/linux/arch/x86/um/
H A Dsignal.c41 current->restart_block.fn = do_no_restart_syscall; in copy_sc_from_user()
/linux/include/linux/
H A Dsched.h44 #include <linux/restart_block.h>
1069 struct restart_block restart_block;
1061 struct restart_block restart_block; global() member
/linux/arch/x86/kernel/
H A Dsignal_64.c57 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext()
/linux/arch/alpha/kernel/
H A Dsignal.c155 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext()

12