/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_clock_nanosleep.c | 44 struct timespec rqtp, rmtp; local 47 rmtp.tv_sec = -1; rmtp.tv_nsec = -1; 48 ATF_REQUIRE(clock_nanosleep(CLOCK_REALTIME, 0, &rqtp, &rmtp) == 0); 50 ATF_CHECK(rmtp.tv_sec == -1 && rmtp.tv_nsec == -1); 52 ATF_CHECK(rmtp.tv_sec == 0 && rmtp.tv_nsec == 0); 56 rmtp.tv_sec = -1; rmtp [all...] |
/freebsd-13-stable/lib/libc/sys/ |
H A D | clock_nanosleep.c | 45 struct timespec *rmtp) 51 rqtp, rmtp)); 44 clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp) argument
|
H A D | nanosleep.c | 44 nanosleep(const struct timespec *rqtp, struct timespec *rmtp) argument 48 __libc_interposing[INTERPOS_nanosleep])(rqtp, rmtp));
|
/freebsd-13-stable/sys/compat/linux/ |
H A D | linux_time.c | 544 struct timespec *rmtp; local 549 LIN_SDT_PROBE2(time, linux_nanosleep, entry, args->rqtp, args->rmtp); 558 if (args->rmtp != NULL) 559 rmtp = &rmts; 561 rmtp = NULL; 569 error = kern_nanosleep(td, &rqts, rmtp); 570 if (error == EINTR && args->rmtp != NULL) { 571 error2 = native_to_linux_timespec(&lrmts, rmtp); 574 error2 = copyout(&lrmts, args->rmtp, sizeof(lrmts)); 590 struct timespec *rmtp; local [all...] |
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 258 PRE_SYSCALL(nanosleep)(void *rqtp, void *rmtp) {} 260 POST_SYSCALL(nanosleep)(long res, void *rqtp, void *rmtp) { 263 if (rmtp) POST_WRITE(rmtp, struct_timespec_sz); 516 void *rmtp) { 521 const void *rqtp, void *rmtp) { 523 if (rmtp) POST_WRITE(rmtp, struct_timespec_sz);
|
/freebsd-13-stable/lib/libc/gen/ |
H A D | sem_new.c | 347 const struct timespec *rqtp, struct timespec *rmtp) 369 rqtp != NULL && rmtp != NULL) { 370 *rmtp = tms.remain; 394 const struct timespec *rqtp, struct timespec *rmtp) 426 retval = usem_wait(&sem->_kern, clock_id, flags, rqtp, rmtp); 346 usem_wait(struct _usem2 *sem, clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp) argument 393 _sem_clockwait_np(sem_t * __restrict sem, clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp) argument
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 1239 #define __sanitizer_syscall_pre_compat_50_nanosleep(rqtp, rmtp) \ 1241 (long long)(rmtp)) 1242 #define __sanitizer_syscall_post_compat_50_nanosleep(res, rqtp, rmtp) \ 1244 (long long)(rmtp)) 2337 #define __sanitizer_syscall_pre___nanosleep50(rqtp, rmtp) \ 2339 (long long)(rmtp)) 2340 #define __sanitizer_syscall_post___nanosleep50(res, rqtp, rmtp) \ 2342 (long long)(rmtp)) 2659 #define __sanitizer_syscall_pre_clock_nanosleep(clock_id, flags, rqtp, rmtp) \ 2662 (long long)(rmtp)) [all...] |
H A D | linux_syscall_hooks.h | 50 #define __sanitizer_syscall_pre_nanosleep(rqtp, rmtp) \ 51 __sanitizer_syscall_pre_impl_nanosleep((long)(rqtp), (long)(rmtp)) 52 #define __sanitizer_syscall_post_nanosleep(res, rqtp, rmtp) \ 53 __sanitizer_syscall_post_impl_nanosleep(res, (long)(rqtp), (long)(rmtp)) 241 rmtp) \ 243 (long)(which_clock), (long)(flags), (long)(rqtp), (long)(rmtp)) 245 rqtp, rmtp) \ 247 res, (long)(which_clock), (long)(flags), (long)(rqtp), (long)(rmtp)) 2031 void __sanitizer_syscall_pre_impl_nanosleep(long rqtp, long rmtp); 2032 void __sanitizer_syscall_post_impl_nanosleep(long res, long rqtp, long rmtp); [all...] |
/freebsd-13-stable/sys/kern/ |
H A D | kern_time.c | 591 struct timespec *rmtp; member in struct:nanosleep_args 600 uap->rqtp, uap->rmtp)); 608 struct timespec *rmtp; member in struct:clock_nanosleep_args 618 uap->rmtp);
|
H A D | systrace_args.c | 1218 uarg[1] = (intptr_t)p->rmtp; /* struct timespec * */ 1249 uarg[3] = (intptr_t)p->rmtp; /* struct timespec * */
|
/freebsd-13-stable/sys/sys/ |
H A D | syscallsubr.h | 106 const struct timespec *rqtp, struct timespec *rmtp);
|
H A D | sysproto.h | 664 char rmtp_l_[PADL_(struct timespec *)]; struct timespec * rmtp; char rmtp_r_[PADR_(struct timespec *)]; member in struct:nanosleep_args 679 char rmtp_l_[PADL_(struct timespec *)]; struct timespec * rmtp; char rmtp_r_[PADR_(struct timespec *)]; member in struct:clock_nanosleep_args
|
/freebsd-13-stable/sys/arm/linux/ |
H A D | linux_systrace_args.c | 942 uarg[1] = (intptr_t)p->rmtp; /* struct l_timespec * */ 1629 uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec * */
|
H A D | linux_proto.h | 408 char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)]; member in struct:linux_nanosleep_args 732 char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)]; member in struct:linux_clock_nanosleep_args
|
/freebsd-13-stable/sys/arm64/linux/ |
H A D | linux_systrace_args.c | 805 uarg[1] = (intptr_t)p->rmtp; /* struct l_timespec * */ 912 uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec * */
|
H A D | linux_proto.h | 429 char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)]; member in struct:linux_nanosleep_args 486 char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)]; member in struct:linux_clock_nanosleep_args
|
/freebsd-13-stable/sys/compat/freebsd32/ |
H A D | freebsd32_proto.h | 228 char rmtp_l_[PADL_(struct timespec32 *)]; struct timespec32 * rmtp; char rmtp_r_[PADR_(struct timespec32 *)]; member in struct:freebsd32_nanosleep_args 234 char rmtp_l_[PADL_(struct timespec32 *)]; struct timespec32 * rmtp; char rmtp_r_[PADR_(struct timespec32 *)]; member in struct:freebsd32_clock_nanosleep_args
|
H A D | freebsd32_misc.c | 2872 TIMER_RELTIME, uap->rqtp, uap->rmtp)); 2882 uap->rqtp, uap->rmtp);
|
H A D | freebsd32_systrace_args.c | 1188 uarg[1] = (intptr_t)p->rmtp; /* struct timespec32 * */ 1219 uarg[3] = (intptr_t)p->rmtp; /* struct timespec32 * */
|
/freebsd-13-stable/sys/i386/linux/ |
H A D | linux_proto.h | 501 char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)]; member in struct:linux_nanosleep_args 875 char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)]; member in struct:linux_clock_nanosleep_args
|
H A D | linux_systrace_args.c | 1137 uarg[1] = (intptr_t)p->rmtp; /* struct l_timespec * */ 1907 uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec * */
|
/freebsd-13-stable/sys/amd64/linux32/ |
H A D | linux32_systrace_args.c | 1099 uarg[1] = (intptr_t)p->rmtp; /* struct l_timespec * */ 1862 uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec * */
|
H A D | linux32_proto.h | 503 char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)]; member in struct:linux_nanosleep_args 876 char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)]; member in struct:linux_clock_nanosleep_args
|
/freebsd-13-stable/sys/amd64/linux/ |
H A D | linux_proto.h | 164 char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)]; member in struct:linux_nanosleep_args 807 char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)]; member in struct:linux_clock_nanosleep_args
|
H A D | linux_systrace_args.c | 321 uarg[1] = (intptr_t)p->rmtp; /* struct l_timespec * */ 1742 uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec * */
|