Searched refs:spa_load_state (Results 1 – 13 of 13) sorted by relevance
140 if (spa_load_state(spa) != SPA_LOAD_NONE) { in zfs_ereport_start()176 spa_load_state(spa), NULL); in zfs_ereport_start()622 if (spa_load_state(spa) == SPA_LOAD_TRYIMPORT || in zfs_ereport_is_valid()623 spa_load_state(spa) == SPA_LOAD_RECOVER) in zfs_ereport_is_valid()631 if (spa_load_state(spa) != SPA_LOAD_NONE && in zfs_ereport_is_valid()844 if (spa_load_state(spa) == SPA_LOAD_TRYIMPORT) in zfs_post_common()
108 if (spa_load_state(spa) != SPA_LOAD_NONE) in vdev_root_open()
2387 spa->spa_load_state = state; in spa_load()2388 (void) spa_import_progress_set_state(spa, spa_load_state(spa)); in spa_load()2409 spa->spa_load_state = error ? SPA_LOAD_ERROR : SPA_LOAD_NONE; in spa_load()2412 (void) spa_import_progress_set_state(spa, spa_load_state(spa)); in spa_load()2781 if ((spa->spa_load_state == SPA_LOAD_IMPORT ||2782 spa->spa_load_state == SPA_LOAD_TRYIMPORT) &&2785 if ((spa->spa_load_state == SPA_LOAD_IMPORT ||2786 spa->spa_load_state == SPA_LOAD_TRYIMPORT) &&3184 if (spa->spa_load_state == SPA_LOAD_OPEN) {3270 if (spa->spa_load_state != SPA_LOAD_TRYIMPORT &&[all …]
429 VERIFY3S(spa_load_state(spa), ==, SPA_LOAD_ERROR); in spa_log_summary_decrement_mscount()547 VERIFY3S(spa_load_state(spa), ==, SPA_LOAD_ERROR); in spa_log_sm_decrement_mscount()
104 if (spa_load_state(spa) == SPA_LOAD_TRYIMPORT) in spa_log_error()
1771 spa_load_state(spa_t *spa) in spa_load_state() function1773 return (spa->spa_load_state); in spa_load_state()2153 sip->sip_load_state.value.ui64 = (uint64_t)spa_load_state(spa); in spa_import_progress_add()2171 sip->sip_load_state.value.ui64 = (uint64_t)spa_load_state(spa); in spa_import_progress_add()
479 if (getstats && spa_load_state(spa) == SPA_LOAD_NONE) { in spa_config_generate()
674 spa->spa_load_state != SPA_LOAD_CREATE && in vdev_alloc()808 if (spa_load_state(spa) == SPA_LOAD_OPEN) { in vdev_alloc()1980 spa_load_state(spa) == SPA_LOAD_OPEN && in vdev_validate()2427 if (vd->vdev_spa->spa_load_state != SPA_LOAD_NONE) in vdev_dtl_contains()4029 if (spa->spa_load_state == SPA_LOAD_NONE && in vdev_stat_update()4394 if ((spa_load_state(spa) == SPA_LOAD_IMPORT || in vdev_set_state()4395 spa_load_state(spa) == SPA_LOAD_RECOVER) && in vdev_set_state()
340 spa_load_state(vd->vdev_spa) == SPA_LOAD_NONE && in vdev_mirror_map_init()
2734 ASSERT(spa_load_state(zio->io_spa) != SPA_LOAD_NONE); in zio_ddt_read_done()4340 spa_load_state(spa) == SPA_LOAD_NONE && in zio_done()
3151 if (spa->spa_load_state != SPA_LOAD_NONE) in dsl_scan_active()
215 spa_load_state_t spa_load_state; /* current load operation */ member
927 extern spa_load_state_t spa_load_state(spa_t *spa);