Lines Matching full:recovery
550 mtx_assert(&qpair->recovery, MA_OWNED);
696 * Interlock with reset / recovery code. This is an usually uncontended
698 * and to prevent races with the recovery process called from a timeout
701 mtx_lock(&qpair->recovery);
708 mtx_unlock(&qpair->recovery);
738 mtx_init(&qpair->recovery, "nvme qpair recovery", NULL, MTX_DEF);
740 callout_init_mtx(&qpair->timer, &qpair->recovery, 0);
904 mtx_lock(&qpair->recovery);
906 mtx_unlock(&qpair->recovery);
946 if (mtx_initialized(&qpair->recovery))
947 mtx_destroy(&qpair->recovery);
1054 mtx_assert(&qpair->recovery, MA_OWNED);
1119 * See if there's any recovery needed. First, do a fast check to
1136 * we're done. Otherwise, we try recovery.
1343 * the recovery / timeout code. Since we hold the qpair lock, we know
1420 if (mtx_initialized(&qpair->recovery))
1421 mtx_assert(&qpair->recovery, MA_OWNED);
1476 mtx_lock(&qpair->recovery);
1480 mtx_unlock(&qpair->recovery);
1507 mtx_lock(&qpair->recovery);
1527 mtx_unlock(&qpair->recovery);
1535 if (mtx_initialized(&qpair->recovery))
1536 mtx_assert(&qpair->recovery, MA_OWNED);
1549 mtx_lock(&qpair->recovery);
1557 mtx_unlock(&qpair->recovery);
1563 mtx_lock(&qpair->recovery);
1569 mtx_unlock(&qpair->recovery);