Home
last modified time | relevance | path

Searched refs:dp_spa (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/
H A Ddsl_pool.c154 dp->dp_spa = spa; in dsl_pool_open_impl()
217 if (spa_version(dp->dp_spa) >= SPA_VERSION_ORIGIN) { in dsl_pool_open()
234 if (spa_version(dp->dp_spa) >= SPA_VERSION_DEADLISTS) { in dsl_pool_open()
255 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_pool_open()
263 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMPTY_BPOBJ)) { in dsl_pool_open()
324 arc_flush(dp->dp_spa, FALSE); in dsl_pool_close()
395 os = dmu_objset_create_impl(dp->dp_spa, ds, in dsl_pool_create()
435 zio_t *zio = zio_root(dp->dp_spa, NULL, NULL, ZIO_FLAG_MUSTSUCCEED); in dsl_pool_sync_mos()
439 spa_set_rootblkptr(dp->dp_spa, &dp->dp_meta_rootbp); in dsl_pool_sync_mos()
478 zio = zio_root(dp->dp_spa, NULL, NULL, ZIO_FLAG_MUSTSUCCEED); in dsl_pool_sync()
[all …]
H A Ddsl_scan.c93 spa_t *spa = dp->dp_spa; in dsl_scan_init()
105 scn->scn_async_destroying = spa_feature_is_active(dp->dp_spa, in dsl_scan_init()
137 spa_prev_software_version(dp->dp_spa) < SPA_VERSION_SCAN) { in dsl_scan_init()
184 spa_t *spa = dp->dp_spa; in dsl_scan_setup_sync()
263 spa_t *spa = dp->dp_spa; in dsl_scan_done()
350 return (dsl_sync_task(spa_name(dp->dp_spa), dsl_scan_cancel_check, in dsl_scan_cancel()
364 zio_free(dp->dp_spa, txg, bp); in dsl_free()
371 zio_nowait(zio_free_sync(pio, dp->dp_spa, txg, bpp, pio->io_flags)); in dsl_free_sync()
433 spa_shutting_down(scn->scn_dp->dp_spa)) { in dsl_scan_check_pause()
477 if (claim_txg == 0 && bp->blk_birth >= spa_first_txg(dp->dp_spa)) in dsl_scan_zil_block()
[all …]
H A Ddsl_destroy.c65 if (spa_version(ds->ds_dir->dd_pool->dp_spa) < in dsl_destroy_snapshot_check_impl()
156 bp_get_dsize_sync(dp->dp_spa, bp); in process_old_cb()
159 poa->used += bp_get_dsize_sync(dp->dp_spa, bp); in process_old_cb()
182 poa.pio = zio_root(dp->dp_spa, NULL, NULL, ZIO_FLAG_MUSTSUCCEED); in process_old_deadlist()
254 ASSERT(spa_version(dp->dp_spa) >= SPA_VERSION_USERREFS); in dsl_destroy_snapshot_sync_impl()
452 spa_prop_clear_bootfs(dp->dp_spa, ds->ds_object, tx); in dsl_destroy_snapshot_sync_impl()
782 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_destroy_head_sync_impl()
793 if (!spa_feature_is_active(dp->dp_spa, in dsl_destroy_head_sync_impl()
796 spa_feature_incr(dp->dp_spa, SPA_FEATURE_ASYNC_DESTROY, in dsl_destroy_head_sync_impl()
825 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_destroy_head_sync_impl()
[all …]
H A Ddsl_bookmark.c153 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)) in dsl_bookmark_create_check()
186 ASSERT(spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)); in dsl_bookmark_create_sync()
202 spa_feature_incr(dp->dp_spa, SPA_FEATURE_BOOKMARKS, tx); in dsl_bookmark_create_sync()
362 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)) in dsl_bookmark_destroy_check()
430 spa_feature_decr(dp->dp_spa, SPA_FEATURE_BOOKMARKS, tx); in dsl_bookmark_destroy_sync()
H A Ddsl_dir.c159 spa_async_close(dd->dd_pool->dp_spa, dd); in dsl_dir_evict_async()
232 (void) strcpy(dd->dd_myname, spa_name(dp->dp_spa)); in dsl_dir_hold_obj()
265 spa_open_ref(dp->dp_spa, dd); in dsl_dir_hold_obj()
278 spa_open_ref(dp->dp_spa, tag); in dsl_dir_hold_obj()
298 spa_close(dd->dd_pool->dp_spa, tag); in dsl_dir_rele()
313 spa_async_close(dd->dd_pool->dp_spa, tag); in dsl_dir_async_rele()
438 spaname = spa_name(dp->dp_spa); in dsl_dir_hold()
525 ASSERT(spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT)); in dsl_dir_init_fs_ss_count()
613 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT)) { in dsl_dir_actv_fs_ss_limit_check()
619 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT) && in dsl_dir_actv_fs_ss_limit_check()
[all …]
H A Ddsl_dataset.c105 int used = bp_get_dsize_sync(tx->tx_pool->dp_spa, bp); in dsl_dataset_block_born()
146 int used = bp_get_dsize_sync(tx->tx_pool->dp_spa, bp); in dsl_dataset_block_kill()
244 spa_last_synced_txg(ds->ds_dir->dd_pool->dp_spa)) in dsl_dataset_prev_snap_txg()
546 spa_name(dp->dp_spa), in dsl_dataset_hold_obj()
554 spa_version(dp->dp_spa) < SPA_VERSION_ORIGIN || in dsl_dataset_hold_obj()
758 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in dsl_dataset_activate_feature()
774 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in dsl_dataset_deactivate_feature()
856 if (spa_version(dp->dp_spa) >= SPA_VERSION_NEXT_CLONES) { in dsl_dataset_create_sync_dd()
869 if (spa_version(dp->dp_spa) >= SPA_VERSION_DIR_CLONES) { in dsl_dataset_create_sync_dd()
882 if (spa_version(dp->dp_spa) >= SPA_VERSION_UNIQUE_ACCURATE) in dsl_dataset_create_sync_dd()
[all …]
H A Ddmu_tx.c434 spa_t *spa = txh->txh_tx->tx_pool->dp_spa; in dmu_tx_count_free()
684 zio = zio_root(tx->tx_pool->dp_spa, in dmu_tx_hold_free()
1113 spa_t *spa = tx->tx_pool->dp_spa; in dmu_tx_try_assign()
1191 asize = spa_get_asize(tx->tx_pool->dp_spa, towrite + tooverwrite); in dmu_tx_try_assign()
1193 fsize = spa_get_asize(tx->tx_pool->dp_spa, tooverwrite) + tofree; in dmu_tx_try_assign()
1195 usize = spa_get_asize(tx->tx_pool->dp_spa, tounref); in dmu_tx_try_assign()
1206 spa_get_asize(tx->tx_pool->dp_spa, tohold + fudge); in dmu_tx_try_assign()
1307 spa_t *spa = tx->tx_pool->dp_spa; in dmu_tx_wait()
H A Ddsl_userhold.c87 if (spa_version(dp->dp_spa) < SPA_VERSION_USERREFS) in dsl_dataset_user_hold_check()
273 dsl_onexit_hold_cleanup(dp->dp_spa, tmpholds, dduha->dduha_minor); in dsl_dataset_user_hold_sync()
567 pool = spa_name(tmpdp->dp_spa); in dsl_dataset_user_release_impl()
H A Ddmu_send.c556 spa_t *spa = ds->ds_dir->dd_pool->dp_spa; in do_dump()
731 spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMBEDDED_DATA)) { in dmu_send_impl()
733 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_LZ4_COMPRESS)) in dmu_send_impl()
943 if (strchr(tosnap, '@') == NULL && spa_writeable(dp->dp_spa)) { in dmu_send()
1254 spa_version(dp->dp_spa) < SPA_VERSION_SA) in dmu_recv_begin_check()
1258 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_EXTENSIBLE_DATASET)) in dmu_recv_begin_check()
1268 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_EMBEDDED_DATA)) in dmu_recv_begin_check()
1271 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LZ4_COMPRESS)) in dmu_recv_begin_check()
1280 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LARGE_BLOCKS)) in dmu_recv_begin_check()
1444 (void) dmu_objset_create_impl(dp->dp_spa, in dmu_recv_begin_sync()
[all …]
H A Ddsl_synctask.c165 metaslab_class_get_deferred(spa_normal_class(dp->dp_spa)); in dsl_sync_task_sync()
H A Dspa_history.c201 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in spa_history_log_sync()
526 log_internal(nvl, operation, dd->dd_pool->dp_spa, tx, fmt, adx); in spa_history_log_internal_dd()
H A Ddsl_prop.c331 version = spa_version(dd->dd_pool->dp_spa); in dsl_prop_predict()
573 uint64_t version = spa_version(ds->ds_dir->dd_pool->dp_spa); in dsl_prop_set_sync_impl()
775 version = spa_version(ds->ds_dir->dd_pool->dp_spa); in dsl_props_set_check()
H A Ddsl_deleg.c262 if (spa_version(dmu_tx_pool(tx)->dp_spa) < in dsl_deleg_check()
H A Ddmu_traverse.c630 return (traverse_impl(ds->ds_dir->dd_pool->dp_spa, ds, ds->ds_object, in traverse_dataset_resume()
H A Dtxg.c449 spa_t *spa = dp->dp_spa; in txg_sync_thread()
H A Ddmu_objset.c909 os = dmu_objset_create_impl(pdd->dd_pool->dp_spa, in dmu_objset_create_sync()
1836 ntasks = vdev_count_leaves(dp->dp_spa) * 4; in dmu_objset_find_dp()
H A Dzvol.c1883 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in zfs_mvdev_dump_feature_check()
1894 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in zfs_mvdev_dump_activate_feature_sync()
H A Dspa.c727 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in spa_change_guid_check()
747 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in spa_change_guid_sync()
6005 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in spa_sync_version()
6027 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in spa_sync_props()
H A Dzfs_vfsops.c165 if (sys_shutdown && spa_suspended(dp->dp_spa)) { in zfs_sync()
H A Dzfs_ioctl.c3951 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in zfs_prop_activate_feature_check()
3967 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in zfs_prop_activate_feature_sync()
/titanic_41/usr/src/cmd/zhack/
H A Dzhack.c290 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in zhack_feature_enable_sync()
372 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in feature_incr_sync()
385 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in feature_decr_sync()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_pool.h82 spa_t *dp_spa; member
/titanic_41/usr/src/uts/common/fs/zev/
H A Dzev.c468 if (!strcmp(pe->name, dp->dp_spa->spa_name)) { in zev_skip_pool()