Lines Matching refs:restart
103 static long compat_nanosleep_restart(struct restart_block *restart) in compat_nanosleep_restart() argument
110 restart->nanosleep.rmtp = (struct timespec __user *) &rmt; in compat_nanosleep_restart()
113 ret = hrtimer_nanosleep_restart(restart); in compat_nanosleep_restart()
117 rmtp = restart->nanosleep.compat_rmtp; in compat_nanosleep_restart()
147 struct restart_block *restart in compat_sys_nanosleep() local
150 restart->fn = compat_nanosleep_restart; in compat_sys_nanosleep()
151 restart->nanosleep.compat_rmtp = rmtp; in compat_sys_nanosleep()
650 static long compat_clock_nanosleep_restart(struct restart_block *restart) in compat_clock_nanosleep_restart() argument
655 struct compat_timespec *rmtp = restart->nanosleep.compat_rmtp; in compat_clock_nanosleep_restart()
657 restart->nanosleep.rmtp = (struct timespec __user *) &tu; in compat_clock_nanosleep_restart()
660 err = clock_nanosleep_restart(restart); in compat_clock_nanosleep_restart()
668 restart->fn = compat_clock_nanosleep_restart; in compat_clock_nanosleep_restart()
669 restart->nanosleep.compat_rmtp = rmtp; in compat_clock_nanosleep_restart()
681 struct restart_block *restart; in compat_sys_clock_nanosleep() local
698 restart = ¤t_thread_info()->restart_block; in compat_sys_clock_nanosleep()
699 restart->fn = compat_clock_nanosleep_restart; in compat_sys_clock_nanosleep()
700 restart->nanosleep.compat_rmtp = rmtp; in compat_sys_clock_nanosleep()