| /freebsd-14.2/sys/kern/ |
| H A D | subr_epoch.c | 81 struct epoch { struct 369 epoch_t epoch; in epoch_alloc() local 389 epoch = NULL; in epoch_alloc() 398 epoch_ctor(epoch); in epoch_alloc() 412 return (epoch); in epoch_alloc() 452 memset(epoch, 0, sizeof(*epoch)); in epoch_free() 473 INIT_CHECK(epoch); in _epoch_enter_preempt() 810 epoch_t epoch; in epoch_call_task() local 947 struct epoch *epoch = in epoch_drain_cb() local 952 wakeup(epoch); in epoch_drain_cb() [all …]
|
| /freebsd-14.2/sys/contrib/ck/src/ |
| H A D | ck_epoch.c | 174 ((int)(current->epoch - other->epoch) < 0)) { in CK_STACK_CONTAINER() 179 ck_pr_store_uint(&record->epoch, other->epoch); in CK_STACK_CONTAINER() 193 epoch = ck_pr_load_uint(&global->epoch); in _ck_epoch_addref() 221 ref->epoch = epoch; in _ck_epoch_addref() 350 if (active != 0 && ck_pr_load_uint(&cr->epoch) != epoch) in ck_epoch_scan() 404 for (epoch = 0; epoch < CK_EPOCH_LENGTH; epoch++) in ck_epoch_reclaim() 443 delta = epoch = ck_pr_load_uint(&global->epoch); in ck_epoch_synchronize_wait() 574 epoch = ck_pr_load_uint(&global->epoch); in ck_epoch_poll_deferred() 597 record->epoch = epoch; in ck_epoch_poll_deferred() 598 for (epoch = 0; epoch < CK_EPOCH_LENGTH; epoch++) in ck_epoch_poll_deferred() [all …]
|
| /freebsd-14.2/sys/sys/ |
| H A D | epoch.h | 45 struct epoch; 46 typedef struct epoch *epoch_t; 60 struct epoch *et_epoch; 71 void epoch_free(epoch_t epoch); 72 void epoch_wait(epoch_t epoch); 76 int in_epoch(epoch_t epoch); 92 #define epoch_enter_preempt(epoch, et) _epoch_enter_preempt(epoch, et, __FILE__, __LINE__) argument 93 #define epoch_exit_preempt(epoch, et) _epoch_exit_preempt(epoch, et, __FILE__, __LINE__) argument 95 #define epoch_enter_preempt(epoch, et) _epoch_enter_preempt(epoch, et) argument 96 #define epoch_exit_preempt(epoch, et) _epoch_exit_preempt(epoch, et) argument [all …]
|
| /freebsd-14.2/sys/contrib/ck/include/ |
| H A D | ck_epoch.h | 81 unsigned int epoch; member 89 unsigned int epoch; member 103 unsigned int epoch; member 128 struct ck_epoch *epoch = record->global; in ck_epoch_begin() local 157 g_epoch = ck_pr_load_uint(&epoch->epoch); in ck_epoch_begin() 158 ck_pr_store_uint(&record->epoch, g_epoch); in ck_epoch_begin() 200 struct ck_epoch *epoch = record->global; in ck_epoch_call() local 201 unsigned int e = ck_pr_load_uint(&epoch->epoch); in ck_epoch_call() 218 struct ck_epoch *epoch = record->global; in ck_epoch_call_strict() local 219 unsigned int e = ck_pr_load_uint(&epoch->epoch); in ck_epoch_call_strict() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/scripts/ |
| H A D | kmodtool | 81 Requires: ${kmodname}-kmod-common >= %{?epoch:%{epoch}:}%{version} 82 Provides: ${kmodname}-kmod = %{?epoch:%{epoch}:}%{version}-%{release} 107 Provides: ${kmodname}-kmod = %{?epoch:%{epoch}:}%{version}-%{release} 108 Provides: kmod-${kmodname}-xen = %{?epoch:%{epoch}:}%{version}-%{release} 109 Provides: kmod-${kmodname}-smp = %{?epoch:%{epoch}:}%{version}-%{release} 110 Provides: kmod-${kmodname}-PAE = %{?epoch:%{epoch}:}%{version}-%{release} 111 Requires: akmod-${kmodname} = %{?epoch:%{epoch}:}%{version}-%{release} 153 Provides: ${kmodname}-kmod = %{?epoch:%{epoch}:}%{version}-%{release} 154 Requires: ${kmodname}-kmod-common >= %{?epoch:%{epoch}:}%{version} 230 Provides: ${kmodname}-devel-kmod = %{?epoch:%{epoch}:}%{version}-%{release} [all …]
|
| /freebsd-14.2/contrib/ntp/scripts/monitoring/ |
| H A D | timelocal.pl | 27 @epoch = localtime(0); 28 $tzmin = $epoch[2] * 60 + $epoch[1]; # minutes east of GMT 31 $tzmin -= 24 * 60 if $epoch[5] == 70; # account for the date line 65 $year += $YearFix if $year < $epoch[5];
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_shadow.h | 32 Epoch epoch() const { return static_cast<Epoch>(part_.epoch_); } in epoch() function 34 void SetEpoch(Epoch epoch) { part_.epoch_ = static_cast<u16>(epoch); } in SetEpoch() argument 74 DCHECK_EQ(epoch(), epoch0); in Shadow() 81 Epoch epoch() const { return static_cast<Epoch>(part_.epoch_); } in epoch() function 140 static RawShadow FreedInfo(Sid sid, Epoch epoch) { in FreedInfo() argument 143 s.part_.epoch_ = static_cast<u16>(epoch); in FreedInfo()
|
| H A D | tsan_rtl.cpp | 235 if (UNLIKELY(epoch == 0)) in DoReset() 236 epoch = ctx->global_epoch; in DoReset() 245 DoResetImpl(epoch); in DoReset() 256 uptr epoch; in FindSlotAndLock() local 259 epoch = ctx->global_epoch; in FindSlotAndLock() 278 DoReset(thr, epoch); in FindSlotAndLock() 302 Epoch epoch = EpochInc(slot->epoch()); in SlotAttachAndLock() local 303 CHECK(!EpochOverflow(epoch)); in SlotAttachAndLock() 304 slot->SetEpoch(epoch); in SlotAttachAndLock() 306 thr->fast_state.SetEpoch(epoch); in SlotAttachAndLock() [all …]
|
| H A D | tsan_defs.h | 68 inline Epoch EpochInc(Epoch epoch) { in EpochInc() argument 69 return static_cast<Epoch>(static_cast<u16>(epoch) + 1); in EpochInc() 72 inline bool EpochOverflow(Epoch epoch) { return epoch == kEpochOver; } in EpochOverflow() argument
|
| H A D | tsan_rtl_report.cpp | 356 Epoch epoch, Func f) { in TraceReplay() argument 376 ev_epoch = static_cast<Epoch>(ev->epoch); in TraceReplay() 377 if (ev_sid == sid && ev_epoch > epoch) in TraceReplay() 432 bool RestoreStack(EventType type, Sid sid, Epoch epoch, uptr addr, uptr size, in RestoreStack() argument 439 static_cast<int>(sid), static_cast<int>(epoch), addr, size, in RestoreStack() 450 if (i == slot->journal.Size() - 1 || slot->journal[i + 1].epoch > epoch) { in RestoreStack() 487 trace, last_part, last_pos, sid, epoch, in RestoreStack() 496 bool match = ev_sid == sid && ev_epoch == epoch; in RestoreStack() 705 return last.sid() == old.sid() && last.epoch() == old.epoch(); in SpuriousRace() 771 if (!RestoreStack(EventType::kAccessExt, s[1].sid(), s[1].epoch(), addr1, in ReportRace() [all …]
|
| H A D | tsan_rtl_mutex.cpp | 460 for (auto &slot : ctx->slots) thr->clock.Set(slot.sid, slot.epoch()); in AcquireGlobal() 505 Epoch epoch = EpochInc(thr->fast_state.epoch()); in IncrementEpoch() local 506 if (!EpochOverflow(epoch)) { in IncrementEpoch() 508 thr->clock.Set(sid, epoch); in IncrementEpoch() 509 thr->fast_state.SetEpoch(epoch); in IncrementEpoch() 510 thr->slot->SetEpoch(epoch); in IncrementEpoch() 524 thr->last_sleep_clock.Set(slot.sid, slot.epoch()); in AfterSleep() 570 if (!RestoreStack(EventType::kLock, last_lock.sid(), last_lock.epoch(), addr, in ReportDestroyLocked()
|
| H A D | tsan_rtl_access.cpp | 143 ev.epoch = static_cast<u64>(fast_state.epoch()); in TraceTime() 218 if (LIKELY(thr->clock.Get(old.sid()) >= old.epoch())) in CheckRaces() 365 u16 epoch = static_cast<u16>(thr->clock.Get(static_cast<Sid>(sid))); \ in CheckRaces() 366 thread_epochs = _mm_insert_epi32(thread_epochs, u32(epoch) << 16, idx); \ in CheckRaces() 398 static_cast<u32>(s.sid()), static_cast<u32>(s.epoch()), in DumpShadow() 426 static_cast<int>(thr->fast_state.epoch()), (void*)addr, size, in MemoryAccess() 614 static_cast<u32>(Shadow::FreedInfo(cur.sid(), cur.epoch())), 0, 0); in MemoryRangeFreed() 626 StoreShadow(&shadow_mem[1], Shadow::FreedInfo(cur.sid(), cur.epoch())); in MemoryRangeFreed()
|
| /freebsd-14.2/crypto/openssl/test/helpers/ |
| H A D | ssltestlib.c | 129 int rem, i, content, reclen, msglen, fragoff, fraglen, epoch; in dump_data() local 150 printf("** Record Epoch: %d\n", epoch); in dump_data() 162 if (epoch > 0) { in dump_data() 276 unsigned int epoch; member 360 unsigned int seq, offset, len, epoch; in mempacket_test_read() local 386 epoch = (rec[EPOCH_HI] << 8) | rec[EPOCH_LO]; in mempacket_test_read() 387 if (epoch != ctx->epoch) { in mempacket_test_read() 388 ctx->epoch = epoch; in mempacket_test_read() 433 unsigned int epoch; in mempacket_swap_epoch() local 450 epoch = (rec[EPOCH_HI] << 8) | rec[EPOCH_LO]; in mempacket_swap_epoch() [all …]
|
| /freebsd-14.2/contrib/ntp/libntp/lib/isc/win32/ |
| H A D | time.c | 50 static isc_time_t epoch = { { 0, 0 } }; variable 51 LIBISC_EXTERNAL_DATA isc_time_t *isc_time_epoch = &epoch; 85 SYSTEMTIME epoch = { 1970, 1, 4, 1, 0, 0, 0, 0 }; in isc_time_set() local 92 SystemTimeToFileTime(&epoch, &temp); in isc_time_set() 229 SYSTEMTIME epoch = { 1970, 1, 4, 1, 0, 0, 0, 0 }; in isc_time_seconds() local 234 SystemTimeToFileTime(&epoch, &temp); in isc_time_seconds()
|
| /freebsd-14.2/crypto/openssl/test/recipes/15-test_mp_rsa_data/ |
| H A D | plain_text | 3 it was the epoch of belief, it was the epoch of incredulity,
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
| H A D | CF.cpp | 31 time_t epoch = GetOSXEpoch(); in CFAbsoluteTimeSummaryProvider() local 32 epoch = epoch + (time_t)valobj.GetValueAsSigned(0); in CFAbsoluteTimeSummaryProvider() 33 tm *tm_date = localtime(&epoch); in CFAbsoluteTimeSummaryProvider()
|
| H A D | Cocoa.cpp | 991 time_t epoch = GetOSXEpoch(); in NSDateSummaryProvider() local 992 epoch = epoch + static_cast<time_t>(std::floor(date_value)); in NSDateSummaryProvider() 993 tm *tm_date = gmtime(&epoch); in NSDateSummaryProvider() 1226 static time_t epoch = 0; in GetOSXEpoch() local 1227 if (!epoch) { in GetOSXEpoch() 1240 epoch = timegm(&tm_epoch); in GetOSXEpoch() 1243 return epoch; in GetOSXEpoch()
|
| /freebsd-14.2/contrib/ntp/ntpd/ |
| H A D | refclock_wwv.c | 972 int epoch; /* comb filter index */ in wwv_rf() local 1095 epoch = up->mphase % WWV_SEC; in wwv_rf() 1246 dtemp = (epobuf[epoch] += (mfsync - epobuf[epoch]) / in wwv_rf() 1252 epopos = epoch; in wwv_rf() 1253 j = epoch - 6 * MS; in wwv_rf() 1258 if (epoch == 0) { in wwv_rf() 1304 long epoch; in wwv_qrz() local 1315 if (epoch < 0) in wwv_qrz() 1316 epoch += WWV_MIN; in wwv_qrz() 1319 sp->pos = epoch; in wwv_qrz() [all …]
|
| /freebsd-14.2/contrib/ntp/util/ |
| H A D | ntp-keygen.c | 169 time_t epoch; /* Unix epoch (seconds) since 1970 */ variable 370 epoch = tv.tv_sec; in main() 371 fstamp = (u_int)(epoch + JAN_1970); in main() 500 RAND_add(&epoch, sizeof(epoch), 4.0); in main() 667 ctime(&epoch)); in main() 694 ctime(&epoch)); in main() 739 ctime(&epoch)); in main() 766 ctime(&epoch)); in main() 810 ctime(&epoch)); in main() 829 ctime(&epoch)); in main() [all …]
|
| /freebsd-14.2/crypto/openssl/test/ |
| H A D | dtlstest.c | 197 int epoch = 0; in test_dtls_drop_records() local 272 epoch = 1; in test_dtls_drop_records() 278 epoch = 1; in test_dtls_drop_records() 283 BIO_ctrl(mempackbio, MEMPACKET_CTRL_SET_DROP_EPOCH, epoch, NULL); in test_dtls_drop_records()
|
| /freebsd-14.2/sys/modules/epoch_test/ |
| H A D | Makefile | 2 .PATH: ${SRCTOP}/sys/tests/epoch
|
| /freebsd-14.2/sbin/routed/ |
| H A D | main.c | 60 struct timeval epoch; /* when started */ variable 116 epoch = clk; in main() 117 epoch.tv_sec -= EPOCH; in main() 367 epoch.tv_sec += dt; in main() 370 timevalsub(&now, &clk, &epoch); in main()
|
| /freebsd-14.2/crypto/heimdal/kdc/ |
| H A D | rx.h | 62 uint32_t epoch; member
|
| /freebsd-14.2/crypto/openssl/ssl/record/ |
| H A D | rec_layer_d1.c | 241 if (s->rlayer.d->unprocessed_rcds.epoch != s->rlayer.d->r_epoch) in dtls1_process_buffered_records() 308 s->rlayer.d->processed_rcds.epoch = s->rlayer.d->r_epoch; in dtls1_process_buffered_records() 309 s->rlayer.d->unprocessed_rcds.epoch = s->rlayer.d->r_epoch + 1; in dtls1_process_buffered_records() 1010 if (rr->epoch == s->rlayer.d->r_epoch) in dtls1_get_bitmap() 1017 else if (rr->epoch == (unsigned long)(s->rlayer.d->r_epoch + 1) in dtls1_get_bitmap() 1018 && s->rlayer.d->unprocessed_rcds.epoch != s->rlayer.d->r_epoch) { in dtls1_get_bitmap()
|
| /freebsd-14.2/sys/contrib/zstd/lib/dictBuilder/ |
| H A D | fastcover.c | 413 size_t epoch; in FASTCOVER_buildDictionary() local 419 for (epoch = 0; tail > 0; epoch = (epoch + 1) % epochs.num) { in FASTCOVER_buildDictionary() 420 const U32 epochBegin = (U32)(epoch * epochs.size); in FASTCOVER_buildDictionary()
|