/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | dsl_dataset.c | 136 dsl_dir_diduse_space(ds->ds_dir, DD_USED_HEAD, delta, in dsl_dataset_block_born() 138 dsl_dir_transfer_space(ds->ds_dir, used - delta, in dsl_dataset_block_born() 162 ASSERT3P(tx->tx_pool, ==, ds->ds_dir->dd_pool); in dsl_dataset_block_kill() 179 dsl_dir_diduse_space(ds->ds_dir, DD_USED_HEAD, in dsl_dataset_block_kill() 181 dsl_dir_transfer_space(ds->ds_dir, -used - delta, in dsl_dataset_block_kill() 209 if (bp->blk_birth > ds->ds_dir->dd_origin_txg) { in dsl_dataset_block_kill() 210 dsl_dir_transfer_space(ds->ds_dir, used, in dsl_dataset_block_kill() 244 spa_last_synced_txg(ds->ds_dir->dd_pool->dp_spa)) in dsl_dataset_prev_snap_txg() 298 if (ds->ds_dir) in dsl_dataset_evict_async() 299 dsl_dir_async_rele(ds->ds_dir, ds); in dsl_dataset_evict_async() [all …]
|
H A D | dsl_destroy.c | 65 if (spa_version(ds->ds_dir->dd_pool->dp_spa) < in dsl_destroy_snapshot_check_impl() 146 dsl_pool_t *dp = poa->ds->ds_dir->dd_pool; in process_old_cb() 172 dsl_pool_t *dp = ds->ds_dir->dd_pool; in process_old_deadlist() 189 dsl_dir_diduse_space(ds->ds_dir, DD_USED_SNAP, in process_old_deadlist() 208 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_dataset_remove_clones_key() 217 if (dsl_dir_phys(ds->ds_dir)->dd_clones == 0) in dsl_dataset_remove_clones_key() 220 for (zap_cursor_init(&zc, mos, dsl_dir_phys(ds->ds_dir)->dd_clones); in dsl_dataset_remove_clones_key() 225 VERIFY0(dsl_dataset_hold_obj(ds->ds_dir->dd_pool, in dsl_dataset_remove_clones_key() 227 if (clone->ds_dir->dd_origin_txg > mintxg) { in dsl_dataset_remove_clones_key() 242 dsl_pool_t *dp = ds->ds_dir->dd_pool; in dsl_destroy_snapshot_sync_impl() [all …]
|
H A D | dsl_prop.c | 168 ASSERT(dsl_pool_config_held(ds->ds_dir->dd_pool)); in dsl_prop_get_ds() 173 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_prop_get_ds() 215 return (dsl_prop_get_dd(ds->ds_dir, propname, in dsl_prop_get_ds() 230 dsl_dir_t *dd = ds->ds_dir; in dsl_prop_register() 387 dsl_dir_t *dd = ds->ds_dir; in dsl_prop_unregister() 416 dsl_dir_t *dd = ds->ds_dir; in dsl_prop_hascb() 436 dsl_dir_t *dd = ds->ds_dir; in dsl_prop_notify_all_cb() 564 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_prop_set_sync_impl() 573 uint64_t version = spa_version(ds->ds_dir->dd_pool->dp_spa); in dsl_prop_set_sync_impl() 587 zapobj = dsl_dir_phys(ds->ds_dir)->dd_props_zapobj; in dsl_prop_set_sync_impl() [all …]
|
H A D | dsl_pool.c | 722 dmu_buf_will_dirty(ds->ds_dir->dd_dbuf, tx); in upgrade_clones_cb() 723 dsl_dir_phys(ds->ds_dir)->dd_origin_obj = prev->ds_object; in upgrade_clones_cb() 736 ASSERT3U(dsl_dir_phys(ds->ds_dir)->dd_origin_obj, ==, prev->ds_object); in upgrade_clones_cb() 771 if (dsl_dir_phys(ds->ds_dir)->dd_origin_obj != 0) { in upgrade_dir_clones_cb() 775 dsl_dir_phys(ds->ds_dir)->dd_origin_obj, FTAG, &origin)); in upgrade_dir_clones_cb() 777 if (dsl_dir_phys(origin->ds_dir)->dd_clones == 0) { in upgrade_dir_clones_cb() 778 dmu_buf_will_dirty(origin->ds_dir->dd_dbuf, tx); in upgrade_dir_clones_cb() 779 dsl_dir_phys(origin->ds_dir)->dd_clones = in upgrade_dir_clones_cb() 785 dsl_dir_phys(origin->ds_dir)->dd_clones, in upgrade_dir_clones_cb()
|
H A D | dsl_dir.c | 618 dd = ds->ds_dir; in dsl_dir_actv_fs_ss_limit_check() 659 dsl_dir_init_fs_ss_count(ds->ds_dir, tx); in dsl_dir_actv_fs_ss_limit_sync() 1464 error = dsl_prop_predict(ds->ds_dir, "quota", in dsl_dir_set_quota_check() 1476 mutex_enter(&ds->ds_dir->dd_lock); in dsl_dir_set_quota_check() 1483 towrite = dsl_dir_space_towrite(ds->ds_dir); in dsl_dir_set_quota_check() 1485 (newval < dsl_dir_phys(ds->ds_dir)->dd_reserved || in dsl_dir_set_quota_check() 1486 newval < dsl_dir_phys(ds->ds_dir)->dd_used_bytes + towrite)) { in dsl_dir_set_quota_check() 1489 mutex_exit(&ds->ds_dir->dd_lock); in dsl_dir_set_quota_check() 1517 dmu_buf_will_dirty(ds->ds_dir->dd_dbuf, tx); in dsl_dir_set_quota_sync() 1518 mutex_enter(&ds->ds_dir->dd_lock); in dsl_dir_set_quota_sync() [all …]
|
H A D | dmu_send.c | 556 spa_t *spa = ds->ds_dir->dd_pool->dp_spa; in do_dump() 914 is_clone = (fromds->ds_dir != ds->ds_dir); in dmu_send_obj() 984 is_clone = (ds->ds_dir != fromds->ds_dir); in dmu_send() 1047 dsl_pool_t *dp = ds->ds_dir->dd_pool; in dmu_send_estimate() 1108 dsl_pool_t *dp = ds->ds_dir->dd_pool; in dmu_send_estimate_from_txg() 1149 dsl_pool_t *dp = ds->ds_dir->dd_pool; in recv_begin_check_existing_impl() 1153 dsl_dir_phys(ds->ds_dir)->dd_child_dir_zapobj, recv_clone_name, in recv_begin_check_existing_impl() 1174 error = dsl_fs_ss_limit_check(ds->ds_dir, 1, ZFS_PROP_SNAPSHOT_LIMIT, in recv_begin_check_existing_impl() 1189 if (snap->ds_dir != ds->ds_dir) { in recv_begin_check_existing_impl() 1319 error = dsl_fs_ss_limit_check(ds->ds_dir, 1, in dmu_recv_begin_check() [all …]
|
H A D | dsl_userhold.c | 137 dsl_pool_t *dp = ds->ds_dir->dd_pool; in dsl_dataset_user_hold_sync_one_impl() 362 mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_dataset_user_release_check_one() 476 dsl_pool_t *dp = ds->ds_dir->dd_pool; in dsl_dataset_user_release_sync_one() 653 for (zap_cursor_init(&zc, ds->ds_dir->dd_pool->dp_meta_objset, in dsl_dataset_get_holds()
|
H A D | dsl_bookmark.c | 60 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_dataset_bmark_lookup() 260 dsl_pool_t *dp = ds->ds_dir->dd_pool; in dsl_get_bookmarks_impl() 340 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_dataset_bookmark_remove()
|
H A D | dmu_objset.c | 100 if ((ds = os->os_dsl_dataset) != NULL && ds->ds_dir) in dmu_objset_pool() 101 return (ds->ds_dir->dd_pool); in dmu_objset_pool() 489 ASSERT(dsl_pool_config_held(ds->ds_dir->dd_pool) || in dmu_objset_from_ds() 786 return (dsl_dir_snap_cmtime(os->os_dsl_dataset->ds_dir)); in dmu_objset_snap_cmtime() 1563 return (zap_lookup_norm(ds->ds_dir->dd_pool->dp_meta_objset, in dmu_snapshot_realname() 1582 ds->ds_dir->dd_pool->dp_meta_objset, in dmu_snapshot_list_next() 1611 dsl_dir_t *dd = os->os_dsl_dataset->ds_dir; in dmu_dir_list_next()
|
H A D | dsl_deleg.c | 554 dp = ds->ds_dir->dd_pool; in dsl_deleg_access_impl() 578 for (dd = ds->ds_dir; dd != NULL; dd = dd->dd_parent, in dsl_deleg_access_impl()
|
H A D | dsl_scan.c | 377 uint64_t smt = ds->ds_dir->dd_pool->dp_scan->scn_phys.scn_max_txg; in dsl_scan_ds_maxtxg() 807 dsl_pool_t *dp = ds->ds_dir->dd_pool; in dsl_scan_ds_destroyed() 877 dsl_pool_t *dp = ds->ds_dir->dd_pool; in dsl_scan_ds_snapshotted() 911 dsl_pool_t *dp = ds1->ds_dir->dd_pool; in dsl_scan_ds_clone_swapped() 984 if (dsl_dir_phys(hds->ds_dir)->dd_origin_obj != eca->originobj) in enqueue_clones_cb()
|
H A D | dmu_traverse.c | 630 return (traverse_impl(ds->ds_dir->dd_pool->dp_spa, ds, ds->ds_object, in traverse_dataset_resume()
|
H A D | zfs_ioctl.c | 916 dd = clone->ds_dir; in zfs_secpolicy_promote() 2367 dsl_pool_t *dp = os->os_dsl_dataset->ds_dir->dd_pool; in zfs_ioc_snapshot_list_next() 3521 if (dsl_dir_is_clone(ds->ds_dir) && DS_IS_DEFER_DESTROY(ds->ds_prev)) { in zfs_destroy_unmount_origin() 4375 if (dsl_dir_is_clone(tosnap->ds_dir)) in zfs_ioc_send() 4377 dsl_dir_phys(tosnap->ds_dir)->dd_origin_obj; in zfs_ioc_send()
|
H A D | dmu_tx.c | 68 dmu_tx_t *tx = dmu_tx_create_dd(os->os_dsl_dataset->ds_dir); in dmu_tx_create()
|
H A D | dnode.c | 1825 dsl_dir_willuse_space(ds->ds_dir, aspace, tx); in dnode_willuse_space()
|
/titanic_41/usr/src/uts/common/fs/zfs/sys/ |
H A D | dsl_dataset.h | 152 struct dsl_dir *ds_dir; member
|
/titanic_41/usr/src/cmd/mdb/common/modules/zfs/ |
H A D | zfs.c | 269 uintptr_t ds_dir; in objset_name() local 297 GETMEMBID(os_dsl_dataset, &ds_id, ds_dir, ds_dir)) { in objset_name() 301 if (ds_dir && mdb_dsl_dir_name(ds_dir, buf)) in objset_name()
|
/titanic_41/usr/src/uts/common/fs/zev/ |
H A D | zev.c | 465 dsl_pool_t *dp = os->os_dsl_dataset->ds_dir->dd_pool; in zev_skip_pool() 480 dsl_dir_t *d = fs->z_os->os_dsl_dataset->ds_dir; in zev_skip_fs()
|
H A D | zev_checksums.c | 633 os_dsl_dataset->ds_dir->dd_myname, zp->z_id); in zev_get_checksums()
|