Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dsubr_epoch.c545 struct thread *td, *owner, *curwaittd; in epoch_block_handler_preempt() local
621 curwaittd = tdwait->et_td; in epoch_block_handler_preempt()
622 if (!TD_IS_INHIBITED(curwaittd) && curwaittd->td_priority > td->td_priority) { in epoch_block_handler_preempt()
625 thread_lock(curwaittd); in epoch_block_handler_preempt()
626 sched_prio(curwaittd, td->td_priority); in epoch_block_handler_preempt()
627 thread_unlock(curwaittd); in epoch_block_handler_preempt()
631 if (TD_IS_INHIBITED(curwaittd) && TD_ON_LOCK(curwaittd) && in epoch_block_handler_preempt()
644 if (ts == curwaittd->td_blocked) { in epoch_block_handler_preempt()
645 MPASS(TD_IS_INHIBITED(curwaittd) && in epoch_block_handler_preempt()
646 TD_ON_LOCK(curwaittd)); in epoch_block_handler_preempt()
[all …]