Home
last modified time | relevance | path

Searched refs:spa_writeable (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_history.c378 if (spa_version(spa) < SPA_VERSION_ZPOOL_HISTORY || !spa_writeable(spa)) in spa_history_log_nvl()
439 if (*offp == 0 && spa_writeable(spa)) in spa_history_get()
525 if (spa_is_initializing(spa) || !spa_writeable(spa)) { in log_internal()
H A Dspa.c1962 if (!spa_writeable(spa)) in spa_should_flush_logs_on_unload()
2220 if (!spa_writeable(spa)) in spa_load_spares()
2353 if (!spa_writeable(spa)) in spa_load_l2cache()
3330 ASSERT(spa_writeable(spa)); in spa_spawn_aux_threads()
4560 if (spa_writeable(spa) ||
4604 spa_writeable(spa))) {
4982 if (type != SPA_IMPORT_ASSEMBLE && spa_writeable(spa)) {
5255 if (spa_writeable(spa)) {
5525 if (spa_writeable(spa) && (spa->spa_load_state == SPA_LOAD_RECOVER ||
6800 if (error != 0 || (props && spa_writeable(spa) &&
[all …]
H A Dvdev_mirror.c307 if (!spa_writeable(spa)) { in vdev_mirror_map_init()
881 if (good_copies && spa_writeable(zio->io_spa) && in vdev_mirror_io_done()
H A Dspa_log_spacemap.c424 if (!spa_writeable(spa)) in spa_log_summary_decrement_mscount()
1140 if (!spa_writeable(spa)) in spa_ld_log_sm_data()
H A Dvdev_removal.c282 ASSERT(spa_writeable(spa)); in spa_vdev_noalloc()
315 ASSERT(spa_writeable(spa)); in spa_vdev_alloc()
646 if (!spa_writeable(spa)) in spa_restart_removal()
2390 ASSERT(spa_writeable(spa)); in spa_vdev_remove()
H A Dspa_config.c282 !spa_writeable(spa)) in spa_write_cachefile()
H A Dmmp.c234 if (spa_writeable(spa)) { in mmp_thread_start()
H A Dvdev_indirect.c860 if (spa_writeable(spa)) { in spa_condense_init()
1428 if (!spa_writeable(zio->io_spa)) in vdev_indirect_repair()
H A Dvdev.c1708 if (zio->io_error == 0 && spa_writeable(spa)) { in vdev_probe_done()
1730 (vdev_writeable(vd) || !spa_writeable(spa))) { in vdev_probe_done()
2909 ASSERT(spa_writeable(vd->vdev_spa)); in vdev_dirty()
2975 ASSERT(spa_writeable(vd->vdev_spa)); in vdev_dtl_dirty()
5165 ASSERT(spa_writeable(spa)); in vdev_config_dirty()
5256 ASSERT(spa_writeable(spa)); in vdev_state_dirty()
5311 (!vdev_writeable(child) && spa_writeable(spa))) { in vdev_propagate_state()
H A Dzil.c896 ASSERT(spa_writeable(zilog->zl_spa)); in zilog_dirty()
3144 ASSERT(spa_writeable(zilog->zl_spa)); in zil_commit_writer()
3317 ASSERT(spa_writeable(zilog->zl_spa)); in zil_commit_waiter()
3605 if (!spa_writeable(zilog->zl_spa)) { in zil_commit()
H A Ddmu_traverse.c134 if (claim_txg == 0 && spa_writeable(td->td_spa)) in traverse_zil()
H A Dmetaslab.c2165 if (!spa_writeable(msp->ms_group->mg_vd->vdev_spa)) in metaslab_verify_weight_and_frag()
2978 spa_writeable(spa) && txg < spa_final_dirty_txg(spa)) { in metaslab_set_fragmentation()
5723 if ((txg != 0 && spa_writeable(spa)) || !msp->ms_loaded) { in metaslab_claim_concrete()
5749 if (spa_writeable(spa)) { /* don't dirty if we're zdb(8) */ in metaslab_claim_concrete()
5800 ASSERT(!spa_writeable(vd->vdev_spa)); in metaslab_claim_impl()
H A Dspa_misc.c2662 spa_writeable(spa_t *spa) in spa_writeable() function
3088 EXPORT_SYMBOL(spa_writeable);
H A Dzvol.c788 !spa_writeable(dmu_objset_spa(os))) { in zvol_setup_zv()
H A Ddmu_objset.c2544 spa_writeable(dmu_objset_spa(os))); in dmu_objset_userobjspace_upgradable()
2554 spa_writeable(dmu_objset_spa(os))); in dmu_objset_projectquota_upgradable()
H A Dvdev_label.c1094 if (!vd->vdev_ops->vdev_op_leaf || !spa_writeable(spa)) in vdev_label_init()
H A Dvdev_raidz.c2787 if (zio->io_error == 0 && spa_writeable(zio->io_spa) && in vdev_raidz_io_done_verified()
2830 if (zio->io_error == 0 && spa_writeable(zio->io_spa) && in vdev_raidz_io_done_verified()
H A Ddsl_dir.c2416 if (readonly || !spa_writeable(dd->dd_pool->dp_spa)) { in dsl_dir_activity_in_progress()
H A Dddt.c1745 spa_writeable(ddt->ddt_spa) && in ddt_repair_done()
H A Dzio.c1461 ASSERT(!BP_GET_DEDUP(bp) || !spa_writeable(spa)); /* zdb(8) */ in zio_claim()
4356 VERIFY(zio->io_type != ZIO_TYPE_WRITE || spa_writeable(spa)); in zio_vdev_io_start()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vfsops.c480 if (zfs_is_readonly(zfsvfs) || !spa_writeable(dmu_objset_spa(os))) { in zfs_register_callbacks()
925 if (spa_writeable(dmu_objset_spa(zfsvfs->z_os))) { in zfsvfs_setup()
1622 if ((issnap || !spa_writeable(dmu_objset_spa(zfsvfs->z_os))) && in zfs_remount()
H A Dzvol_os.c1690 if (spa_writeable(dmu_objset_spa(os))) { in zvol_os_create_minor()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzvol_os.c1474 if (dmu_objset_is_snapshot(os) || !spa_writeable(dmu_objset_spa(os))) in zvol_os_create_minor()
1487 if (spa_writeable(dmu_objset_spa(os))) { in zvol_os_create_minor()
H A Dzfs_vfsops.c663 !spa_writeable(dmu_objset_spa(os))) { in zfs_register_callbacks()
1116 if (spa_writeable(dmu_objset_spa(zfsvfs->z_os))) { in zfsvfs_setup()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa.h1119 extern boolean_t spa_writeable(spa_t *spa);

12