Home
last modified time | relevance | path

Searched refs:spa_load_state (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_fm.c497 if (spa_load_state(spa) != SPA_LOAD_NONE) { in zfs_ereport_start()
535 (int32_t)spa_load_state(spa), NULL); in zfs_ereport_start()
1087 if (spa_load_state(spa) == SPA_LOAD_TRYIMPORT || in zfs_ereport_is_valid()
1088 spa_load_state(spa) == SPA_LOAD_RECOVER) in zfs_ereport_is_valid()
1096 if (spa_load_state(spa) != SPA_LOAD_NONE && in zfs_ereport_is_valid()
1361 if (spa_load_state(spa) == SPA_LOAD_TRYIMPORT) in zfs_event_create()
1378 FM_EREPORT_PAYLOAD_ZFS_POOL_CONTEXT, spa_load_state(spa))); in zfs_event_create()
H A Dvdev_root.c108 if (spa_load_state(spa) != SPA_LOAD_NONE) in vdev_root_open()
H A Dspa_misc.c1824 spa_load_state(spa_t *spa) in spa_load_state() function
1826 return (spa->spa_load_state); in spa_load_state()
2246 spa_load_state_t spa_load_state; member
2270 (u_longlong_t)sip->pool_guid, (u_longlong_t)sip->spa_load_state, in spa_import_progress_show()
2344 sip->spa_load_state = load_state; in spa_import_progress_set_state()
2478 sip->spa_load_state = spa_load_state(spa); in spa_import_progress_add()
3053 EXPORT_SYMBOL(spa_load_state);
H A Dspa.c3432 spa->spa_load_state = state; in spa_load()
3434 spa_load_state(spa)); in spa_load()
3456 spa->spa_load_state = error ? SPA_LOAD_ERROR : SPA_LOAD_NONE; in spa_load()
3460 spa_load_state(spa)); in spa_load()
3926 if ((spa->spa_load_state == SPA_LOAD_IMPORT ||
3927 spa->spa_load_state == SPA_LOAD_TRYIMPORT) &&
3930 if ((spa->spa_load_state == SPA_LOAD_IMPORT ||
3931 spa->spa_load_state == SPA_LOAD_TRYIMPORT) &&
4341 if (spa->spa_load_state == SPA_LOAD_OPEN) {
4452 if (spa->spa_load_state != SPA_LOAD_TRYIMPORT &&
[all …]
H A Dspa_log_spacemap.c441 VERIFY3S(spa_load_state(spa), ==, SPA_LOAD_ERROR); in spa_log_summary_decrement_mscount()
558 VERIFY3S(spa_load_state(spa), ==, SPA_LOAD_ERROR); in spa_log_sm_decrement_mscount()
H A Dspa_config.c527 if (getstats && spa_load_state(spa) == SPA_LOAD_NONE) { in spa_config_generate()
H A Dvdev.c829 if (spa->spa_load_state != SPA_LOAD_CREATE && in vdev_alloc()
838 spa->spa_load_state != SPA_LOAD_CREATE && in vdev_alloc()
1026 if (spa_load_state(spa) == SPA_LOAD_OPEN || in vdev_alloc()
1027 spa_load_state(spa) == SPA_LOAD_IMPORT) { in vdev_alloc()
2510 spa_load_state(spa) == SPA_LOAD_OPEN && in vdev_validate()
5419 if ((spa_load_state(spa) == SPA_LOAD_IMPORT || in vdev_set_state()
5420 spa_load_state(spa) == SPA_LOAD_RECOVER) && in vdev_set_state()
H A Dddt_log.c649 if (spa_load_state(ddt->ddt_spa) == SPA_LOAD_TRYIMPORT) { in ddt_log_load()
H A Dvdev_mirror.c369 spa_load_state(vd->vdev_spa) == SPA_LOAD_NONE && in vdev_mirror_map_init()
H A Dspa_errlog.c194 if (spa_load_state(spa) == SPA_LOAD_TRYIMPORT) in spa_log_error()
H A Ddsl_scan.c3654 if (spa->spa_load_state != SPA_LOAD_NONE) in dsl_scan_active()
3674 if (spa->spa_load_state != SPA_LOAD_NONE) in dsl_errorscrub_active()
H A Dddt.c1435 ASSERT3U(spa_load_state(spa), !=, SPA_LOAD_CREATE); in ddt_configure()
H A Dzio.c3398 ASSERT(spa_load_state(zio->io_spa) != SPA_LOAD_NONE); in zio_ddt_read_done()
5357 spa_load_state(zio->io_spa) == SPA_LOAD_NONE && in zio_done()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h237 spa_load_state_t spa_load_state; /* current load operation */ member
H A Dspa.h994 spa_load_state_t spa_load_state);
1055 extern spa_load_state_t spa_load_state(spa_t *spa);
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c841 (vd->vdev_spa->spa_load_state == SPA_LOAD_NONE || in vdev_geom_open()
842 vd->vdev_spa->spa_load_state == SPA_LOAD_CREATE)))) { in vdev_geom_open()