Symbol: CLOCK_REALTIME
bin/date/date.c
160
if (clock_gettime(CLOCK_REALTIME, &ts) == -1)
bin/date/date.c
162
if (clock_getres(CLOCK_REALTIME, &tres) == -1)
bin/date/date.c
354
if (clock_settime(CLOCK_REALTIME, ts) != 0)
crypto/krb5/src/util/verto/ev.c
1867
clock_gettime (CLOCK_REALTIME, &ts);
crypto/krb5/src/util/verto/ev.c
2845
if (!clock_gettime (CLOCK_REALTIME, &ts))
crypto/krb5/src/util/verto/ev.c
405
#ifndef CLOCK_REALTIME
crypto/openssh/misc-agent.c
283
if (clock_gettime(CLOCK_REALTIME, &now) != 0) {
crypto/openssh/misc.c
1791
defined(CLOCK_MONOTONIC) || defined(CLOCK_REALTIME))
crypto/openssh/misc.c
1803
# ifdef CLOCK_REALTIME
crypto/openssh/misc.c
1805
if (clock_gettime(CLOCK_REALTIME, ts) == 0)
crypto/openssh/openbsd-compat/bsd-misc.c
512
if (clockid != CLOCK_REALTIME) {
crypto/openssh/openbsd-compat/bsd-misc.h
211
#ifndef CLOCK_REALTIME
crypto/openssh/regress/unittests/test_helper/test_helper.c
716
clock_gettime(CLOCK_REALTIME, &bench_start_time);
crypto/openssh/regress/unittests/test_helper/test_helper.c
724
clock_gettime(CLOCK_REALTIME, &bench_finish_time);
crypto/openssl/apps/lib/apps.c
2822
#ifdef CLOCK_REALTIME
crypto/openssl/apps/lib/apps.c
2836
#ifdef CLOCK_REALTIME
crypto/openssl/apps/lib/apps.c
2837
clock_gettime(CLOCK_REALTIME, &now);
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
180
clock_gettime(CLOCK_REALTIME, &ts);
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
786
if (clock_gettime(CLOCK_REALTIME, &ts) == 0)
crypto/openssl/providers/implementations/rands/seeding/rand_vxworks.c
44
if (clock_gettime(CLOCK_REALTIME, &ts) == 0)
lib/libc/gen/sem.c
324
timeout._clockid = CLOCK_REALTIME;
lib/libc/gen/sem_new.c
435
return (_sem_clockwait_np(sem, CLOCK_REALTIME, TIMER_ABSTIME, abstime,
lib/libc/gen/timespec_get.c
44
if (clock_gettime(CLOCK_REALTIME, ts) == -1)
lib/libc/gen/timespec_getres.c
15
if (clock_getres(CLOCK_REALTIME, ts) == 0)
lib/libc/isc/ev_timers.c
118
#ifdef CLOCK_REALTIME
lib/libc/isc/ev_timers.c
120
int m = CLOCK_REALTIME;
lib/libc/isc/ev_timers.c
137
#ifdef CLOCK_REALTIME
lib/libc/isc/ev_timers.c
139
if (clock_gettime(CLOCK_REALTIME, &tsnow) == 0)
lib/libc/tests/gen/glob2_test.c
77
clock_gettime(CLOCK_REALTIME, &t);
lib/libc/tests/gen/glob2_test.c
93
clock_gettime(CLOCK_REALTIME, &t2);
lib/libgeom/geom_stats.c
128
clock_gettime(CLOCK_REALTIME, &sp->time);
lib/libsys/__vdso_gettimeofday.c
170
case CLOCK_REALTIME:
lib/libthr/thread/thr_cond.c
87
cvp->kcond.c_clockid = CLOCK_REALTIME;
lib/libthr/thread/thr_condattr.c
96
if (clock_id != CLOCK_REALTIME &&
lib/libthr/thread/thr_init.c
113
.c_clockid = CLOCK_REALTIME
lib/libthr/thread/thr_join.c
175
clock_gettime(CLOCK_REALTIME, &ts);
lib/libthr/thread/thr_mutex.c
897
clock_gettime(CLOCK_REALTIME, &ts1);
lib/libthr/thread/thr_mutex.c
922
clock_gettime(CLOCK_REALTIME, &ts1);
lib/libthr/thread/thr_umtx.c
122
timeout._clockid = CLOCK_REALTIME;
lib/libthr/thread/thr_umtx.c
306
timeout._clockid = CLOCK_REALTIME;
lib/libthr/thread/thr_umtx.c
326
timeout._clockid = CLOCK_REALTIME;
sbin/ipfw/ipfw2.c
6227
clock_gettime(CLOCK_REALTIME, &tp);
sbin/nvmecontrol/devlist.c
175
clock_gettime(CLOCK_REALTIME, &now);
sbin/ping/ping.c
1040
(void)clock_gettime(CLOCK_REALTIME, &now);
sbin/route/route_netlink.c
511
clock_gettime(CLOCK_REALTIME, &tp);
sys/compat/freebsd32/freebsd32_misc.c
3066
return (freebsd32_user_clock_nanosleep(td, CLOCK_REALTIME,
sys/compat/linux/linux_futex.c
803
clockid = args->clockrt ? CLOCK_REALTIME : CLOCK_MONOTONIC;
sys/compat/linux/linux_time.c
287
*n = CLOCK_REALTIME;
sys/dev/evdev/cdev.c
565
case CLOCK_REALTIME:
sys/dev/hyperv/utilities/vmbus_timesync.c
129
kern_clock_settime(curthread, CLOCK_REALTIME, &hv_ts);
sys/dev/hyperv/utilities/vmbus_timesync.c
161
kern_clock_settime(curthread, CLOCK_REALTIME, &hv_ts);
sys/kern/kern_time.c
1186
register_posix_clock(CLOCK_REALTIME, &rt_clock);
sys/kern/kern_time.c
1349
case CLOCK_REALTIME:
sys/kern/kern_time.c
328
case CLOCK_REALTIME: /* Default to precise. */
sys/kern/kern_time.c
421
if (clock_id != CLOCK_REALTIME)
sys/kern/kern_time.c
462
case CLOCK_REALTIME:
sys/kern/kern_time.c
505
return (kern_clock_nanosleep(td, CLOCK_REALTIME, TIMER_RELTIME, rqt,
sys/kern/kern_time.c
530
case CLOCK_REALTIME:
sys/kern/kern_time.c
635
return (user_clock_nanosleep(td, CLOCK_REALTIME, TIMER_RELTIME,
sys/kern/kern_umtx.c
1113
umtx_abs_timeout_init(&timo, CLOCK_REALTIME, 0, timeout);
sys/kern/kern_umtx.c
3839
tp->_clockid = CLOCK_REALTIME;
sys/kern/kern_umtx.c
4157
clockid = CLOCK_REALTIME;
sys/kern/kern_umtx.c
4177
if (timop != NULL && (timop->clockid < CLOCK_REALTIME ||
sys/kern/kern_umtx.c
4823
t32._clockid = CLOCK_REALTIME;
sys/kern/kern_umtx.c
4884
t32._clockid = CLOCK_REALTIME;
sys/kern/kern_umtx.c
693
timo->is_abs_real = clockid == CLOCK_REALTIME ||
sys/kern/kern_umtx.c
734
case CLOCK_REALTIME:
sys/kern/kern_umtx.c
746
case CLOCK_REALTIME:
sys/kern/kern_umtx.c
931
umtx_abs_timeout_init(&timo, CLOCK_REALTIME, 0, timeout);
sys/kern/sys_timerfd.c
152
if (tfd->tfd_clockid != CLOCK_REALTIME ||
sys/kern/sys_timerfd.c
445
case CLOCK_REALTIME:
sys/kern/sys_timerfd.c
555
} else if (tfd->tfd_clockid == CLOCK_REALTIME) {
tests/sys/audit/administrative.c
130
ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_REALTIME, &tp));
tests/sys/audit/administrative.c
134
ATF_REQUIRE_EQ(0, clock_settime(CLOCK_REALTIME, &tp));
tests/sys/capsicum/capmode.cc
312
EXPECT_OK(clock_getres(CLOCK_REALTIME, &ts));
tests/sys/capsicum/capmode.cc
313
EXPECT_OK(clock_gettime(CLOCK_REALTIME, &ts));
tests/sys/kern/listener_wakeup.c
263
clock_gettime(CLOCK_REALTIME, &ts);
tests/sys/kern/sigwait.c
126
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &ts) == 0);
tests/sys/kern/sigwait.c
140
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &now) == 0);
tests/sys/kern/sigwait.c
83
ATF_REQUIRE(timer_create(CLOCK_REALTIME, &ev, &timerid) == 0);
tests/sys/kern/timerfd.c
1005
int tfd = timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC);
tests/sys/kern/timerfd.c
1008
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &current_time) == 0);
tests/sys/kern/timerfd.c
1022
clock_settime_or_skip_test(CLOCK_REALTIME,
tests/sys/kern/timerfd.c
1055
int tfd = timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC);
tests/sys/kern/timerfd.c
1058
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &current_time) == 0);
tests/sys/kern/timerfd.c
1072
clock_settime_or_skip_test(CLOCK_REALTIME,
tests/sys/kern/timerfd.c
1089
int tfd = timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC);
tests/sys/kern/timerfd.c
1092
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &current_time) == 0);
tests/sys/kern/timerfd.c
1105
clock_settime_or_skip_test(CLOCK_REALTIME, &current_time);
tests/sys/kern/timerfd.c
1143
clock_settime_or_skip_test(CLOCK_REALTIME, &current_time);
tests/sys/kern/timerfd.c
1166
clock_settime_or_skip_test(CLOCK_REALTIME, &current_time);
tests/sys/kern/timerfd.c
1183
int tfd = timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC);
tests/sys/kern/timerfd.c
1186
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &current_time) == 0);
tests/sys/kern/timerfd.c
1189
clock_settime_or_skip_test(CLOCK_REALTIME, &current_time);
tests/sys/kern/timerfd.c
1201
clock_settime_or_skip_test(CLOCK_REALTIME, &current_time);
tests/sys/kern/timerfd.c
1222
clock_settime_or_skip_test(CLOCK_REALTIME, &current_time);
tests/sys/kern/timerfd.c
1228
clock_settime_or_skip_test(CLOCK_REALTIME, &current_time);
tests/sys/kern/timerfd.c
1240
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &current_time) == 0);
tests/sys/kern/timerfd.c
1243
clock_settime_or_skip_test(CLOCK_REALTIME, &current_time);
tests/sys/kern/timerfd.c
1251
int tfd = timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC);
tests/sys/kern/timerfd.c
1281
int tfd = timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC);
tests/sys/kern/timerfd.c
1284
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &current_time) == 0);
tests/sys/kern/timerfd.c
1297
clock_settime_or_skip_test(CLOCK_REALTIME, &current_time);
tests/sys/kern/timerfd.c
959
timerfd = timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC);
tests/sys/kern/timerfd.c
962
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &its.it_value) == 0);
tests/sys/kern/timerfd.c
989
(void)clock_settime(CLOCK_REALTIME, &current_time);
tests/sys/netmap/ctrl-api-test.c
1650
clock_gettime(CLOCK_REALTIME, &to);
tests/sys/netmap/ctrl-api-test.c
2206
clock_gettime(CLOCK_REALTIME, &t);
tools/regression/fsx/fsx.c
1113
if (clock_gettime(CLOCK_REALTIME, &now) != 0)
tools/regression/gaithrstress/gaithrstress.c
123
(void)clock_gettime(CLOCK_REALTIME, &ts_begintime);
tools/regression/gaithrstress/gaithrstress.c
125
(void)clock_gettime(CLOCK_REALTIME, &ts_total);
tools/regression/posixsem/posixsem.c
756
if (clock_gettime(CLOCK_REALTIME, &start) < 0) {
tools/regression/posixsem/posixsem.c
772
if (clock_gettime(CLOCK_REALTIME, &end) < 0) {
tools/regression/posixsem/posixsem.c
903
if (clock_gettime(CLOCK_REALTIME, &start) < 0) {
tools/regression/posixsem/posixsem.c
911
if (clock_gettime(CLOCK_REALTIME, &end) < 0) {
tools/regression/priv/priv_clock_settime.c
51
if (clock_gettime(CLOCK_REALTIME, &the_time) < 0) {
tools/regression/priv/priv_clock_settime.c
64
error = clock_settime(CLOCK_REALTIME, &the_time);
tools/regression/sockets/udp_pingpong/udp_pingpong.c
129
return (CLOCK_REALTIME);
tools/regression/sockets/unix_cmsg/uc_check_time.c
64
if (clock_gettime(CLOCK_REALTIME, &ct) < 0)
tools/test/gpioevents/gpioevents.c
160
clock_gettime(CLOCK_REALTIME, &utctime);
tools/tools/netmap/nmreplay.c
681
clock_gettime(CLOCK_REALTIME, &t); // XXX precise on FreeBSD ?
tools/tools/netmap/pkt-gen.c
148
#define CLOCK_REALTIME_PRECISE CLOCK_REALTIME
tools/tools/netmap/pkt-gen.c
93
#define CLOCK_REALTIME_PRECISE CLOCK_REALTIME
tools/tools/netrate/juggle/juggle.c
238
if (clock_gettime(CLOCK_REALTIME, &tstart) < 0)
tools/tools/netrate/juggle/juggle.c
262
if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0)
tools/tools/netrate/juggle/juggle.c
340
if (clock_gettime(CLOCK_REALTIME, &tstart) < 0)
tools/tools/netrate/juggle/juggle.c
355
if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0)
tools/tools/netrate/juggle/juggle.c
413
if (clock_gettime(CLOCK_REALTIME, &tstart) < 0)
tools/tools/netrate/juggle/juggle.c
436
if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0)
tools/tools/netrate/netblast/netblast.c
120
if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) {
tools/tools/netrate/netblast/netblast.c
78
if (clock_getres(CLOCK_REALTIME, &tmptime) == -1) {
tools/tools/netrate/netblast/netblast.c
83
if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) {
tools/tools/netrate/netreceive/netreceive.c
163
clock_gettime(CLOCK_REALTIME, &then);
tools/tools/netrate/netreceive/netreceive.c
178
clock_gettime(CLOCK_REALTIME, &now);
tools/tools/netrate/netsend/netsend.c
107
if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) {
tools/tools/netrate/netsend/netsend.c
118
if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) {
tools/tools/netrate/netsend/netsend.c
150
if (clock_getres(CLOCK_REALTIME, &tmptime) == -1) {
tools/tools/netrate/netsend/netsend.c
172
if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) {
tools/tools/netrate/netsend/netsend.c
250
if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) {
tools/tools/netrate/tcpp/tcpp_client.c
291
if (clock_gettime(CLOCK_REALTIME, &ts_start) < 0)
tools/tools/netrate/tcpp/tcpp_client.c
321
if (clock_gettime(CLOCK_REALTIME, &ts_finish) < 0)
tools/tools/syscall_timing/syscall_timing.c
1103
error = clock_getres(CLOCK_REALTIME, &ts_res);
tools/tools/syscall_timing/syscall_timing.c
149
(void)clock_gettime(CLOCK_REALTIME, &ts);
tools/tools/syscall_timing/syscall_timing.c
79
error = clock_gettime(CLOCK_REALTIME, &ts_start);
tools/tools/syscall_timing/syscall_timing.c
88
error = clock_gettime(CLOCK_REALTIME, &ts_end);
usr.bin/mail/util.c
321
(void)clock_gettime(CLOCK_REALTIME, &ts[0]);
usr.bin/truss/main.c
197
clock_gettime(CLOCK_REALTIME, &trussinfo->start_time);
usr.bin/truss/setup.c
509
clock_gettime(CLOCK_REALTIME, &t->before);
usr.bin/truss/setup.c
528
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
547
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
664
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
675
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
687
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
704
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
771
clock_gettime(CLOCK_REALTIME, &t->after);
usr.sbin/cron/cron/cron.c
401
clock_gettime(CLOCK_REALTIME, &ctime);
usr.sbin/jail/command.c
238
clock_gettime(CLOCK_REALTIME, &ts);
usr.sbin/jail/command.c
682
clock_gettime(CLOCK_REALTIME, &j->timeout);
usr.sbin/jail/command.c
960
clock_gettime(CLOCK_REALTIME, &j->timeout);
usr.sbin/lpr/common_source/common.c
470
if (clock_gettime(CLOCK_REALTIME, tsp)) {
usr.sbin/makefs/makefs.c
127
#ifdef CLOCK_REALTIME
usr.sbin/makefs/makefs.c
128
ch = clock_gettime(CLOCK_REALTIME, &start_time);
usr.sbin/moused/moused/moused.c
1058
clock_gettime(CLOCK_REALTIME, &ts);