Searched refs:ds_dir (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_destroy.c66 if (spa_version(ds->ds_dir->dd_pool->dp_spa) <
147 dsl_pool_t *dp = poa->ds->ds_dir->dd_pool;
173 dsl_pool_t *dp = ds->ds_dir->dd_pool;
190 dsl_dir_diduse_space(ds->ds_dir, DD_USED_SNAP,
209 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset;
218 if (dsl_dir_phys(ds->ds_dir)->dd_clones == 0)
221 for (zap_cursor_init(&zc, mos, dsl_dir_phys(ds->ds_dir)->dd_clones);
226 VERIFY0(dsl_dataset_hold_obj(ds->ds_dir->dd_pool,
228 if (clone->ds_dir->dd_origin_txg > mintxg) {
243 dsl_pool_t *dp = ds->ds_dir
[all...]
H A Ddsl_dataset.c149 dsl_dir_diduse_space(ds->ds_dir, DD_USED_HEAD, delta,
151 dsl_dir_transfer_space(ds->ds_dir, used - delta,
175 ASSERT3P(tx->tx_pool, ==, ds->ds_dir->dd_pool);
192 dsl_dir_diduse_space(ds->ds_dir, DD_USED_HEAD,
194 dsl_dir_transfer_space(ds->ds_dir, -used - delta,
222 if (bp->blk_birth > ds->ds_dir->dd_origin_txg) {
223 dsl_dir_transfer_space(ds->ds_dir, used,
257 spa_last_synced_txg(ds->ds_dir->dd_pool->dp_spa))
311 if (ds->ds_dir)
312 dsl_dir_async_rele(ds->ds_dir, d
[all...]
H A Ddsl_prop.c167 ASSERT(dsl_pool_config_held(ds->ds_dir->dd_pool));
172 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset;
214 return (dsl_prop_get_dd(ds->ds_dir, propname,
281 dsl_dir_t *dd = ds->ds_dir;
444 dsl_dir_t *dd = ds->ds_dir;
470 dsl_dir_t *dd = ds->ds_dir;
614 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset;
623 uint64_t version = spa_version(ds->ds_dir->dd_pool->dp_spa);
637 zapobj = dsl_dir_phys(ds->ds_dir)->dd_props_zapobj;
731 mutex_enter(&ds->ds_dir
[all...]
H A Ddsl_pool.c722 dmu_buf_will_dirty(ds->ds_dir->dd_dbuf, tx);
723 dsl_dir_phys(ds->ds_dir)->dd_origin_obj = prev->ds_object;
736 ASSERT3U(dsl_dir_phys(ds->ds_dir)->dd_origin_obj, ==, prev->ds_object);
771 if (dsl_dir_phys(ds->ds_dir)->dd_origin_obj != 0) {
775 dsl_dir_phys(ds->ds_dir)->dd_origin_obj, FTAG, &origin));
777 if (dsl_dir_phys(origin->ds_dir)->dd_clones == 0) {
778 dmu_buf_will_dirty(origin->ds_dir->dd_dbuf, tx);
779 dsl_dir_phys(origin->ds_dir)->dd_clones =
785 dsl_dir_phys(origin->ds_dir)->dd_clones,
H A Ddsl_dir.c603 dd = ds->ds_dir;
644 dsl_dir_init_fs_ss_count(ds->ds_dir, tx);
1448 error = dsl_prop_predict(ds->ds_dir, "quota",
1460 mutex_enter(&ds->ds_dir->dd_lock);
1467 towrite = dsl_dir_space_towrite(ds->ds_dir);
1469 (newval < dsl_dir_phys(ds->ds_dir)->dd_reserved ||
1470 newval < dsl_dir_phys(ds->ds_dir)->dd_used_bytes + towrite)) {
1473 mutex_exit(&ds->ds_dir->dd_lock);
1501 dmu_buf_will_dirty(ds->ds_dir->dd_dbuf, tx);
1502 mutex_enter(&ds->ds_dir
[all...]
H A Ddsl_bookmark.c60 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset;
260 dsl_pool_t *dp = ds->ds_dir->dd_pool;
340 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset;
H A Ddsl_userhold.c137 dsl_pool_t *dp = ds->ds_dir->dd_pool;
362 mos = ds->ds_dir->dd_pool->dp_meta_objset;
476 dsl_pool_t *dp = ds->ds_dir->dd_pool;
653 for (zap_cursor_init(&zc, ds->ds_dir->dd_pool->dp_meta_objset,
H A Ddmu_send.c594 spa_t *spa = ds->ds_dir->dd_pool->dp_spa;
994 is_clone = (fromds->ds_dir != ds->ds_dir);
1065 is_clone = (ds->ds_dir != fromds->ds_dir);
1141 dsl_pool_t *dp = ds->ds_dir->dd_pool;
1210 dsl_pool_t *dp = ds->ds_dir->dd_pool;
1252 dsl_pool_t *dp = ds->ds_dir->dd_pool;
1256 dsl_dir_phys(ds->ds_dir)->dd_child_dir_zapobj, recv_clone_name,
1277 error = dsl_fs_ss_limit_check(ds->ds_dir,
[all...]
H A Ddmu_objset.c108 if ((ds = os->os_dsl_dataset) != NULL && ds->ds_dir)
109 return (ds->ds_dir->dd_pool);
492 ASSERT(dsl_pool_config_held(ds->ds_dir->dd_pool) ||
759 return (dsl_dir_snap_cmtime(os->os_dsl_dataset->ds_dir));
1623 return (zap_lookup_norm(ds->ds_dir->dd_pool->dp_meta_objset,
1642 ds->ds_dir->dd_pool->dp_meta_objset,
1671 dsl_dir_t *dd = os->os_dsl_dataset->ds_dir;
H A Ddsl_deleg.c554 dp = ds->ds_dir->dd_pool;
578 for (dd = ds->ds_dir; dd != NULL; dd = dd->dd_parent,
H A Ddsl_scan.c391 uint64_t smt = ds->ds_dir->dd_pool->dp_scan->scn_phys.scn_max_txg;
821 dsl_pool_t *dp = ds->ds_dir->dd_pool;
891 dsl_pool_t *dp = ds->ds_dir->dd_pool;
925 dsl_pool_t *dp = ds1->ds_dir->dd_pool;
998 if (dsl_dir_phys(hds->ds_dir)->dd_origin_obj != eca->originobj)
H A Ddmu_traverse.c633 return (traverse_impl(ds->ds_dir->dd_pool->dp_spa, ds, ds->ds_object,
H A Dzfs_ioctl.c928 dd = clone->ds_dir;
2317 dsl_pool_t *dp = os->os_dsl_dataset->ds_dir->dd_pool;
3471 if (dsl_dir_is_clone(ds->ds_dir) && DS_IS_DEFER_DESTROY(ds->ds_prev)) {
4431 if (dsl_dir_is_clone(tosnap->ds_dir))
4433 dsl_dir_phys(tosnap->ds_dir)->dd_origin_obj;
H A Ddmu_tx.c69 dmu_tx_t *tx = dmu_tx_create_dd(os->os_dsl_dataset->ds_dir);
H A Ddnode.c1819 dsl_dir_willuse_space(ds->ds_dir, aspace, tx);
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_dataset.h150 struct dsl_dir *ds_dir; member in struct:dsl_dataset
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c273 uintptr_t ds_dir; local
301 GETMEMBID(os_dsl_dataset, &ds_id, ds_dir, ds_dir)) {
305 if (ds_dir && mdb_dsl_dir_name(ds_dir, buf))

Completed in 113 milliseconds