Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/kernel/time/
A Dposix-stubs.c150 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()
A Dposix-cpu-timers.c1462 struct restart_block *restart; in do_cpu_nanosleep()
1529 restart = &current->restart_block; in do_cpu_nanosleep()
1538 static long posix_cpu_nsleep_restart(struct restart_block *restart_block);
1543 struct restart_block *restart_block = &current->restart_block; in posix_cpu_nsleep() local
1561 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep()
1562 set_restart_fn(restart_block, posix_cpu_nsleep_restart); in posix_cpu_nsleep()
1567 static long posix_cpu_nsleep_restart(struct restart_block *restart_block) in posix_cpu_nsleep_restart() argument
1569 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart()
1572 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
A Dhrtimer.c2016 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) in nanosleep_copyout()
2037 struct restart_block *restart; in do_nanosleep()
2056 restart = &current->restart_block; in do_nanosleep()
2086 struct restart_block *restart; in hrtimer_nanosleep()
2107 restart = &current->restart_block; in hrtimer_nanosleep()
2129 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE2()
2130 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2()
2131 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE2()
2151 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE2()
2152 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE2()
[all …]
A Dalarmtimer.c774 struct restart_block *restart; in alarmtimer_do_nsleep()
794 restart = &current->restart_block; in alarmtimer_do_nsleep()
825 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart) in alarm_timer_nsleep_restart()
848 struct restart_block *restart = &current->restart_block; in alarm_timer_nsleep()
A Dposix-timers.c1273 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE4()
1274 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4()
1275 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4()
1301 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE4()
1302 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4()
1303 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()
/linux-6.3-rc2/include/linux/
A Drestart_block.h25 struct restart_block { struct
27 long (*fn)(struct restart_block *); argument
59 extern long do_no_restart_syscall(struct restart_block *parm);
A Dthread_info.h68 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
/linux-6.3-rc2/arch/csky/include/asm/
A Dthread_info.h19 struct restart_block restart_block; member
29 .restart_block = { \
/linux-6.3-rc2/fs/
A Dselect.c1047 static long do_restart_poll(struct restart_block *restart_block) in do_restart_poll() argument
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()
1083 struct restart_block *restart_block; in SYSCALL_DEFINE3() local
1085 restart_block = &current->restart_block; in SYSCALL_DEFINE3()
1086 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()
1087 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3()
1090 restart_block->poll.tv_sec = end_time.tv_sec; in SYSCALL_DEFINE3()
1092 restart_block->poll.has_timeout = 1; in SYSCALL_DEFINE3()
[all …]
/linux-6.3-rc2/arch/s390/kernel/
A Dsyscall.c124 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()
A Dprocess.c185 p->restart_block.arch_data = 1; in copy_thread()
A Dsignal.c144 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-6.3-rc2/kernel/futex/
A Dwaitwake.c320 static long futex_wait_restart(struct restart_block *restart);
635 struct restart_block *restart; in futex_wait()
677 restart = &current->restart_block; in futex_wait()
694 static long futex_wait_restart(struct restart_block *restart) in futex_wait_restart()
/linux-6.3-rc2/init/
A Dinit_task.c88 .restart_block = {
/linux-6.3-rc2/arch/sh/kernel/
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-6.3-rc2/arch/riscv/kernel/
A Dcompat_signal.c127 current->restart_block.fn = do_no_restart_syscall; in COMPAT_SYSCALL_DEFINE0()
A Dsignal.c109 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE0()
/linux-6.3-rc2/arch/csky/kernel/
A Dsignal.c76 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE0()
/linux-6.3-rc2/arch/openrisc/kernel/
A Dsignal.c43 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext()
/linux-6.3-rc2/arch/x86/kernel/
A Dsignal.c287 if (current->restart_block.arch_data & TS_COMPAT) in get_nr_restart_syscall()
/linux-6.3-rc2/arch/arm/kernel/
A Dsignal.c191 current->restart_block.fn = do_no_restart_syscall; in sys_sigreturn()
221 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
/linux-6.3-rc2/arch/arm64/kernel/
A Dsignal32.c234 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-6.3-rc2/arch/hexagon/kernel/
A Dsignal.c230 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
/linux-6.3-rc2/arch/mips/kernel/
A Dsignal_o32.c93 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext32()
/linux-6.3-rc2/arch/microblaze/kernel/
A Dsignal.c90 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()

Completed in 55 milliseconds

12