Home
last modified time | relevance | path

Searched refs:rmtp (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/kernel/
Dtimer.c836 asmlinkage long sys_nanosleep(struct timespec *rqtp, struct timespec *rmtp) in sys_nanosleep() argument
867 if (rmtp) { in sys_nanosleep()
869 if (copy_to_user(rmtp, &t, sizeof(struct timespec))) in sys_nanosleep()
/linux-2.4.37.9/arch/x86_64/ia32/
Dsys_ia32.c989 extern asmlinkage long sys_nanosleep(struct timespec *rqtp, struct timespec *rmtp);
992 sys32_nanosleep(struct timespec32 *rqtp, struct timespec32 *rmtp) in sys32_nanosleep() argument
1005 ret = sys_nanosleep(rqtp ? &t : NULL, rmtp ? &tout : NULL); in sys32_nanosleep()
1007 if (rmtp && ret == -EINTR) { in sys32_nanosleep()
1008 if (verify_area(VERIFY_WRITE, rmtp, sizeof(struct timespec32)) || in sys32_nanosleep()
1009 __put_user (tout.tv_sec, &rmtp->tv_sec) || in sys32_nanosleep()
1010 __put_user (tout.tv_nsec, &rmtp->tv_nsec)) in sys32_nanosleep()
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc32.c561 asmlinkage int sys32_nanosleep(struct timespec32 *rqtp, struct timespec32 *rmtp) in sys32_nanosleep() argument
566 extern asmlinkage int sys_nanosleep(struct timespec *rqtp, struct timespec *rmtp); in sys32_nanosleep()
575 KERNEL_SYSCALL(ret, sys_nanosleep, &t, rmtp ? &t : NULL); in sys32_nanosleep()
576 if (rmtp && ret == -EINTR) { in sys32_nanosleep()
577 if (put_timespec32(rmtp, &t)) in sys32_nanosleep()
/linux-2.4.37.9/arch/mips64/kernel/
Dlinux32.c1445 struct timespec *rmtp);
1448 sys32_nanosleep(struct timespec32 *rqtp, struct timespec32 *rmtp) in sys32_nanosleep() argument
1459 ret = sys_nanosleep(&t, rmtp ? &t : NULL); in sys32_nanosleep()
1461 if (rmtp && ret == -EINTR) { in sys32_nanosleep()
1462 if (__put_user (t.tv_sec, &rmtp->tv_sec) || in sys32_nanosleep()
1463 __put_user (t.tv_nsec, &rmtp->tv_nsec)) in sys32_nanosleep()
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c1167 extern asmlinkage long sys_nanosleep (struct timespec *rqtp, struct timespec *rmtp);
1170 sys32_nanosleep (struct timespec32 *rqtp, struct timespec32 *rmtp) in sys32_nanosleep() argument
1179 ret = sys_nanosleep(&t, rmtp ? &t : NULL); in sys32_nanosleep()
1181 if (rmtp && ret == -EINTR) { in sys32_nanosleep()
1182 if (put_user(t.tv_sec, &rmtp->tv_sec) || put_user(t.tv_nsec, &rmtp->tv_nsec)) in sys32_nanosleep()
/linux-2.4.37.9/arch/ppc64/kernel/
Dsys_ppc32.c2044 extern asmlinkage long sys_nanosleep(struct timespec *rqtp, struct timespec *rmtp);
2046 asmlinkage long sys32_nanosleep(struct timespec32 *rqtp, struct timespec32 *rmtp) in sys32_nanosleep() argument
2058 ret = sys_nanosleep(&t, rmtp ? &t : NULL); in sys32_nanosleep()
2060 if (rmtp && ret == -EINTR) { in sys32_nanosleep()
2061 if (__put_user (t.tv_sec, &rmtp->tv_sec) || in sys32_nanosleep()
2062 __put_user (t.tv_nsec, &rmtp->tv_nsec)) in sys32_nanosleep()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc32.c2023 extern asmlinkage int sys_nanosleep(struct timespec *rqtp, struct timespec *rmtp);
2025 asmlinkage int sys32_nanosleep(struct timespec32 *rqtp, struct timespec32 *rmtp) in sys32_nanosleep() argument
2035 ret = sys_nanosleep(&t, rmtp ? &t : NULL); in sys32_nanosleep()
2037 if (rmtp && ret == -EINTR) { in sys32_nanosleep()
2038 if (__put_user (t.tv_sec, &rmtp->tv_sec) || in sys32_nanosleep()
2039 __put_user (t.tv_nsec, &rmtp->tv_nsec)) in sys32_nanosleep()
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c1933 extern asmlinkage int sys_nanosleep(struct timespec *rqtp, struct timespec *rmtp);
1935 asmlinkage int sys32_nanosleep(struct timespec32 *rqtp, struct timespec32 *rmtp) in sys32_nanosleep() argument
1945 ret = sys_nanosleep(&t, rmtp ? &t : NULL); in sys32_nanosleep()
1947 if (rmtp && ret == -EINTR) { in sys32_nanosleep()
1948 if (__put_user (t.tv_sec, &rmtp->tv_sec) || in sys32_nanosleep()
1949 __put_user (t.tv_nsec, &rmtp->tv_nsec)) in sys32_nanosleep()