Searched refs:epoch (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-11-stable/sys/contrib/ck/src/
H A Dck_epoch.c44 * acquired some snapshot (e) of the global epoch value (e_g) and set an active
66 * causes epoch counter tick) actually deletes the same items that reader
68 * This is possible if the writer thread re-observes the epoch after the
89 * Now, if the epoch counter is ticked to e_g+1, then no new hazardous
91 * this is that at e_g+1, all epoch read-side critical sections started at
92 * e_g-1 must have been completed. If any epoch read-side critical sections at
121 * Blocking semantics for epoch reclamation have additional restrictions.
166 * epoch. If so, then make sure to update our shared snapshot
174 ((int)(current->epoch - other->epoch) <
191 unsigned int epoch, i; local
321 ck_epoch_scan(struct ck_epoch *global, struct ck_epoch_record *cr, unsigned int epoch, bool *af) argument
362 unsigned int epoch = e & (CK_EPOCH_LENGTH - 1); local
402 unsigned int epoch; local
429 unsigned int delta, epoch, goal, i; local
569 unsigned int epoch; local
[all...]
/freebsd-11-stable/sys/contrib/ck/include/
H A Dck_epoch.h48 * epoch sections.
81 unsigned int epoch; member in struct:ck_epoch_ref
89 unsigned int epoch; member in struct:ck_epoch_record
103 unsigned int epoch; member in struct:ck_epoch
123 * Marks the beginning of an epoch-protected section.
128 struct ck_epoch *epoch = record->global; local
131 * Only observe new epoch if thread is not recursing into a read
139 * is committed into the caller's epoch and active fields.
152 * active flag due to monotonic nature of the global epoch.
155 * of global epoch
200 struct ck_epoch *epoch = record->global; local
218 struct ck_epoch *epoch = record->global; local
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutexset.cpp24 void MutexSet::Add(u64 id, bool write, u64 epoch) { argument
29 descs_[i].epoch = epoch;
38 if (descs_[i].epoch < minepoch) {
39 minepoch = descs_[i].epoch;
49 descs_[size_].epoch = epoch;
H A Dtsan_mutexset.h27 u64 epoch; member in struct:__tsan::MutexSet::Desc
34 void Add(u64 id, bool write, u64 epoch);
59 void MutexSet::Add(u64 id, bool write, u64 epoch) {} argument
H A Dtsan_clock.cpp146 if (clk_[tid] < dirty.epoch) {
147 clk_[tid] = dirty.epoch;
160 u64 epoch = src_elem.epoch; local
161 if (*dst_pos < epoch) {
162 *dst_pos = epoch;
199 if (dst->elem(tid_).epoch > last_acquire_) {
218 ce.epoch = max(ce.epoch, clk_[i]);
256 dst->dirty_[0].epoch
[all...]
H A Dtsan_rtl_mutex.cpp118 RestoreStack(last.tid(), last.epoch(), &trace, 0);
191 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch());
286 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch());
417 u64 epoch = tctx->epoch1; local
419 epoch = tctx->thr->fast_state.epoch();
420 thr->clock.set(&thr->proc()->clock_cache, tctx->tid, epoch);
438 // Can't increment epoch w/o writing to the trace as well.
450 // Can't increment epoch w/o writing to the trace as well.
460 u64 epoch local
[all...]
H A Dtsan_rtl_report.cpp379 void RestoreStack(int tid, const u64 epoch, VarSizeStackTrace *stk, argument
381 // This function restores stack trace and mutex set for the thread/epoch.
383 // trace part, and then replaying the trace till the given epoch.
386 const int partidx = (epoch / kTracePartSize) % TraceParts();
388 if (epoch < hdr->epoch0 || epoch >= hdr->epoch0 + kTracePartSize)
390 CHECK_EQ(RoundDown(epoch, kTracePartSize), hdr->epoch0);
391 const u64 epoch0 = RoundDown(epoch, TraceSize());
392 const u64 eend = epoch % TraceSize();
394 DPrintf("#%d: RestoreStack epoch
[all...]
H A Dtsan_rtl.h97 // epoch : kClkBits
100 FastState(u64 tid, u64 epoch) { argument
102 x_ |= epoch;
104 DCHECK_EQ(epoch, this->epoch());
126 u64 epoch() const { function in class:__tsan::FastState
132 u64 old_epoch = epoch();
134 DCHECK_EQ(old_epoch + 1, epoch());
162 return epoch() & mask;
182 // epoch
[all...]
H A Dtsan_defs.h44 u64 epoch : kClkBits; member in struct:__tsan::ClockElem
H A Dtsan_rtl.cpp112 ThreadState::ThreadState(Context *ctx, int tid, int unique_id, u64 epoch, argument
116 : fast_state(tid, epoch)
569 unsigned trace = (thr->fast_state.epoch() / kTracePartSize) % TraceParts();
571 hdr->epoch0 = thr->fast_state.epoch();
636 return thr->clock.get(old.TidWithIgnore()) >= old.epoch();
701 StoreShadow(shadow_mem + (cur.epoch() % kShadowCnt), store_word);
737 old.epoch() > sync_epoch &&
779 // epoch[0:31] = sync_epoch[0:31]
780 // epoch[32:63] = sync_epoch[0:31]
781 // epoch[6
783 const m128 epoch = SHUF(epoch1, epoch1, 0, 0, 0, 0); local
[all...]
H A Dtsan_clock.h68 u64 epoch : kClkBits;
/freebsd-11-stable/contrib/ntp/scripts/monitoring/
H A Dtimelocal.pl27 @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-11-stable/crypto/heimdal/kdc/
H A Drx.h62 uint32_t epoch; member in struct:rx_header
/freebsd-11-stable/crypto/openssl/ssl/
H A Ddtls1.h144 unsigned short epoch; member in struct:dtls1_retransmit_state
172 unsigned short epoch; member in struct:record_pqueue_st
188 * The current data and handshake epoch. This is initially
194 /* records being received in the current epoch */
H A Dd1_both.c1203 frag->msg_header.saved_retransmit_state.epoch = s->d1->w_epoch;
1284 saved_state.epoch = s->d1->w_epoch;
1285 saved_state.epoch = s->d1->w_epoch;
1294 s->d1->w_epoch = frag->msg_header.saved_retransmit_state.epoch;
1296 if (frag->msg_header.saved_retransmit_state.epoch ==
1297 saved_state.epoch - 1) {
1312 s->d1->w_epoch = saved_state.epoch;
1314 if (frag->msg_header.saved_retransmit_state.epoch ==
1315 saved_state.epoch - 1) {
H A Dd1_pkt.c325 * retrieve a buffered record that belongs to the new epoch, i.e., not
333 * retrieve a buffered record that belongs to the current epoch, ie,
351 /* Check if epoch is current. */
352 if (s->d1->unprocessed_rcds.epoch != s->d1->r_epoch)
361 * be a record from the new epoch in it - so don't overwrite it
376 * current record is from a different epoch. But that cannot
377 * be the case because we already checked the epoch above
411 * sync epoch numbers once all the unprocessed records have been
414 s->d1->processed_rcds.epoch = s->d1->r_epoch;
415 s->d1->unprocessed_rcds.epoch
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dtime.c50 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 }; local
92 SystemTimeToFileTime(&epoch, &temp);
229 SYSTEMTIME epoch = { 1970, 1, 4, 1, 0, 0, 0, 0 }; local
234 SystemTimeToFileTime(&epoch, &temp);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DCF.cpp32 time_t epoch = GetOSXEpoch(); local
33 epoch = epoch + (time_t)valobj.GetValueAsUnsigned(0);
34 tm *tm_date = localtime(&epoch);
H A DCocoa.cpp869 time_t epoch = GetOSXEpoch(); local
870 epoch = epoch + (time_t)date_value;
871 tm *tm_date = gmtime(&epoch);
1102 // POSIX has an epoch on Jan-1-1970, but Cocoa prefers Jan-1-2001
1103 // this call gives the POSIX equivalent of the Cocoa epoch
1105 static time_t epoch = 0; local
1106 if (!epoch) {
1119 epoch = timegm(&tm_epoch);
1122 return epoch;
[all...]
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_wwv.c84 #define WWV_SEC 8000 /* second epoch (sample rate) (Hz) */
85 #define WWV_MIN (WWV_SEC * 60) /* minute epoch */
133 #define MSYNC 0x0001 /* minute epoch sync */
134 #define SSYNC 0x0002 /* second epoch sync */
481 double epoch; /* accumulated epoch differences */ member in struct:sync
486 long mepoch; /* minute synch epoch */
536 int yepoch; /* sync epoch */
537 int repoch; /* buffered sync epoch */
896 * quadrature phase. The routine also determines the minute synch epoch,
972 int epoch; /* comb filter index */ local
1304 long epoch; local
[all...]
/freebsd-11-stable/contrib/ntp/util/
H A Dntp-keygen.c169 time_t epoch; /* Unix epoch (seconds) since 1970 */ variable
366 epoch = tv.tv_sec;
367 fstamp = (u_int)(epoch + JAN_1970);
496 RAND_add(&epoch, sizeof(epoch), 4.0);
662 ctime(&epoch));
687 ctime(&epoch));
728 ctime(&epoch));
753 ctime(&epoch));
1985 X509_time_adj(X509_getm_notBefore(cert), 0L, &epoch); local
1986 X509_time_adj(X509_getm_notAfter(cert), lifetime * SECSPERDAY, &epoch); local
[all...]
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_mcp.h375 * @param epoch
381 u32 epoch);
396 u32 epoch; member in struct:ecore_mdump_retain_data
/freebsd-11-stable/sbin/routed/
H A Dmain.c73 struct timeval epoch; /* when started */ variable in typeref:struct:timeval
129 epoch = clk;
130 epoch.tv_sec -= EPOCH;
389 epoch.tv_sec += dt;
392 timevalsub(&now, &clk, &epoch);
/freebsd-11-stable/contrib/jemalloc/src/
H A Dstats.c376 uint64_t epoch; local
392 epoch = 1;
394 err = je_mallctl("epoch", &epoch, &u64sz, &epoch, sizeof(uint64_t));
398 "mallctl(\"epoch\", ...)\n");
401 malloc_write("<jemalloc>: Failure in mallctl(\"epoch\", "
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Dtime.c113 static isc_time_t epoch = { 0, 0 }; variable
114 isc_time_t *isc_time_epoch = &epoch;

Completed in 406 milliseconds

12