| /f-stack/freebsd/kern/ |
| H A D | subr_epoch.c | 81 struct epoch { struct 337 epoch_t epoch; in epoch_alloc() local 357 epoch = NULL; in epoch_alloc() 366 epoch_ctor(epoch); in epoch_alloc() 380 return (epoch); in epoch_alloc() 420 memset(epoch, 0, sizeof(*epoch)); in epoch_free() 451 INIT_CHECK(epoch); in _epoch_enter_preempt() 786 epoch_t epoch; in epoch_call_task() local 923 struct epoch *epoch = in epoch_drain_cb() local 928 wakeup(epoch); in epoch_drain_cb() [all …]
|
| /f-stack/freebsd/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 …]
|
| /f-stack/tools/compat/include/sys/ |
| H A D | epoch.h | 45 struct epoch; 46 typedef struct epoch *epoch_t; 59 struct epoch *et_epoch; 68 void epoch_free(epoch_t epoch); 69 void epoch_wait(epoch_t epoch); 73 int in_epoch(epoch_t epoch); 88 #define epoch_enter_preempt(epoch, et) _epoch_enter_preempt(epoch, et, __FILE__, __LINE__) argument 89 #define epoch_exit_preempt(epoch, et) _epoch_exit_preempt(epoch, et, __FILE__, __LINE__) argument 91 #define epoch_enter_preempt(epoch, et) _epoch_enter_preempt(epoch, et) argument 92 #define epoch_exit_preempt(epoch, et) _epoch_exit_preempt(epoch, et) argument [all …]
|
| /f-stack/freebsd/sys/ |
| H A D | epoch.h | 45 struct epoch; 46 typedef struct epoch *epoch_t; 59 struct epoch *et_epoch; 68 void epoch_free(epoch_t epoch); 69 void epoch_wait(epoch_t epoch); 73 int in_epoch(epoch_t epoch); 88 #define epoch_enter_preempt(epoch, et) _epoch_enter_preempt(epoch, et, __FILE__, __LINE__) argument 89 #define epoch_exit_preempt(epoch, et) _epoch_exit_preempt(epoch, et, __FILE__, __LINE__) argument 91 #define epoch_enter_preempt(epoch, et) _epoch_enter_preempt(epoch, et) argument 92 #define epoch_exit_preempt(epoch, et) _epoch_exit_preempt(epoch, et) argument [all …]
|
| /f-stack/freebsd/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 …]
|
| /f-stack/lib/ |
| H A D | ff_subr_epoch.c | 44 struct epoch { struct 47 static struct epoch epoch_array[1]; 50 _epoch_enter_preempt(epoch_t epoch, epoch_tracker_t et EPOCH_FILE_LINE) in _epoch_enter_preempt() argument 56 _epoch_exit_preempt(epoch_t epoch, epoch_tracker_t et EPOCH_FILE_LINE) in _epoch_exit_preempt() argument 62 epoch_wait_preempt(epoch_t epoch) in epoch_wait_preempt() argument 68 epoch_call(epoch_t epoch, epoch_callback_t callback, epoch_context_t ctx) in epoch_call() argument 80 epoch_drain_callbacks(epoch_t epoch) in epoch_drain_callbacks() argument
|
| /f-stack/freebsd/contrib/openzfs/scripts/ |
| H A D | kmodtool | 79 Requires: ${kmodname}-kmod-common >= %{?epoch:%{epoch}:}%{version} 80 Provides: ${kmodname}-kmod = %{?epoch:%{epoch}:}%{version}-%{release} 110 Provides: ${kmodname}-kmod = %{?epoch:%{epoch}:}%{version}-%{release} 111 Provides: kmod-${kmodname}-xen = %{?epoch:%{epoch}:}%{version}-%{release} 112 Provides: kmod-${kmodname}-smp = %{?epoch:%{epoch}:}%{version}-%{release} 113 Provides: kmod-${kmodname}-PAE = %{?epoch:%{epoch}:}%{version}-%{release} 114 Requires: akmod-${kmodname} = %{?epoch:%{epoch}:}%{version}-%{release} 160 Provides: ${kmodname}-kmod = %{?epoch:%{epoch}:}%{version}-%{release} 161 Requires: ${kmodname}-kmod-common >= %{?epoch:%{epoch}:}%{version} 230 Provides: ${kmodname}-devel-kmod = %{?epoch:%{epoch}:}%{version}-%{release} [all …]
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | stats.c | 30 uint64_t epoch; in TEST_BEGIN() local 39 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)), in TEST_BEGIN() 70 uint64_t epoch; in TEST_BEGIN() local 90 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)), in TEST_BEGIN() 146 uint64_t epoch, nmalloc, ndalloc, nrequests; in TEST_BEGIN() local 157 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)), in TEST_BEGIN() 191 uint64_t epoch, nmalloc, ndalloc; in TEST_BEGIN() local 197 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)), in TEST_BEGIN() 254 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)), in TEST_BEGIN() 319 uint64_t epoch, nmalloc, ndalloc; in TEST_BEGIN() local [all …]
|
| H A D | retained.c | 10 static atomic_u_t epoch; variable 38 uint64_t epoch = 1; in do_refresh() local 39 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, in do_refresh() 40 sizeof(epoch)), 0, "Unexpected mallctl() failure"); in do_refresh() 75 while ((cur_epoch = atomic_load_u(&epoch, ATOMIC_ACQUIRE)) != in thd_start() 107 atomic_store_u(&epoch, 0, ATOMIC_RELAXED); in TEST_BEGIN() 117 atomic_store_u(&epoch, e, ATOMIC_RELEASE); in TEST_BEGIN()
|
| H A D | mallctl.c | 6 uint64_t epoch; in TEST_BEGIN() local 16 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, in TEST_BEGIN() 17 sizeof(epoch)-1), EINVAL, in TEST_BEGIN() 20 sizeof(epoch)+1), EINVAL, in TEST_BEGIN() 23 sz = sizeof(epoch)-1; in TEST_BEGIN() 26 sz = sizeof(epoch)+1; in TEST_BEGIN() 43 uint64_t epoch; in TEST_BEGIN() local 61 sizeof(epoch)-1), EINVAL, in TEST_BEGIN() 64 sizeof(epoch)+1), EINVAL, in TEST_BEGIN() 67 sz = sizeof(epoch)-1; in TEST_BEGIN() [all …]
|
| H A D | arena_reset.c | 202 uint64_t epoch = 1; in arena_i_initialized() local 203 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, in arena_i_initialized() 204 sizeof(epoch)), 0, "Unexpected mallctl() failure"); in arena_i_initialized()
|
| H A D | decay.c | 77 uint64_t epoch = 1; in do_epoch() local 78 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)), in do_epoch()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | zmalloc.c | 308 uint64_t epoch = 1; in zmalloc_get_allocator_info() local 312 sz = sizeof(epoch); in zmalloc_get_allocator_info() 313 je_mallctl("epoch", &epoch, &sz, &epoch, sz); in zmalloc_get_allocator_info()
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_trace_utils.c | 271 struct timespec epoch = { 0, 0 }; in trace_epoch_time_save() local 275 if (clock_gettime(CLOCK_REALTIME, &epoch) < 0) { in trace_epoch_time_save() 282 trace->epoch_sec = (uint64_t) epoch.tv_sec; in trace_epoch_time_save() 283 trace->epoch_nsec = (uint64_t) epoch.tv_nsec; in trace_epoch_time_save()
|
| /f-stack/freebsd/contrib/zstd/lib/dictBuilder/ |
| H A D | fastcover.c | 405 size_t epoch; in FASTCOVER_buildDictionary() local 411 for (epoch = 0; tail > 0; epoch = (epoch + 1) % epochs.num) { in FASTCOVER_buildDictionary() 412 const U32 epochBegin = (U32)(epoch * epochs.size); in FASTCOVER_buildDictionary()
|
| H A D | cover.c | 686 size_t epoch; in COVER_buildDictionary() local 692 for (epoch = 0; tail > 0; epoch = (epoch + 1) % epochs.num) { in COVER_buildDictionary() 693 const U32 epochBegin = (U32)(epoch * epochs.size); in COVER_buildDictionary()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/ |
| H A D | arena_structs_b.h | 40 nstime_t epoch; member
|
| H A D | ctl.h | 80 uint64_t epoch; member
|
| /f-stack/dpdk/drivers/net/qede/base/ |
| H A D | ecore_mcp.h | 332 u32 epoch); 348 u32 epoch; member
|
| H A D | ecore_dev_api.h | 263 u32 epoch; member
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/src/ |
| H A D | arena.c | 434 nstime_copy(&decay->deadline, &decay->epoch); in arena_decay_deadline_init() 528 nstime_subtract(&delta, &decay->epoch); in arena_decay_epoch_advance_helper() 536 nstime_add(&decay->epoch, &delta); in arena_decay_epoch_advance_helper() 571 nstime_init(&decay->epoch, 0); in arena_decay_reinit() 572 nstime_update(&decay->epoch); in arena_decay_reinit() 632 if (unlikely(!nstime_monotonic() && nstime_compare(&decay->epoch, &time) in arena_maybe_decay() 643 nstime_copy(&decay->epoch, &time); in arena_maybe_decay() 647 assert(nstime_compare(&decay->epoch, &time) <= 0); in arena_maybe_decay()
|
| H A D | stats.c | 1228 uint64_t epoch; in stats_print() local 1241 epoch = 1; in stats_print() local 1243 err = je_mallctl("epoch", (void *)&epoch, &u64sz, (void *)&epoch, in stats_print()
|
| H A D | background_thread.c | 676 if (nstime_compare(&diff, &decay->epoch) <= 0) { 679 nstime_subtract(&diff, &decay->epoch);
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool_influxdb/ |
| H A D | README.md | 108 | start_ts | epoch timestamp | start timestamp for scan | 109 | pause_ts | epoch timestamp | timestamp for a scan pause request | 110 | end_ts | epoch timestamp | completion timestamp for scan |
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_log_buf.h | 82 uint32_t epoch; member
|