Searched refs:epoch (Results 1 – 4 of 4) sorted by relevance
| /xnu-10063.141.1/osfmk/kern/ |
| H A D | epoch_sync.c | 316 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 D | exclaves.c | 1765 wait->queueId, wait->epoch); in handle_response_wait() 1776 const uint64_t epoch = wait->epoch; in handle_response_wait() local 1803 MACH_EXCLAVES_SCHEDULER_WAIT) | DBG_FUNC_START, id, epoch, owner, in handle_response_wait() 1805 const wait_result_t wr = esync_wait(&esync_queue_ht, id, epoch, in handle_response_wait() 1833 wake->queueId, wake->epoch, wake->all); in handle_response_wake() 1837 const uint64_t epoch = wake->epoch; in handle_response_wake() local 1842 MACH_EXCLAVES_SCHEDULER_WAKE) | DBG_FUNC_START, id, epoch, 0, mode); in handle_response_wake() 1844 kern_return_t kr = esync_wake(&esync_queue_ht, id, epoch, in handle_response_wake() 1864 wake->queueId, wake->epoch, in handle_response_wake_with_owner() 1871 const uint64_t epoch = wake->epoch; in handle_response_wake_with_owner() local [all …]
|
| H A D | epoch_sync.h | 142 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.141.1/bsd/kern/ |
| H A D | kern_mib.c | 1009 SYSCTL_PROC(_hw, HW_EPOCH, epoch, CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MASKED | CTLFLAG_LOCKED, 0, HW…
|