Lines Matching full:cpr
225 txg_thread_enter(tx_state_t *tx, callb_cpr_t *cpr) in txg_thread_enter() argument
227 CALLB_CPR_INIT(cpr, &tx->tx_sync_lock, callb_generic_cpr, FTAG); in txg_thread_enter()
232 txg_thread_exit(tx_state_t *tx, callb_cpr_t *cpr, kthread_t **tpp) in txg_thread_exit() argument
238 CALLB_CPR_EXIT(cpr); /* drops &tx->tx_sync_lock */ in txg_thread_exit()
243 txg_thread_wait(tx_state_t *tx, callb_cpr_t *cpr, kcondvar_t *cv, clock_t time) in txg_thread_wait() argument
245 CALLB_CPR_SAFE_BEGIN(cpr); in txg_thread_wait()
254 CALLB_CPR_SAFE_END(cpr, &tx->tx_sync_lock); in txg_thread_wait()
525 callb_cpr_t cpr; in txg_sync_thread() local
529 txg_thread_enter(tx, &cpr); in txg_sync_thread()
550 txg_thread_wait(tx, &cpr, &tx->tx_sync_more_cv, timer); in txg_sync_thread()
570 txg_thread_wait(tx, &cpr, in txg_sync_thread()
577 txg_thread_wait(tx, &cpr, &tx->tx_quiesce_done_cv, 0); in txg_sync_thread()
581 txg_thread_exit(tx, &cpr, &tx->tx_sync_thread); in txg_sync_thread()
624 callb_cpr_t cpr; in txg_quiesce_thread() local
626 txg_thread_enter(tx, &cpr); in txg_quiesce_thread()
641 txg_thread_wait(tx, &cpr, &tx->tx_quiesce_more_cv, 0); in txg_quiesce_thread()
644 txg_thread_exit(tx, &cpr, &tx->tx_quiesce_thread); in txg_quiesce_thread()