Home
last modified time | relevance | path

Searched refs:epoch (Results 1 – 4 of 4) sorted by relevance

/xnu-10063.101.15/osfmk/kern/
H A Dexclaves.c1468 wait->queueId, wait->epoch); in handle_response_wait()
1479 const uint64_t epoch = wait->epoch; in handle_response_wait() local
1506 MACH_EXCLAVES_SCHEDULER_WAIT) | DBG_FUNC_START, id, epoch, owner, in handle_response_wait()
1508 const wait_result_t wr = esync_wait(&esync_queue_ht, id, epoch, in handle_response_wait()
1536 wake->queueId, wake->epoch, wake->all); in handle_response_wake()
1540 const uint64_t epoch = wake->epoch; in handle_response_wake() local
1545 MACH_EXCLAVES_SCHEDULER_WAKE) | DBG_FUNC_START, id, epoch, 0, mode); in handle_response_wake()
1547 kern_return_t kr = esync_wake(&esync_queue_ht, id, epoch, in handle_response_wake()
1567 wake->queueId, wake->epoch, in handle_response_wake_with_owner()
1574 const uint64_t epoch = wake->epoch; in handle_response_wake_with_owner() local
[all …]
H A Depoch_sync.c316 esync_update_epoch(const uint64_t epoch, os_atomic(uint64_t) *counter) in esync_update_epoch() argument
321 if (old > epoch) { in esync_update_epoch()
324 new = epoch; in esync_update_epoch()
336 esync_wait(ht_t *ht, const uint64_t id, const uint64_t epoch, in esync_wait() argument
348 const bool fresh_epoch = esync_update_epoch(epoch, counter); in esync_wait()
396 esync_wake(ht_t *ht, const uint64_t id, const uint64_t epoch, in esync_wake() argument
416 (void) esync_update_epoch(epoch, counter); in esync_wake()
542 uint64_t epoch = os_atomic_load(&client_counter, acquire); in test_lock() local
548 const wait_result_t wr = esync_wait(&esync_test_ht, (uintptr_t)lock, epoch, in test_lock()
579 uint64_t epoch = os_atomic_inc(&client_counter, release); in test_unlock() local
[all …]
H A Depoch_sync.h142 extern wait_result_t esync_wait(struct ht *ns, uint64_t id, uint64_t epoch,
196 extern kern_return_t esync_wake(struct ht *ns, uint64_t id, uint64_t epoch,
/xnu-10063.101.15/bsd/kern/
H A Dkern_mib.c1009 SYSCTL_PROC(_hw, HW_EPOCH, epoch, CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MASKED | CTLFLAG_LOCKED, 0, HW…