Lines Matching refs:dsphys

1178 	dsl_dataset_phys_t *dsphys;  in dsl_dataset_create_sync_dd()  local
1194 dsphys = dbuf->db_data; in dsl_dataset_create_sync_dd()
1195 memset(dsphys, 0, sizeof (dsl_dataset_phys_t)); in dsl_dataset_create_sync_dd()
1196 dsphys->ds_dir_obj = dd->dd_object; in dsl_dataset_create_sync_dd()
1197 dsphys->ds_flags = flags; in dsl_dataset_create_sync_dd()
1198 dsphys->ds_fsid_guid = unique_create(); in dsl_dataset_create_sync_dd()
1199 (void) random_get_pseudo_bytes((void*)&dsphys->ds_guid, in dsl_dataset_create_sync_dd()
1200 sizeof (dsphys->ds_guid)); in dsl_dataset_create_sync_dd()
1201 dsphys->ds_snapnames_zapobj = in dsl_dataset_create_sync_dd()
1204 dsphys->ds_creation_time = gethrestime_sec(); in dsl_dataset_create_sync_dd()
1205 dsphys->ds_creation_txg = tx->tx_txg == TXG_INITIAL ? 1 : tx->tx_txg; in dsl_dataset_create_sync_dd()
1208 dsphys->ds_deadlist_obj = dsl_deadlist_alloc(mos, tx); in dsl_dataset_create_sync_dd()
1212 dsphys->ds_prev_snap_obj = origin->ds_object; in dsl_dataset_create_sync_dd()
1213 dsphys->ds_prev_snap_txg = in dsl_dataset_create_sync_dd()
1215 dsphys->ds_referenced_bytes = in dsl_dataset_create_sync_dd()
1217 dsphys->ds_compressed_bytes = in dsl_dataset_create_sync_dd()
1219 dsphys->ds_uncompressed_bytes = in dsl_dataset_create_sync_dd()
1222 dsphys->ds_bp = dsl_dataset_phys(origin)->ds_bp; in dsl_dataset_create_sync_dd()
1229 dsphys->ds_flags |= dsl_dataset_phys(origin)->ds_flags & in dsl_dataset_create_sync_dd()
1245 dsphys->ds_deadlist_obj = dsl_deadlist_clone(&ohds->ds_deadlist, in dsl_dataset_create_sync_dd()
1246 dsphys->ds_prev_snap_txg, dsphys->ds_prev_snap_obj, tx); in dsl_dataset_create_sync_dd()
1279 dsphys->ds_flags |= DS_FLAG_UNIQUE_ACCURATE; in dsl_dataset_create_sync_dd()
1726 dsl_dataset_phys_t *dsphys; in dsl_dataset_snapshot_sync_impl() local
1760 dsphys = dbuf->db_data; in dsl_dataset_snapshot_sync_impl()
1761 memset(dsphys, 0, sizeof (dsl_dataset_phys_t)); in dsl_dataset_snapshot_sync_impl()
1762 dsphys->ds_dir_obj = ds->ds_dir->dd_object; in dsl_dataset_snapshot_sync_impl()
1763 dsphys->ds_fsid_guid = unique_create(); in dsl_dataset_snapshot_sync_impl()
1764 (void) random_get_pseudo_bytes((void*)&dsphys->ds_guid, in dsl_dataset_snapshot_sync_impl()
1765 sizeof (dsphys->ds_guid)); in dsl_dataset_snapshot_sync_impl()
1766 dsphys->ds_prev_snap_obj = dsl_dataset_phys(ds)->ds_prev_snap_obj; in dsl_dataset_snapshot_sync_impl()
1767 dsphys->ds_prev_snap_txg = dsl_dataset_phys(ds)->ds_prev_snap_txg; in dsl_dataset_snapshot_sync_impl()
1768 dsphys->ds_next_snap_obj = ds->ds_object; in dsl_dataset_snapshot_sync_impl()
1769 dsphys->ds_num_children = 1; in dsl_dataset_snapshot_sync_impl()
1770 dsphys->ds_creation_time = gethrestime_sec(); in dsl_dataset_snapshot_sync_impl()
1771 dsphys->ds_creation_txg = crtxg; in dsl_dataset_snapshot_sync_impl()
1772 dsphys->ds_deadlist_obj = dsl_dataset_phys(ds)->ds_deadlist_obj; in dsl_dataset_snapshot_sync_impl()
1773 dsphys->ds_referenced_bytes = dsl_dataset_phys(ds)->ds_referenced_bytes; in dsl_dataset_snapshot_sync_impl()
1774 dsphys->ds_compressed_bytes = dsl_dataset_phys(ds)->ds_compressed_bytes; in dsl_dataset_snapshot_sync_impl()
1775 dsphys->ds_uncompressed_bytes = in dsl_dataset_snapshot_sync_impl()
1777 dsphys->ds_flags = dsl_dataset_phys(ds)->ds_flags; in dsl_dataset_snapshot_sync_impl()
1779 dsphys->ds_bp = dsl_dataset_phys(ds)->ds_bp; in dsl_dataset_snapshot_sync_impl()
1806 dsphys->ds_next_snap_obj, tx); in dsl_dataset_snapshot_sync_impl()