/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | spa_history.c | 378 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 D | spa.c | 1962 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 D | vdev_mirror.c | 307 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 D | spa_log_spacemap.c | 424 if (!spa_writeable(spa)) in spa_log_summary_decrement_mscount() 1140 if (!spa_writeable(spa)) in spa_ld_log_sm_data()
|
H A D | vdev_removal.c | 282 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 D | spa_config.c | 282 !spa_writeable(spa)) in spa_write_cachefile()
|
H A D | mmp.c | 234 if (spa_writeable(spa)) { in mmp_thread_start()
|
H A D | vdev_indirect.c | 860 if (spa_writeable(spa)) { in spa_condense_init() 1428 if (!spa_writeable(zio->io_spa)) in vdev_indirect_repair()
|
H A D | vdev.c | 1708 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 D | zil.c | 896 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 D | dmu_traverse.c | 134 if (claim_txg == 0 && spa_writeable(td->td_spa)) in traverse_zil()
|
H A D | metaslab.c | 2165 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 D | spa_misc.c | 2662 spa_writeable(spa_t *spa) in spa_writeable() function 3088 EXPORT_SYMBOL(spa_writeable);
|
H A D | zvol.c | 788 !spa_writeable(dmu_objset_spa(os))) { in zvol_setup_zv()
|
H A D | dmu_objset.c | 2544 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 D | vdev_label.c | 1094 if (!vd->vdev_ops->vdev_op_leaf || !spa_writeable(spa)) in vdev_label_init()
|
H A D | vdev_raidz.c | 2787 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 D | dsl_dir.c | 2416 if (readonly || !spa_writeable(dd->dd_pool->dp_spa)) { in dsl_dir_activity_in_progress()
|
H A D | ddt.c | 1745 spa_writeable(ddt->ddt_spa) && in ddt_repair_done()
|
H A D | zio.c | 1461 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 D | zfs_vfsops.c | 480 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 D | zvol_os.c | 1690 if (spa_writeable(dmu_objset_spa(os))) { in zvol_os_create_minor()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zvol_os.c | 1474 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 D | zfs_vfsops.c | 663 !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 D | spa.h | 1119 extern boolean_t spa_writeable(spa_t *spa);
|