Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/include/linux/
H A Drestart_block.h25 struct restart_block { struct
26 long (*fn)(struct restart_block *); argument
58 extern long do_no_restart_syscall(struct restart_block *parm);
H A Dthread_info.h47 static inline long set_restart_fn(struct restart_block *restart, in set_restart_fn()
48 long (*fn)(struct restart_block *)) in set_restart_fn() argument
H A Dhrtimer.h509 extern int nanosleep_copyout(struct restart_block *, struct timespec64 *);
/OK3568_Linux_fs/kernel/arch/csky/include/asm/
H A Dthread_info.h22 struct restart_block restart_block; member
33 .restart_block = { \
/OK3568_Linux_fs/kernel/fs/
H A Dselect.c1046 static long do_restart_poll(struct restart_block *restart_block) in do_restart_poll() argument
1048 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
1049 int nfds = restart_block->poll.nfds; in do_restart_poll()
1053 if (restart_block->poll.has_timeout) { in do_restart_poll()
1054 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll()
1055 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll()
1062 ret = set_restart_fn(restart_block, do_restart_poll); in do_restart_poll()
1082 struct restart_block *restart_block; in SYSCALL_DEFINE3() local
1084 restart_block = &current->restart_block; in SYSCALL_DEFINE3()
1085 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3()
[all …]
/OK3568_Linux_fs/kernel/kernel/time/
H A Dposix-stubs.c149 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()
H A Dposix-cpu-timers.c1399 struct restart_block *restart; in do_cpu_nanosleep()
1466 restart = &current->restart_block; in do_cpu_nanosleep()
1475 static long posix_cpu_nsleep_restart(struct restart_block *restart_block);
1480 struct restart_block *restart_block = &current->restart_block; in posix_cpu_nsleep() local
1498 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep()
1499 set_restart_fn(restart_block, posix_cpu_nsleep_restart); in posix_cpu_nsleep()
1504 static long posix_cpu_nsleep_restart(struct restart_block *restart_block) in posix_cpu_nsleep_restart() argument
1506 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart()
1509 t = ns_to_timespec64(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
H A Dhrtimer.c1914 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) in nanosleep_copyout()
1935 struct restart_block *restart; in do_nanosleep()
1954 restart = &current->restart_block; in do_nanosleep()
1968 static long __sched hrtimer_nanosleep_restart(struct restart_block *restart) in hrtimer_nanosleep_restart()
1984 struct restart_block *restart; in hrtimer_nanosleep()
2005 restart = &current->restart_block; in hrtimer_nanosleep()
2027 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE2()
2028 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE2()
2048 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE2()
2049 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE2()
H A Dalarmtimer.c742 struct restart_block *restart; in alarmtimer_do_nsleep()
762 restart = &current->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 = &current->restart_block; in alarm_timer_nsleep()
H A Dposix-timers.c1273 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; in SYSCALL_DEFINE4()
1274 current->restart_block.nanosleep.rmtp = rmtp; in SYSCALL_DEFINE4()
1300 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; in SYSCALL_DEFINE4()
1301 current->restart_block.nanosleep.compat_rmtp = rmtp; in SYSCALL_DEFINE4()
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dthread_info.h237 static inline void arch_set_restart_data(struct restart_block *restart) in arch_set_restart_data()
/OK3568_Linux_fs/kernel/arch/sh/kernel/
H A Dsignal_32.c160 current->restart_block.fn = do_no_restart_syscall; in sys_sigreturn()
190 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dsignal32.c238 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()
/OK3568_Linux_fs/kernel/init/
H A Dinit_task.c87 .restart_block = {
/OK3568_Linux_fs/kernel/arch/arm/kernel/
H A Dsignal.c229 current->restart_block.fn = do_no_restart_syscall; in sys_sigreturn()
259 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
/OK3568_Linux_fs/kernel/arch/csky/kernel/
H A Dsignal.c76 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE0()
/OK3568_Linux_fs/kernel/arch/openrisc/kernel/
H A Dsignal.c45 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext()
/OK3568_Linux_fs/kernel/arch/h8300/kernel/
H A Dsignal.c82 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext()
/OK3568_Linux_fs/kernel/arch/riscv/kernel/
H A Dsignal.c106 current->restart_block.fn = do_no_restart_syscall; in SYSCALL_DEFINE0()
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dsignal_o32.c93 current->restart_block.fn = do_no_restart_syscall; in restore_sigcontext32()
/OK3568_Linux_fs/kernel/arch/hexagon/kernel/
H A Dsignal.c231 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dsignal32.c96 current->restart_block.fn = do_no_restart_syscall; in do_sigreturn32()
185 current->restart_block.fn = do_no_restart_syscall; in do_rt_sigreturn32()
/OK3568_Linux_fs/kernel/arch/microblaze/kernel/
H A Dsignal.c90 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn()
/OK3568_Linux_fs/kernel/arch/c6x/kernel/
H A Dsignal.c69 current->restart_block.fn = do_no_restart_syscall; in do_rt_sigreturn()
/OK3568_Linux_fs/kernel/arch/nios2/kernel/
H A Dsignal.c46 current->restart_block.fn = do_no_restart_syscall; in rt_restore_ucontext()

12