Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/fs/zfs/
H A Ddsl_destroy.c81 if (dsl_dataset_phys(ds)->ds_num_children > 1) in dsl_destroy_snapshot_check_impl()
150 if (bp->blk_birth <= dsl_dataset_phys(poa->ds)->ds_prev_snap_txg) { in process_old_cb()
154 dsl_dataset_phys(poa->ds_prev)->ds_prev_snap_txg) { in process_old_cb()
155 dsl_dataset_phys(poa->ds_prev)->ds_unique_bytes += in process_old_cb()
186 ASSERT3U(poa.used, ==, dsl_dataset_phys(ds)->ds_unique_bytes); in process_old_deadlist()
195 deadlist_obj = dsl_dataset_phys(ds)->ds_deadlist_obj; in process_old_deadlist()
196 dsl_dataset_phys(ds)->ds_deadlist_obj = in process_old_deadlist()
197 dsl_dataset_phys(ds_next)->ds_deadlist_obj; in process_old_deadlist()
198 dsl_dataset_phys(ds_next)->ds_deadlist_obj = deadlist_obj; in process_old_deadlist()
200 dsl_dataset_phys(ds)->ds_deadlist_obj); in process_old_deadlist()
[all …]
H A Ddsl_dataset.c78 extern inline dsl_dataset_phys_t *dsl_dataset_phys(dsl_dataset_t *ds);
94 ds_phys = dsl_dataset_phys(ds); in parent_delta()
127 dsl_dataset_phys(ds)->ds_referenced_bytes += used; in dsl_dataset_block_born()
128 dsl_dataset_phys(ds)->ds_compressed_bytes += compressed; in dsl_dataset_block_born()
129 dsl_dataset_phys(ds)->ds_uncompressed_bytes += uncompressed; in dsl_dataset_block_born()
130 dsl_dataset_phys(ds)->ds_unique_bytes += used; in dsl_dataset_block_born()
167 if (bp->blk_birth > dsl_dataset_phys(ds)->ds_prev_snap_txg) { in dsl_dataset_block_kill()
174 ASSERT(dsl_dataset_phys(ds)->ds_unique_bytes >= used || in dsl_dataset_block_kill()
177 dsl_dataset_phys(ds)->ds_unique_bytes -= used; in dsl_dataset_block_kill()
198 dsl_dataset_phys(ds)->ds_prev_snap_obj); in dsl_dataset_block_kill()
[all …]
H A Ddsl_scan.c379 return (MIN(smt, dsl_dataset_phys(ds)->ds_creation_txg)); in dsl_scan_ds_maxtxg()
827 dsl_dataset_phys(ds)->ds_next_snap_obj; in dsl_scan_ds_destroyed()
831 (u_longlong_t)dsl_dataset_phys(ds)-> in dsl_scan_ds_destroyed()
843 ASSERT3U(dsl_dataset_phys(ds)->ds_num_children, <=, 1); in dsl_scan_ds_destroyed()
854 dsl_dataset_phys(ds)->ds_next_snap_obj, in dsl_scan_ds_destroyed()
859 (u_longlong_t)dsl_dataset_phys(ds)-> in dsl_scan_ds_destroyed()
884 ASSERT(dsl_dataset_phys(ds)->ds_prev_snap_obj != 0); in dsl_scan_ds_snapshotted()
888 dsl_dataset_phys(ds)->ds_prev_snap_obj; in dsl_scan_ds_snapshotted()
892 (u_longlong_t)dsl_dataset_phys(ds)->ds_prev_snap_obj); in dsl_scan_ds_snapshotted()
899 dsl_dataset_phys(ds)->ds_prev_snap_obj, mintxg, tx) == 0); in dsl_scan_ds_snapshotted()
[all …]
H A Ddsl_userhold.c67 if (ds != NULL && dsl_dataset_phys(ds)->ds_userrefs_obj != 0) { in dsl_dataset_user_hold_check_one()
70 error = zap_lookup(mos, dsl_dataset_phys(ds)->ds_userrefs_obj, in dsl_dataset_user_hold_check_one()
143 if (dsl_dataset_phys(ds)->ds_userrefs_obj == 0) { in dsl_dataset_user_hold_sync_one_impl()
149 zapobj = dsl_dataset_phys(ds)->ds_userrefs_obj = in dsl_dataset_user_hold_sync_one_impl()
152 zapobj = dsl_dataset_phys(ds)->ds_userrefs_obj; in dsl_dataset_user_hold_sync_one_impl()
363 zapobj = dsl_dataset_phys(ds)->ds_userrefs_obj; in dsl_dataset_user_release_check_one()
402 dsl_dataset_phys(ds)->ds_num_children == 1 && in dsl_dataset_user_release_check_one()
488 VERIFY0(zap_remove(mos, dsl_dataset_phys(ds)->ds_userrefs_obj, in dsl_dataset_user_release_sync_one()
518 dsl_dataset_phys(ds)->ds_num_children == 1 && in dsl_dataset_user_release_sync()
648 if (dsl_dataset_phys(ds)->ds_userrefs_obj != 0) { in dsl_dataset_get_holds()
[all …]
H A Ddsl_pool.c225 dsl_dataset_phys(ds)->ds_prev_snap_obj, dp, in dsl_pool_open()
687 while (dsl_dataset_phys(ds)->ds_prev_snap_obj != 0) { in upgrade_clones_cb()
689 dsl_dataset_phys(ds)->ds_prev_snap_obj, FTAG, &prev); in upgrade_clones_cb()
695 if (dsl_dataset_phys(prev)->ds_next_snap_obj != ds->ds_object) in upgrade_clones_cb()
709 ASSERT0(dsl_dataset_phys(prev)->ds_bp.blk_birth); in upgrade_clones_cb()
718 dsl_dataset_phys(ds)->ds_prev_snap_obj = prev->ds_object; in upgrade_clones_cb()
719 dsl_dataset_phys(ds)->ds_prev_snap_txg = in upgrade_clones_cb()
720 dsl_dataset_phys(prev)->ds_creation_txg; in upgrade_clones_cb()
726 dsl_dataset_phys(prev)->ds_num_children++; in upgrade_clones_cb()
728 if (dsl_dataset_phys(ds)->ds_next_snap_obj == 0) { in upgrade_clones_cb()
[all …]
H A Ddmu_send.c745 dsl_dataset_phys(to_ds)->ds_creation_time; in dmu_send_impl()
749 drr->drr_u.drr_begin.drr_toguid = dsl_dataset_phys(to_ds)->ds_guid; in dmu_send_impl()
750 if (dsl_dataset_phys(to_ds)->ds_flags & DS_FLAG_CI_DATASET) in dmu_send_impl()
772 dsp->dsa_toguid = dsl_dataset_phys(to_ds)->ds_guid; in dmu_send_impl()
911 dsl_dataset_phys(fromds)->ds_creation_time; in dmu_send_obj()
912 zb.zbm_creation_txg = dsl_dataset_phys(fromds)->ds_creation_txg; in dmu_send_obj()
913 zb.zbm_guid = dsl_dataset_phys(fromds)->ds_guid; in dmu_send_obj()
980 dsl_dataset_phys(fromds)->ds_creation_time; in dmu_send()
982 dsl_dataset_phys(fromds)->ds_creation_txg; in dmu_send()
983 zb.zbm_guid = dsl_dataset_phys(fromds)->ds_guid; in dmu_send()
[all …]
H A Ddsl_bookmark.c68 if (dsl_dataset_phys(ds)->ds_flags & DS_FLAG_CI_DATASET) in dsl_dataset_bmark_lookup()
211 bmark_phys.zbm_guid = dsl_dataset_phys(snapds)->ds_guid; in dsl_bookmark_create_sync()
213 dsl_dataset_phys(snapds)->ds_creation_txg; in dsl_bookmark_create_sync()
215 dsl_dataset_phys(snapds)->ds_creation_time; in dsl_bookmark_create_sync()
344 if (dsl_dataset_phys(ds)->ds_flags & DS_FLAG_CI_DATASET) in dsl_dataset_bookmark_remove()
H A Ddsl_prop.c170 zapobj = dsl_dataset_phys(ds)->ds_props_obj; in dsl_prop_get_ds()
533 propobj = dsl_dataset_phys(cbr->cbr_ds)->ds_props_obj; in dsl_prop_changed_notify()
579 if (dsl_dataset_phys(ds)->ds_props_obj == 0) { in dsl_prop_set_sync_impl()
581 dsl_dataset_phys(ds)->ds_props_obj = in dsl_prop_set_sync_impl()
585 zapobj = dsl_dataset_phys(ds)->ds_props_obj; in dsl_prop_set_sync_impl()
1020 if (dsl_dataset_phys(ds)->ds_props_obj != 0) { in dsl_prop_get_all_ds()
1024 dsl_dataset_phys(ds)->ds_props_obj, setpoint, flags, *nvp); in dsl_prop_get_all_ds()
H A Ddmu_traverse.c631 &dsl_dataset_phys(ds)->ds_bp, txg_start, resume, flags, func, arg)); in traverse_dataset_resume()
692 if (dsl_dataset_phys(ds)->ds_prev_snap_txg > txg) in traverse_pool()
693 txg = dsl_dataset_phys(ds)->ds_prev_snap_txg; in traverse_pool()
H A Ddmu_objset.c1560 if (dsl_dataset_phys(ds)->ds_snapnames_zapobj == 0) in dmu_snapshot_realname()
1564 dsl_dataset_phys(ds)->ds_snapnames_zapobj, name, 8, 1, &ignored, in dmu_snapshot_realname()
1578 if (dsl_dataset_phys(ds)->ds_snapnames_zapobj == 0) in dmu_snapshot_list_next()
1583 dsl_dataset_phys(ds)->ds_snapnames_zapobj, *offp); in dmu_snapshot_list_next()
1718 snapobj = dsl_dataset_phys(ds)->ds_snapnames_zapobj; in dmu_objset_find_dp_impl()
1942 snapobj = dsl_dataset_phys(ds)->ds_snapnames_zapobj; in dmu_objset_find_impl()
H A Ddmu_diff.c197 fromtxg = dsl_dataset_phys(fromsnap)->ds_creation_txg; in dmu_diff()
H A Ddsl_deadlist.c315 dsl_dataset_phys(ds)->ds_prev_snap_txg, tx); in dsl_deadlist_regenerate()
316 mrs_obj = dsl_dataset_phys(ds)->ds_prev_snap_obj; in dsl_deadlist_regenerate()
H A Ddmu_tx.c793 ds_phys = dsl_dataset_phys(dn->dn_objset->os_dsl_dataset); in dmu_tx_hold_zap()
H A Ddsl_dir.c578 for (zap_cursor_init(zc, os, dsl_dataset_phys(ds)->ds_snapnames_zapobj); in dsl_dir_init_fs_ss_count()
H A Dzfs_ioctl.c4940 dsl_dataset_phys(os->os_dsl_dataset)->ds_prev_snap_txg); in zfs_ioc_next_obj()
/titanic_44/usr/src/uts/common/fs/zev/
H A Dzev_callbacks.c110 rec->guid = dsl_dataset_phys(zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_zfs_mount_cb()
161 rec->guid = dsl_dataset_phys(zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_zfs_umount_cb()
201 rec->guid = dsl_dataset_phys(os->os_dsl_dataset)->ds_guid; in zev_zvol_truncate_cb()
234 rec->guid = dsl_dataset_phys(os->os_dsl_dataset)->ds_guid; in zev_zvol_write_cb()
264 dsl_dataset_phys(zp->z_zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_znode_close_after_update_cb()
327 dsl_dataset_phys(zp->z_zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_znode_create_cb()
384 dsl_dataset_phys(dzp->z_zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_znode_remove_cb()
416 dsl_dataset_phys(zp->z_zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_znode_link_cb()
454 dsl_dataset_phys(dzp->z_zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_znode_symlink_cb()
497 dsl_dataset_phys(szp->z_zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_znode_rename_cb()
[all …]
H A Dzev_checksums.c144 dsl_dataset_phys(zp->z_zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_chksum_cache_file_get_and_hold()
153 dsl_dataset_phys(zp->z_zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_chksum_cache_file_get_and_hold()
/titanic_44/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_dataset.h53 (dsl_dataset_phys(ds)->ds_flags & DS_FLAG_INCONSISTENT)
73 (dsl_dataset_phys(ds)->ds_flags & DS_FLAG_DEFER_DESTROY)
114 typedef struct dsl_dataset_phys { struct
227 dsl_dataset_phys(dsl_dataset_t *ds) in dsl_dataset_phys() function
239 (dsl_dataset_phys(ds)->ds_num_children != 0)
242 ((dsl_dataset_phys(ds)->ds_flags & DS_FLAG_UNIQUE_ACCURATE) != 0)
/titanic_44/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Ddsl_dataset.h29 typedef struct dsl_dataset_phys { struct
/titanic_44/usr/src/uts/common/fs/getgen/
H A Dgetgen.c74 ds_phys = dsl_dataset_phys(zfsvfs->z_os->os_dsl_dataset); in gg_ioc_get_gen()