HomeSort by: relevance | last modified time | path
    Searched defs:epoch (Results 1 - 25 of 102) sorted by relevancy

1 2 3 4 5

  /src/sys/external/bsd/common/linux/
linux_srcu.c 45 * All new srcu read sections get counted in the active epoch.
47 * epoch has zero readers. When a thread calls synchronize_srcu,
50 * number of readers in the now-draining epoch, and waits for the
58 * epoch.
135 unsigned epoch = gen & 1; /* active epoch */ local
138 cpu->src_count[epoch] += delta;
232 * readers on this CPU in the inactive epoch to the global count
240 unsigned gen, epoch; local
247 epoch = 1 ^ (gen & 1); /* draining epoch *
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_mutexset.h 28 u64 epoch; member in struct:__tsan::MutexSet::Desc
35 void Add(u64 id, bool write, u64 epoch);
60 void MutexSet::Add(u64 id, bool write, u64 epoch) {}
  /src/external/bsd/openldap/dist/servers/lloadd/
tier.c 55 epoch_t epoch = epoch_join(); local
65 epoch_leave( epoch );
75 epoch_t epoch = epoch_join(); local
79 epoch_leave( epoch );
connection.c 78 epoch_t epoch; local
83 epoch = epoch_join();
146 epoch_leave( epoch );
147 epoch = epoch_join();
165 epoch_leave( epoch );
183 epoch_t epoch; local
199 epoch = epoch_join();
201 epoch_leave( epoch );
208 epoch = epoch_join();
295 epoch_leave( epoch );
307 epoch_t epoch; local
    [all...]
epoch.c 1 /* $NetBSD: epoch.c,v 1.3 2025/09/05 21:16:24 christos Exp $ */
3 /* epoch.c - epoch based memory reclamation */
19 /** @file epoch.c
21 * Implementation of epoch based memory reclamation, in principle
27 * Also the problems with epoch based memory reclamation are still
28 * present - a thread actively observing an epoch getting stuck will
34 __RCSID("$NetBSD: epoch.c,v 1.3 2025/09/05 21:16:24 christos Exp $");
39 #include <epoch.h>
43 #define EPOCH_PREV(epoch) ( ( (epoch) + EPOCH_MASK - 1 ) % EPOCH_MASK
61 epoch_t epoch; local
75 epoch_t epoch; local
117 epoch_t epoch; local
249 epoch_t epoch = __atomic_load_n( &current_epoch, __ATOMIC_ACQUIRE ); local
    [all...]
backend.c 41 epoch_t epoch; local
53 epoch = epoch_join();
64 epoch_leave( epoch );
75 epoch_leave( epoch );
107 epoch_t epoch; local
126 epoch = epoch_join();
275 epoch_leave( epoch );
289 epoch_leave( epoch );
489 epoch_t epoch; local
506 epoch = epoch_join()
    [all...]
  /src/sys/crypto/cprng_fast/
cprng_fast.c 58 unsigned epoch;
90 cprng->epoch = entropy_epoch();
111 if (__predict_false(cprng->epoch != entropy_epoch()))
137 unsigned epoch = entropy_epoch();
147 cprng->epoch = epoch;
57 unsigned epoch; member in struct:cprng_fast
135 unsigned epoch = entropy_epoch(); local
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_globals.c 28 static atomic_t epoch; variable
34 int epoch; member in struct:park_work
58 park.epoch = atomic_inc_return(&epoch);
70 if (park.epoch != atomic_read(&epoch)) {
145 atomic_inc(&epoch);
  /src/crypto/external/bsd/heimdal/dist/kdc/
rx.h 64 uint32_t epoch; member in struct:rx_header
  /src/external/bsd/jemalloc/dist/include/jemalloc/internal/
decay.h 42 * not actually advance to a new epoch until sometime after it starts
44 * to completely skip epochs. In all cases, during epoch advancement we
45 * merge all relevant activity into the most recently recorded epoch.
47 nstime_t epoch; member in struct:decay_s
51 * Deadline for current epoch. This is the sum of interval and per
52 * epoch jitter which is a uniform random variable in [0..interval).
59 * The number of pages we cap ourselves at in the current epoch, per
60 * decay policies. Updated on an epoch change. After an epoch change,
65 * Number of unpurged pages at beginning of current epoch. During epoc
    [all...]
  /src/external/bsd/jemalloc/dist/test/include/test/
arena_util.h 46 uint64_t epoch = 1; local
47 expect_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)),
  /src/external/bsd/jemalloc/dist/test/unit/
hpa_background_thread.c 29 uint64_t epoch = 1; local
30 size_t sz = sizeof(epoch);
31 err = je_mallctl("epoch", (void *)&epoch, &sz, (void *)&epoch,
32 sizeof(epoch));
retained.c 11 static atomic_u_t epoch; variable
40 expect_d_eq(mallctl("epoch", NULL, NULL, (void *)&refresh_epoch,
73 /* Busy-wait for next epoch. */
76 while ((cur_epoch = atomic_load_u(&epoch, ATOMIC_ACQUIRE)) !=
80 expect_u_eq(cur_epoch, next_epoch, "Unexpected epoch");
110 atomic_store_u(&epoch, 0, ATOMIC_RELAXED);
123 atomic_store_u(&epoch, e, ATOMIC_RELEASE);
tcache_max.c 62 uint64_t epoch; local
63 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)),
uaf.c 66 uint64_t epoch; local
67 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)),
  /src/external/bsd/jemalloc/include/jemalloc/internal/
decay.h 42 * not actually advance to a new epoch until sometime after it starts
44 * to completely skip epochs. In all cases, during epoch advancement we
45 * merge all relevant activity into the most recently recorded epoch.
47 nstime_t epoch; member in struct:decay_s
51 * Deadline for current epoch. This is the sum of interval and per
52 * epoch jitter which is a uniform random variable in [0..interval).
59 * The number of pages we cap ourselves at in the current epoch, per
60 * decay policies. Updated on an epoch change. After an epoch change,
65 * Number of unpurged pages at beginning of current epoch. During epoc
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/
tsan_clock_test.cc 73 ASSERT_EQ(sync.get_clean(i), ce.epoch);
428 u64 epoch = thr0[tid]->clock[tid] + 1; local
432 thr0[tid]->clock[tid] = epoch;
435 thr1[tid]->set(epoch);
  /src/sys/kern/
subr_cprng.c 251 /* Set the epoch uninitialized so we reseed on first use. */
269 cprng_strong_reseed(struct cprng_strong *cprng, unsigned epoch,
280 * big deal -- worst case, we rewind the entropy epoch here and
295 (*ccp)->cc_epoch = epoch;
302 unsigned epoch; local
323 /* If the entropy epoch has changed, (re)seed. */
324 epoch = entropy_epoch();
325 if (__predict_false(epoch != cc->cc_epoch))
326 cprng_strong_reseed(cprng, epoch, &cc, &s);
331 cprng_strong_reseed(cprng, epoch, &cc, &s)
    [all...]
  /src/crypto/external/apache2/openssl/dist/ssl/record/
rec_layer_d1.c 254 &rr->epoch, rr->seq_num));
492 if (rr->epoch != sc->rlayer.d->r_epoch
679 * epoch
689 uint16_t epoch; local
692 epoch = s->rlayer.d->r_epoch;
694 epoch = s->rlayer.d->w_epoch;
696 return epoch;
  /src/crypto/external/apache2/openssl/dist/util/perl/TLSProxy/
Record.pm 83 my $epoch;
91 ($content_type, $version, $epoch,
110 print " Epoch: $epoch\n";
121 $epoch,
215 $epoch,
227 $epoch,
254 0, #epoch
271 $epoch,
285 epoch => $epoch
488 sub epoch subroutine
    [all...]
  /src/external/bsd/jemalloc.old/dist/test/unit/
retained.c 10 static atomic_u_t epoch; variable
38 uint64_t epoch = 1; local
39 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch,
40 sizeof(epoch)), 0, "Unexpected mallctl() failure");
72 /* Busy-wait for next epoch. */
75 while ((cur_epoch = atomic_load_u(&epoch, ATOMIC_ACQUIRE)) !=
79 assert_u_eq(cur_epoch, next_epoch, "Unexpected epoch");
107 atomic_store_u(&epoch, 0, ATOMIC_RELAXED);
117 atomic_store_u(&epoch, e, ATOMIC_RELEASE)
    [all...]
stats.c 30 uint64_t epoch; local
39 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)),
70 uint64_t epoch; local
90 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)),
146 uint64_t epoch, nmalloc, ndalloc, nrequests; local
157 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch))
191 uint64_t epoch, nmalloc, ndalloc; local
231 uint64_t epoch, nmalloc, ndalloc, nrequests, nfills, nflushes; local
319 uint64_t epoch, nmalloc, ndalloc; local
    [all...]
  /src/external/bsd/ntp/dist/libntp/lib/isc/unix/
time.c 115 static isc_time_t epoch = { 0, 0 }; variable
116 isc_time_t *isc_time_epoch = &epoch;
  /src/external/bsd/ntp/dist/libntp/lib/isc/win32/
time.c 52 static isc_time_t epoch = { { 0, 0 } }; variable
53 LIBISC_EXTERNAL_DATA isc_time_t *isc_time_epoch = &epoch;
87 SYSTEMTIME epoch = { 1970, 1, 4, 1, 0, 0, 0, 0 }; local
94 SystemTimeToFileTime(&epoch, &temp);
231 SYSTEMTIME epoch = { 1970, 1, 4, 1, 0, 0, 0, 0 }; local
236 SystemTimeToFileTime(&epoch, &temp);
  /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
tsan_mutexset.h 29 u64 epoch; member in struct:__tsan::MutexSet::Desc
44 void Add(u64 id, bool write, u64 epoch);
85 void MutexSet::Add(u64 id, bool write, u64 epoch) {}

Completed in 47 milliseconds

1 2 3 4 5