Home
last modified time | relevance | path

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

/xnu-11417.121.6/osfmk/kern/
H A Depoch_sync.c358 esync_update_epoch(const uint64_t epoch, os_atomic(uint64_t) *counter) in esync_update_epoch() argument
363 if (old > epoch) { in esync_update_epoch()
366 new = epoch; in esync_update_epoch()
417 esync_wait(esync_space_t space, const uint64_t id, const uint64_t epoch, in esync_wait() argument
431 const bool fresh_epoch = esync_update_epoch(epoch, counter); in esync_wait()
434 MACH_EPOCH_SYNC_WAIT_STALE), unique_id, epoch, NULL); in esync_wait()
448 DBG_FUNC_START, unique_id, epoch, tid); in esync_wait()
495 esync_wake(esync_space_t space, const uint64_t id, const uint64_t epoch, in esync_wake() argument
517 (void) esync_update_epoch(epoch, counter); in esync_wake()
524 epoch, mode); in esync_wake()
[all …]
H A Dexclaves.c1649 wait->queueId, wait->epoch); in handle_response_wait()
1665 const uint64_t epoch = wait->epoch; in handle_response_wait() local
1692 MACH_EXCLAVES_SCHEDULER_WAIT) | DBG_FUNC_START, id, epoch, owner, in handle_response_wait()
1694 const wait_result_t wr = esync_wait(ESYNC_SPACE_EXCLAVES_Q, id, epoch, in handle_response_wait()
1722 wake->queueId, wake->epoch, wake->all); in handle_response_wake()
1726 const uint64_t epoch = wake->epoch; in handle_response_wake() local
1731 MACH_EXCLAVES_SCHEDULER_WAKE) | DBG_FUNC_START, id, epoch, 0, mode); in handle_response_wake()
1733 kern_return_t kr = esync_wake(ESYNC_SPACE_EXCLAVES_Q, id, epoch, in handle_response_wake()
1753 wake->queueId, wake->epoch, in handle_response_wake_with_owner()
1760 const uint64_t epoch = wake->epoch; in handle_response_wake_with_owner() local
[all …]
H A Depoch_sync.h146 uint64_t epoch, os_atomic(uint64_t) * counter, ctid_t owner_ctid,
200 uint64_t epoch, os_atomic(uint64_t) * counter, esync_wake_mode_t mode,
/xnu-11417.121.6/bsd/kern/
H A Dkern_mib.c1019 SYSCTL_PROC(_hw, HW_EPOCH, epoch, CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MASKED | CTLFLAG_LOCKED, 0, HW…