Lines Matching full:cpr
223 txg_thread_enter(tx_state_t *tx, callb_cpr_t *cpr) in txg_thread_enter() argument
225 CALLB_CPR_INIT(cpr, &tx->tx_sync_lock, callb_generic_cpr, FTAG); in txg_thread_enter()
230 txg_thread_exit(tx_state_t *tx, callb_cpr_t *cpr, kthread_t **tpp) in txg_thread_exit() argument
236 CALLB_CPR_EXIT(cpr); /* drops &tx->tx_sync_lock */ in txg_thread_exit()
241 txg_thread_wait(tx_state_t *tx, callb_cpr_t *cpr, kcondvar_t *cv, clock_t time) in txg_thread_wait() argument
243 CALLB_CPR_SAFE_BEGIN(cpr); in txg_thread_wait()
252 CALLB_CPR_SAFE_END(cpr, &tx->tx_sync_lock); in txg_thread_wait()
523 callb_cpr_t cpr; in txg_sync_thread() local
527 txg_thread_enter(tx, &cpr); in txg_sync_thread()
548 txg_thread_wait(tx, &cpr, &tx->tx_sync_more_cv, timer); in txg_sync_thread()
568 txg_thread_wait(tx, &cpr, in txg_sync_thread()
575 txg_thread_wait(tx, &cpr, &tx->tx_quiesce_done_cv, 0); in txg_sync_thread()
579 txg_thread_exit(tx, &cpr, &tx->tx_sync_thread); in txg_sync_thread()
622 callb_cpr_t cpr; in txg_quiesce_thread() local
624 txg_thread_enter(tx, &cpr); in txg_quiesce_thread()
639 txg_thread_wait(tx, &cpr, &tx->tx_quiesce_more_cv, 0); in txg_quiesce_thread()
642 txg_thread_exit(tx, &cpr, &tx->tx_quiesce_thread); in txg_quiesce_thread()