Searched refs:spa_load_state (Results 1 – 16 of 16) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_fm.c | 497 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 D | vdev_root.c | 108 if (spa_load_state(spa) != SPA_LOAD_NONE) in vdev_root_open()
|
H A D | spa_misc.c | 1824 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 D | spa.c | 3432 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 D | spa_log_spacemap.c | 441 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 D | spa_config.c | 527 if (getstats && spa_load_state(spa) == SPA_LOAD_NONE) { in spa_config_generate()
|
H A D | vdev.c | 829 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 D | ddt_log.c | 649 if (spa_load_state(ddt->ddt_spa) == SPA_LOAD_TRYIMPORT) { in ddt_log_load()
|
H A D | vdev_mirror.c | 369 spa_load_state(vd->vdev_spa) == SPA_LOAD_NONE && in vdev_mirror_map_init()
|
H A D | spa_errlog.c | 194 if (spa_load_state(spa) == SPA_LOAD_TRYIMPORT) in spa_log_error()
|
H A D | dsl_scan.c | 3654 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 D | ddt.c | 1435 ASSERT3U(spa_load_state(spa), !=, SPA_LOAD_CREATE); in ddt_configure()
|
H A D | zio.c | 3398 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 D | spa_impl.h | 237 spa_load_state_t spa_load_state; /* current load operation */ member
|
H A D | spa.h | 994 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 D | vdev_geom.c | 841 (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()
|