Home
last modified time | relevance | path

Searched refs:timespeccmp (Results 1 – 25 of 40) sorted by relevance

12

/freebsd/tools/regression/sockets/unix_cmsg/
H A Duc_check_time.c67 if (!timespeccmp(&ct, &max_diff_ts, <)) in uc_check_timespec_real()
81 if (!timespeccmp(&ct, &max_diff_ts, <)) in uc_check_timespec_mono()
/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dt_condwait.c103 ATF_REQUIRE(timespeccmp(&to, &twmin, >=)); in run()
104 ATF_REQUIRE(timespeccmp(&to, &twmax, <=)); in run()
/freebsd/contrib/nvi/common/
H A Dutil.h65 #undef timespeccmp
70 #define timespeccmp(tvp, uvp, cmp) \ macro
H A Drecover.c705 timespeccmp(&rec_mtim, &sb.st_mtimespec, <)) {
707 timespeccmp(&rec_mtim, &sb.st_mtim, <)) {
H A Dexf.c814 timespeccmp(&sb.st_mtimespec, &ep->mtim, !=))) {
816 timespeccmp(&sb.st_mtim, &ep->mtim, !=))) {
/freebsd/sbin/dhclient/
H A Ddispatch.c181 if (timespeccmp(&timeouts->when, &time_now, <=)) { in dispatch()
197 if (timespeccmp(&howlong, &timespec_intmax_ms, >)) in dispatch()
412 if (!timeouts || timespeccmp(&timeouts->when, &q->when, >)) { in add_timeout_timespec()
420 if (timespeccmp(&t->next->when, &q->when, >)) { in add_timeout_timespec()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_nanosleep.c89 if (timespeccmp(&ts2, &ts1, <=) != 0) { in ATF_TC_BODY()
225 ATF_REQUIRE_MSG(timespeccmp(&ts, &tso, <=), in ATF_TC_BODY()
/freebsd/tests/sys/fs/fusefs/
H A Dread.cc381 EXPECT_TRUE(timespeccmp(&sb1.st_atim, &sb2.st_atim, <)); in TEST_F()
382 EXPECT_TRUE(timespeccmp(&sb1.st_ctim, &sb2.st_ctim, ==)); in TEST_F()
383 EXPECT_TRUE(timespeccmp(&sb1.st_mtim, &sb2.st_mtim, ==)); in TEST_F()
417 EXPECT_TRUE(timespeccmp(&sb1.st_atim, &sb2.st_atim, <)); in TEST_F()
418 EXPECT_TRUE(timespeccmp(&sb1.st_ctim, &sb2.st_ctim, ==)); in TEST_F()
419 EXPECT_TRUE(timespeccmp(&sb1.st_mtim, &sb2.st_mtim, ==)); in TEST_F()
925 EXPECT_TRUE(timespeccmp(&sb1.st_atim, &sb2.st_atim, ==)); in TEST_F()
926 EXPECT_TRUE(timespeccmp(&sb1.st_ctim, &sb2.st_ctim, ==)); in TEST_F()
927 EXPECT_TRUE(timespeccmp(&sb1.st_mtim, &sb2.st_mtim, ==)); in TEST_F()
963 EXPECT_TRUE(timespeccmp(&sb1.st_atim, &sb2.st_atim, ==)); in TEST_F()
[all …]
/freebsd/crypto/openssh/
H A Ddefines.h530 #ifndef timespeccmp
531 #define timespeccmp(tsp, usp, cmp) \ macro
541 #ifndef timespeccmp
542 #define timespeccmp(tsp, usp, cmp) \ macro
H A Dssh-keyscan.c577 if (c && timespeccmp(&c->c_ts, &now, >)) in conloop()
596 while (c && timespeccmp(&c->c_ts, &now, <)) { in conloop()
/freebsd/tools/regression/sockets/udp_pingpong/
H A Dudp_pingpong.c579 if (!timespeccmp(&rtt.e2e, &rtt.a2b_b2a, >)) in test_run()
581 if (!timespeccmp(&rtt.e2e, &max_ts, <)) in test_run()
583 if (!timespeccmp(&rtt.a2b, &zero_ts, >)) in test_run()
585 if (!timespeccmp(&rtt.b2a, &zero_ts, >)) in test_run()
/freebsd/contrib/libfido2/src/
H A Dtime.c57 if (timespeccmp(&ts_end, ts_start, <)) { in fido_time_delta()
/freebsd/contrib/libfido2/openbsd-compat/
H A Dtime.h55 #define timespeccmp(tsp, usp, cmp) \ macro
/freebsd/sys/kern/
H A Dsys_timerfd.c146 timespeccmp(&boottime, &tfd->tfd_boottim, ==)) { in timerfd_jumped()
154 else if (timespeccmp(&boottime, &tfd->tfd_boottim, <)) in timerfd_jumped()
404 if (timespeccmp(&uptime, &tfd->tfd_time.it_value, >)) { in timerfd_expire()
/freebsd/usr.sbin/bluetooth/rtlbtfw/
H A Drtlbt_hw.c105 } while (timespeccmp(&to, &now, >)); in rtlbt_hci_command()
/freebsd/sys/netsmb/
H A Dsmb_iod.c556 if (timespeccmp(&ts, &rqp->sr_timesent, >)) { in smb_iod_sendall()
625 if (timespeccmp(&tsnow, &iod->iod_lastrqsent, >)) { in smb_iod_main()
/freebsd/contrib/nvi/ex/
H A Dex_cscope.c823 *isolderp = timespeccmp( in csc_file()
826 *isolderp = timespeccmp( in csc_file()
/freebsd/contrib/netbsd-tests/fs/vfs/
H A Dt_vnops.c117 if (timespeccmp(&sb2.st_atimespec, &sb1.st_atimespec, >) && in lookup_complex()
118 timespeccmp(&sb2.st_atimespec, &atplus1, <)) in lookup_complex()
/freebsd/sys/x86/iommu/
H A Dintel_dmar.h405 if (!forever && timespeccmp(&last, &curr, <)) { \
/freebsd/tests/sys/kern/
H A Dsigwait.c141 ATF_REQUIRE_MSG(timespeccmp(&now, &ts, >=) == true, in test_sigtimedwait_timeout_eagain()
/freebsd/sys/fs/fuse/
H A Dfuse_vfsops.c583 if (timespeccmp(&now, &fvdat->last_local_modify, >)) { in fuse_vfsop_vget()
/freebsd/usr.sbin/bluetooth/iwmbtfw/
H A Diwmbt_hw.c154 } while (timespeccmp(&to, &now, >)); in iwmbt_hci_command()
/freebsd/sys/sys/
H A Dtime.h395 #define timespeccmp(tvp, uvp, cmp) \ macro
/freebsd/sys/fs/nfsclient/
H A Dnfs_clvnops.c1282 timespeccmp(&vattr.va_ctime, &nctime, ==))) { in nfs_lookup()
1306 timespeccmp(&vattr.va_mtime, &nctime, ==)) { in nfs_lookup()
1384 if (timespeccmp(&np->n_vattr.na_mtime, in nfs_lookup()
1417 timespeccmp(&np->n_localmodtime, &ts, >=)) { in nfs_lookup()
1488 timespeccmp(&np->n_localmodtime, &ts, >=)) { in nfs_lookup()
2763 timespeccmp(&np->n_localmodtime, &ts, >=)) { in nfs_lookitup()
/freebsd/share/man/man3/
H A DMakefile325 timeradd.3 timespeccmp.3

12