Searched refs:spa_load_state (Results 1 – 10 of 10) sorted by relevance
119 if (spa_load_state(spa) == SPA_LOAD_TRYIMPORT || in zfs_ereport_start()120 spa_load_state(spa) == SPA_LOAD_RECOVER) in zfs_ereport_start()128 if (spa_load_state(spa) != SPA_LOAD_NONE && in zfs_ereport_start()209 if (spa_load_state(spa) != SPA_LOAD_NONE) { in zfs_ereport_start()245 spa_load_state(spa), NULL); in zfs_ereport_start()816 if (spa_load_state(spa) == SPA_LOAD_TRYIMPORT) in zfs_post_common()
105 if (spa_load_state(spa) == SPA_LOAD_TRYIMPORT) in spa_log_error()
462 if (getstats && spa_load_state(spa) == SPA_LOAD_NONE) { in spa_config_generate()
1612 spa_load_state(spa_t *spa) in spa_load_state() function1614 return (spa->spa_load_state); in spa_load_state()
561 if (spa_load_state(spa) == SPA_LOAD_OPEN) { in vdev_alloc()1442 spa_load_state(spa) == SPA_LOAD_OPEN && in vdev_validate()3165 if ((spa_load_state(spa) == SPA_LOAD_IMPORT || in vdev_set_state()3166 spa_load_state(spa) == SPA_LOAD_RECOVER) && in vdev_set_state()
2130 ASSERT(spa_load_state(zio->io_spa) != SPA_LOAD_NONE); in zio_ddt_read_done()3149 spa_load_state(spa) == SPA_LOAD_NONE && in zio_done()
1418 if (spa->spa_load_state != SPA_LOAD_NONE) in dsl_scan_active()
2139 spa->spa_load_state = error ? SPA_LOAD_ERROR : SPA_LOAD_NONE; in spa_load()2174 spa->spa_load_state = state; in spa_load_impl()
134 spa_load_state_t spa_load_state; /* current load operation */ member
767 extern spa_load_state_t spa_load_state(spa_t *spa);