Home
last modified time | relevance | path

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

/xnu-11215.1.10/osfmk/kern/
H A Depoch_sync.c348 esync_update_epoch(const uint64_t epoch, os_atomic(uint64_t) *counter) in esync_update_epoch() argument
353 if (old > epoch) { in esync_update_epoch()
356 new = epoch; in esync_update_epoch()
368 esync_wait(esync_space_t space, const uint64_t id, const uint64_t epoch, in esync_wait() argument
381 const bool fresh_epoch = esync_update_epoch(epoch, counter); in esync_wait()
384 MACH_EPOCH_SYNC_WAIT_STALE), space, id, epoch, NULL); in esync_wait()
396 DBG_FUNC_START, space, id, epoch, in esync_wait()
442 esync_wake(esync_space_t space, const uint64_t id, const uint64_t epoch, in esync_wake() argument
463 (void) esync_update_epoch(epoch, counter); in esync_wake()
470 epoch, mode); in esync_wake()
[all …]
H A Dexclaves.c1654 wait->queueId, wait->epoch); in handle_response_wait()
1670 const uint64_t epoch = wait->epoch; in handle_response_wait() local
1697 MACH_EXCLAVES_SCHEDULER_WAIT) | DBG_FUNC_START, id, epoch, owner, in handle_response_wait()
1699 const wait_result_t wr = esync_wait(ESYNC_SPACE_EXCLAVES_Q, id, epoch, in handle_response_wait()
1727 wake->queueId, wake->epoch, wake->all); in handle_response_wake()
1731 const uint64_t epoch = wake->epoch; in handle_response_wake() local
1736 MACH_EXCLAVES_SCHEDULER_WAKE) | DBG_FUNC_START, id, epoch, 0, mode); in handle_response_wake()
1738 kern_return_t kr = esync_wake(ESYNC_SPACE_EXCLAVES_Q, id, epoch, in handle_response_wake()
1758 wake->queueId, wake->epoch, in handle_response_wake_with_owner()
1765 const uint64_t epoch = wake->epoch; in handle_response_wake_with_owner() local
[all …]
H A Depoch_sync.h142 uint64_t epoch, os_atomic(uint64_t) * counter, ctid_t owner_ctid,
196 uint64_t epoch, os_atomic(uint64_t) * counter, esync_wake_mode_t mode,
/xnu-11215.1.10/bsd/kern/
H A Dkern_mib.c1019 SYSCTL_PROC(_hw, HW_EPOCH, epoch, CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MASKED | CTLFLAG_LOCKED, 0, HW…