Searched refs:spa_load_state (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_root.c108 if (spa_load_state(spa) != SPA_LOAD_NONE)
H A Dzfs_fm.c140 if (spa_load_state(spa) != SPA_LOAD_NONE) {
176 spa_load_state(spa), NULL);
622 if (spa_load_state(spa) == SPA_LOAD_TRYIMPORT ||
623 spa_load_state(spa) == SPA_LOAD_RECOVER)
631 if (spa_load_state(spa) != SPA_LOAD_NONE &&
844 if (spa_load_state(spa) == SPA_LOAD_TRYIMPORT)
H A Dspa.c2376 spa->spa_load_state = state;
2377 (void) spa_import_progress_set_state(spa, spa_load_state(spa));
2397 spa->spa_load_state = error ? SPA_LOAD_ERROR : SPA_LOAD_NONE;
2400 (void) spa_import_progress_set_state(spa, spa_load_state(spa));
2769 if ((spa->spa_load_state == SPA_LOAD_IMPORT ||
2770 spa->spa_load_state == SPA_LOAD_TRYIMPORT) &&
2773 if ((spa->spa_load_state == SPA_LOAD_IMPORT ||
2774 spa->spa_load_state == SPA_LOAD_TRYIMPORT) &&
3172 if (spa->spa_load_state == SPA_LOAD_OPEN) {
3258 if (spa->spa_load_state !
[all...]
H A Dspa_errlog.c104 if (spa_load_state(spa) == SPA_LOAD_TRYIMPORT)
H A Dspa_config.c478 if (getstats && spa_load_state(spa) == SPA_LOAD_NONE) {
H A Dspa_misc.c1759 spa_load_state(spa_t *spa) function
1761 return (spa->spa_load_state);
2141 sip->sip_load_state.value.ui64 = (uint64_t)spa_load_state(spa);
2159 sip->sip_load_state.value.ui64 = (uint64_t)spa_load_state(spa);
2162 "spa_load_state", KSTAT_DATA_UINT64);
H A Dspa_log_spacemap.c429 VERIFY3S(spa_load_state(spa), ==, SPA_LOAD_ERROR);
547 VERIFY3S(spa_load_state(spa), ==, SPA_LOAD_ERROR);
H A Dvdev.c656 spa->spa_load_state != SPA_LOAD_CREATE &&
790 if (spa_load_state(spa) == SPA_LOAD_OPEN) {
1961 spa_load_state(spa) == SPA_LOAD_OPEN &&
2395 if (vd->vdev_spa->spa_load_state != SPA_LOAD_NONE)
3995 if (spa->spa_load_state == SPA_LOAD_NONE &&
4360 if ((spa_load_state(spa) == SPA_LOAD_IMPORT ||
4361 spa_load_state(spa) == SPA_LOAD_RECOVER) &&
H A Dvdev_mirror.c340 spa_load_state(vd->vdev_spa) == SPA_LOAD_NONE &&
H A Dzio.c2702 ASSERT(spa_load_state(zio->io_spa) != SPA_LOAD_NONE);
4308 spa_load_state(spa) == SPA_LOAD_NONE &&
H A Ddsl_scan.c3139 if (spa->spa_load_state != SPA_LOAD_NONE)
3394 * Check for scn_restart_txg before checking spa_load_state, so
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h215 spa_load_state_t spa_load_state; /* current load operation */ member in struct:spa
H A Dspa.h962 extern spa_load_state_t spa_load_state(spa_t *spa);

Completed in 96 milliseconds