Home
last modified time | relevance | path

Searched refs:dsl_dir_phys (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_dir.c127 extern inline dsl_dir_phys_t *dsl_dir_phys(dsl_dir_t *dd);
208 if (dsl_dir_phys(dd)->dd_parent_obj) { in dsl_dir_hold_obj()
210 dsl_dir_phys(dd)->dd_parent_obj, NULL, dd, in dsl_dir_hold_obj()
219 dsl_dir_phys(dd->dd_parent)-> in dsl_dir_hold_obj()
227 dsl_dir_phys(dd->dd_parent)-> in dsl_dir_hold_obj()
247 dsl_dir_phys(dd)->dd_origin_obj, FTAG, in dsl_dir_hold_obj()
462 buf, dsl_dir_phys(dd)->dd_child_dir_zapobj); in dsl_dir_hold()
465 dsl_dir_phys(dd)->dd_child_dir_zapobj, in dsl_dir_hold()
546 for (zap_cursor_init(zc, os, dsl_dir_phys(dd)->dd_child_dir_zapobj); in dsl_dir_init_fs_ss_count()
580 dsl_dir_phys(dd)->dd_head_dataset_obj, FTAG, &ds)); in dsl_dir_init_fs_ss_count()
[all …]
H A Ddsl_destroy.c195 if (dsl_dir_phys(ds->ds_dir)->dd_clones == 0) in dsl_dataset_remove_clones_key()
198 for (zap_cursor_init(&zc, mos, dsl_dir_phys(ds->ds_dir)->dd_clones); in dsl_dataset_remove_clones_key()
405 dsl_dir_phys(ds->ds_dir)->dd_head_dataset_obj, FTAG, &hds)); in dsl_destroy_snapshot_sync_impl()
458 dsl_dir_phys(ds->ds_dir)->dd_head_dataset_obj, FTAG, &ds_head)); in dsl_destroy_snapshot_sync_impl()
718 dsl_dir_phys(ds->ds_dir)->dd_child_dir_zapobj, &count); in dsl_destroy_head_check_impl()
763 ASSERT0(dsl_dir_phys(dd)->dd_head_dataset_obj); in dsl_dir_destroy_sync()
782 ASSERT0(dsl_dir_phys(dd)->dd_used_bytes); in dsl_dir_destroy_sync()
783 ASSERT0(dsl_dir_phys(dd)->dd_reserved); in dsl_dir_destroy_sync()
785 ASSERT0(dsl_dir_phys(dd)->dd_used_breakdown[t]); in dsl_dir_destroy_sync()
792 VERIFY0(zap_destroy(mos, dsl_dir_phys(dd)->dd_child_dir_zapobj, tx)); in dsl_dir_destroy_sync()
[all …]
H A Ddsl_deleg.c167 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj; in dsl_deleg_set_sync()
170 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj = zap_create(mos, in dsl_deleg_set_sync()
211 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj; in dsl_deleg_unset_sync()
335 if (dsl_dir_phys(dd)->dd_deleg_zapobj == 0 || in dsl_deleg_get()
337 dsl_dir_phys(dd)->dd_deleg_zapobj, &n) != 0 || n == 0) in dsl_deleg_get()
342 dsl_dir_phys(dd)->dd_deleg_zapobj); in dsl_deleg_get()
596 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj; in dsl_deleg_access_impl()
675 uint64_t zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj; in copy_create_perms()
688 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj = zap_create(mos, in copy_create_perms()
726 uint64_t pzapobj = dsl_dir_phys(dd)->dd_deleg_zapobj; in dsl_deleg_set_create_perms()
H A Ddsl_dataset.c359 err = dmu_bonus_hold(mos, dsl_dir_phys(ds->ds_dir)->dd_head_dataset_obj, in dsl_dataset_get_snapname()
660 obj = dsl_dir_phys(dd)->dd_head_dataset_obj; in dsl_dataset_hold_flags()
914 ASSERT(dsl_dir_phys(dd)->dd_head_dataset_obj == 0); in dsl_dataset_create_sync_dd()
967 dsl_dir_phys(origin->ds_dir)->dd_head_dataset_obj, in dsl_dataset_create_sync_dd()
985 dsl_dir_phys(dd)->dd_origin_obj = origin->ds_object; in dsl_dataset_create_sync_dd()
987 if (dsl_dir_phys(origin->ds_dir)->dd_clones == 0) { in dsl_dataset_create_sync_dd()
989 dsl_dir_phys(origin->ds_dir)->dd_clones = in dsl_dataset_create_sync_dd()
994 dsl_dir_phys(origin->ds_dir)->dd_clones, in dsl_dataset_create_sync_dd()
1008 dsl_dir_phys(dd)->dd_head_dataset_obj = dsobj; in dsl_dataset_create_sync_dd()
2733 dsl_dir_phys(ds->ds_dir)->dd_origin_obj == in dsl_dataset_rollback_check()
[all …]
H A Ddsl_pool.c177 dsl_dir_phys(dp->dp_root_dir)->dd_child_dir_zapobj, in dsl_pool_open_special_dir()
276 dsl_dir_phys(dd)->dd_head_dataset_obj, FTAG, &ds); in dsl_pool_open()
963 dsl_dir_phys(ds->ds_dir)->dd_origin_obj = prev->ds_object; in upgrade_clones_cb()
976 ASSERT3U(dsl_dir_phys(ds->ds_dir)->dd_origin_obj, ==, prev->ds_object); in upgrade_clones_cb()
1011 if (dsl_dir_phys(ds->ds_dir)->dd_origin_obj != 0) { in upgrade_dir_clones_cb()
1015 dsl_dir_phys(ds->ds_dir)->dd_origin_obj, FTAG, &origin)); in upgrade_dir_clones_cb()
1017 if (dsl_dir_phys(origin->ds_dir)->dd_clones == 0) { in upgrade_dir_clones_cb()
1019 dsl_dir_phys(origin->ds_dir)->dd_clones = in upgrade_dir_clones_cb()
1025 dsl_dir_phys(origin->ds_dir)->dd_clones, in upgrade_dir_clones_cb()
H A Ddsl_prop.c107 err = zap_lookup(mos, dsl_dir_phys(dd)->dd_props_zapobj, in dsl_prop_get_dd()
119 err = zap_contains(mos, dsl_dir_phys(dd)->dd_props_zapobj, in dsl_prop_get_dd()
126 err = zap_lookup(mos, dsl_dir_phys(dd)->dd_props_zapobj, in dsl_prop_get_dd()
384 zapobj = dsl_dir_phys(dd)->dd_props_zapobj; in dsl_prop_predict()
556 err = zap_contains(mos, dsl_dir_phys(dd)->dd_props_zapobj, in dsl_prop_changed_notify()
598 dsl_dir_phys(dd)->dd_child_dir_zapobj); in dsl_prop_changed_notify()
637 zapobj = dsl_dir_phys(ds->ds_dir)->dd_props_zapobj; in dsl_prop_set_sync_impl()
1086 dsl_dir_phys(dd)->dd_props_zapobj, setpoint, flags, *nvp); in dsl_prop_get_all_ds()
H A Ddsl_scan.c2236 if (dsl_dir_phys(hds->ds_dir)->dd_origin_obj != originobj) in enqueue_clones_cb()
3331 (dsl_dir_phys(dp->dp_free_dir)->dd_used_bytes != 0 || in dsl_process_async_destroys()
3332 dsl_dir_phys(dp->dp_free_dir)->dd_compressed_bytes != 0 || in dsl_process_async_destroys()
3333 dsl_dir_phys(dp->dp_free_dir)->dd_uncompressed_bytes != 0)) { in dsl_process_async_destroys()
3348 dsl_dir_phys(dp->dp_free_dir)->dd_used_bytes, in dsl_process_async_destroys()
3349 dsl_dir_phys(dp->dp_free_dir)->dd_compressed_bytes, in dsl_process_async_destroys()
3350 dsl_dir_phys(dp->dp_free_dir)->dd_uncompressed_bytes, tx); in dsl_process_async_destroys()
3352 -dsl_dir_phys(dp->dp_free_dir)->dd_used_bytes, in dsl_process_async_destroys()
3353 -dsl_dir_phys(dp->dp_free_dir)->dd_compressed_bytes, in dsl_process_async_destroys()
3354 -dsl_dir_phys(dp->dp_free_dir)->dd_uncompressed_bytes, tx); in dsl_process_async_destroys()
[all …]
H A Ddsl_synctask.c235 uint64_t used = dsl_dir_phys(dp->dp_root_dir)->dd_used_bytes; in dsl_sync_task_sync()
H A Ddmu_objset.c2537 dsl_dir_phys(dd)->dd_head_dataset_obj) in dmu_dir_list_next()
2542 dsl_dir_phys(dd)->dd_child_dir_zapobj, *offp); in dmu_dir_list_next()
2606 thisobj = dsl_dir_phys(dd)->dd_head_dataset_obj; in dmu_objset_find_dp_impl()
2614 dsl_dir_phys(dd)->dd_child_dir_zapobj); in dmu_objset_find_dp_impl()
2841 thisobj = dsl_dir_phys(dd)->dd_head_dataset_obj; in dmu_objset_find_impl()
2849 dsl_dir_phys(dd)->dd_child_dir_zapobj); in dmu_objset_find_impl()
H A Dzcp_synctask.c502 uint64_t used = dsl_dir_phys(dp->dp_root_dir)->dd_used_bytes + in zcp_synctask_wrapper()
H A Dspa_history.c611 dsl_dir_phys(dd)->dd_head_dataset_obj); in spa_history_log_internal_dd()
H A Ddsl_crypt.c1466 dsl_dir_phys(dd)->dd_child_dir_zapobj); in spa_keystore_change_key_sync_impl()
1481 dsl_dir_phys(dd)->dd_clones); in spa_keystore_change_key_sync_impl()
1731 dsl_dir_phys(target)->dd_head_dataset_obj, FTAG, &targetds)); in dsl_dataset_promote_crypt_sync()
1733 dsl_dir_phys(origin)->dd_head_dataset_obj, FTAG, &originds)); in dsl_dataset_promote_crypt_sync()
H A Dspa_misc.c2597 uint64_t used = dsl_dir_phys(dp->dp_root_dir)->dd_used_bytes; in spa_suspend_async_destroy()
H A Dzfs_ioctl.c998 dsl_dir_phys(dd)->dd_origin_obj, FTAG, &origin); in zfs_secpolicy_promote()
5178 dsl_dir_phys(tosnap->ds_dir)->dd_origin_obj; in zfs_ioc_send()
5490 dsl_dir_phys(ds->ds_dir)->dd_origin_obj, FTAG, &ods); in zfs_ioc_promote()
H A Ddmu_recv.c92 dsl_dir_phys(ds->ds_dir)->dd_child_dir_zapobj, recv_clone_name, in recv_begin_check_existing_impl()
H A Dspa.c337 dsl_dir_phys(pool->dp_free_dir)->dd_used_bytes, in spa_prop_get_config()
346 dsl_dir_phys(pool->dp_leak_dir)->dd_used_bytes, in spa_prop_get_config()
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Ddsl_dir.h27 typedef struct dsl_dir_phys { struct
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_dir.h65 typedef struct dsl_dir_phys { struct
123 dsl_dir_phys(dsl_dir_t *dd) in dsl_dir_phys() function
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c2405 mos_obj_refd(dsl_dir_phys(dd)->dd_child_dir_zapobj); in count_dir_mos_objects()
2406 mos_obj_refd(dsl_dir_phys(dd)->dd_deleg_zapobj); in count_dir_mos_objects()
2407 mos_obj_refd(dsl_dir_phys(dd)->dd_props_zapobj); in count_dir_mos_objects()
2408 mos_obj_refd(dsl_dir_phys(dd)->dd_clones); in count_dir_mos_objects()
2459 refdbytes = dsl_dir_phys(os->os_spa->spa_dsl_pool->dp_mos_dir)-> in dump_dir()
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h1296 typedef struct dsl_dir_phys { struct