Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dsubr_epoch.c568 struct thread *td, *owner, *curwaittd; in epoch_block_handler_preempt() local
644 curwaittd = tdwait->et_td; in epoch_block_handler_preempt()
645 if (!TD_IS_INHIBITED(curwaittd) && curwaittd->td_priority > td->td_priority) { in epoch_block_handler_preempt()
648 thread_lock(curwaittd); in epoch_block_handler_preempt()
649 sched_prio(curwaittd, td->td_priority); in epoch_block_handler_preempt()
650 thread_unlock(curwaittd); in epoch_block_handler_preempt()
654 if (TD_IS_INHIBITED(curwaittd) && TD_ON_LOCK(curwaittd) && in epoch_block_handler_preempt()
655 ((ts = curwaittd->td_blocked) != NULL)) { in epoch_block_handler_preempt()
667 if (ts == curwaittd->td_blocked) { in epoch_block_handler_preempt()
668 MPASS(TD_IS_INHIBITED(curwaittd) && in epoch_block_handler_preempt()
[all …]