/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | dsl_dataset.h | 263 } dsl_dataset_t; typedef 266 dsl_dataset_phys(dsl_dataset_t *ds) in dsl_dataset_phys() 273 dsl_dataset_t *ddpa_clone; 275 dsl_dataset_t *origin_origin; /* origin of the origin */ 314 dsl_dataset_t **dsp); 316 ds_hold_flags_t flags, void *tag, dsl_dataset_t **dsp); 317 boolean_t dsl_dataset_try_add_ref(struct dsl_pool *dp, dsl_dataset_t *ds, 319 int dsl_dataset_create_key_mapping(dsl_dataset_t *ds); 321 dsl_dataset_t **); 323 ds_hold_flags_t flags, void *tag, dsl_dataset_t **); [all …]
|
H A D | zcp_prop.h | 28 boolean_t prop_valid_for_ds(dsl_dataset_t *ds, zfs_prop_t zfs_prop);
|
H A D | dsl_bookmark.h | 60 int dsl_get_bookmarks_impl(dsl_dataset_t *, nvlist_t *, nvlist_t *);
|
H A D | zfs_vfsops.h | 168 extern int zfs_get_temporary_prop(dsl_dataset_t *ds, zfs_prop_t zfs_prop,
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_dataset.c | 84 extern inline dsl_dataset_phys_t *dsl_dataset_phys(dsl_dataset_t *ds); 86 static void dsl_dataset_set_remap_deadlist_object(dsl_dataset_t *ds, 88 static void dsl_dataset_unset_remap_deadlist_object(dsl_dataset_t *ds, 91 static void unload_zfeature(dsl_dataset_t *ds, spa_feature_t f); 103 parent_delta(dsl_dataset_t *ds, int64_t delta) in parent_delta() 120 dsl_dataset_block_born(dsl_dataset_t *ds, const blkptr_t *bp, dmu_tx_t *tx) in dsl_dataset_block_born() 177 dsl_dataset_block_remapped(dsl_dataset_t *ds, uint64_t vdev, uint64_t offset, in dsl_dataset_block_remapped() 211 dsl_dataset_block_kill(dsl_dataset_t *ds, const blkptr_t *bp, dmu_tx_t *tx, in dsl_dataset_block_kill() 302 unload_zfeature(dsl_dataset_t *ds, spa_feature_t f) in unload_zfeature() 320 load_zfeature(objset_t *mos, dsl_dataset_t *ds, spa_feature_t f) in load_zfeature() [all …]
|
H A D | dsl_bookmark.c | 37 dsl_dataset_t **dsp, void *tag, char **shortnamep) in dsl_bookmark_hold_ds() 59 dsl_dataset_bmark_lookup(dsl_dataset_t *ds, const char *shortname, in dsl_dataset_bmark_lookup() 95 dsl_dataset_t *later_ds, zfs_bookmark_phys_t *bmp) in dsl_bookmark_lookup() 98 dsl_dataset_t *ds; in dsl_bookmark_lookup() 120 dsl_bookmark_create_check_impl(dsl_dataset_t *snapds, const char *bookmark_name, in dsl_bookmark_create_check_impl() 124 dsl_dataset_t *bmark_fs; in dsl_bookmark_create_check_impl() 164 dsl_dataset_t *snapds; in dsl_bookmark_create_check() 196 dsl_dataset_t *snapds, *bmark_fs; in dsl_bookmark_create_sync() 281 dsl_get_bookmarks_impl(dsl_dataset_t *ds, nvlist_t *props, nvlist_t *outnvl) in dsl_get_bookmarks_impl() 343 dsl_dataset_t *ds; in dsl_get_bookmarks() [all …]
|
H A D | dsl_destroy.c | 48 dsl_destroy_snapshot_check_impl(dsl_dataset_t *ds, boolean_t defer) in dsl_destroy_snapshot_check_impl() 92 dsl_dataset_t *ds; in dsl_destroy_snapshot_check() 113 dsl_dataset_t *ds; 114 dsl_dataset_t *ds_prev; 146 process_old_deadlist(dsl_dataset_t *ds, dsl_dataset_t *ds_prev, in process_old_deadlist() 147 dsl_dataset_t *ds_next, boolean_t after_branch_point, dmu_tx_t *tx) in process_old_deadlist() 184 dsl_dataset_remove_clones_key(dsl_dataset_t *ds, uint64_t mintxg, dmu_tx_t *tx) in dsl_dataset_remove_clones_key() 201 dsl_dataset_t *clone; in dsl_dataset_remove_clones_key() 220 dsl_destroy_snapshot_handle_remaps(dsl_dataset_t *ds, dsl_dataset_t *ds_next, in dsl_destroy_snapshot_handle_remaps() 253 dsl_destroy_snapshot_sync_impl(dsl_dataset_t *ds, boolean_t defer, dmu_tx_t *tx) in dsl_destroy_snapshot_sync_impl() [all …]
|
H A D | dsl_userhold.c | 51 dsl_dataset_user_hold_check_one(dsl_dataset_t *ds, const char *htag, in dsl_dataset_user_hold_check_one() 116 dsl_dataset_t *ds; in dsl_dataset_user_hold_check() 155 dsl_dataset_user_hold_sync_one_impl(nvlist_t *tmpholds, dsl_dataset_t *ds, in dsl_dataset_user_hold_sync_one_impl() 259 dsl_dataset_user_hold_sync_one(dsl_dataset_t *ds, const char *htag, in dsl_dataset_user_hold_sync_one() 287 dsl_dataset_t *ds; in dsl_dataset_user_hold_sync() 350 dsl_dataset_t **dsp); 363 dsl_dataset_t **dsp) in dsl_dataset_hold_obj_string() 370 dsl_dataset_t *ds, nvlist_t *holds, const char *snapname) in dsl_dataset_user_release_check_one() 463 dsl_dataset_t *ds; in dsl_dataset_user_release_check() 495 dsl_dataset_user_release_sync_one(dsl_dataset_t *ds, nvlist_t *holds, in dsl_dataset_user_release_sync_one() [all …]
|
H A D | zcp_iter.c | 53 dsl_dataset_t *ds, *clone; in zcp_clones_iter() 133 dsl_dataset_t *ds = zcp_dataset_hold(state, dp, snapname, FTAG); in zcp_clones_list() 160 dsl_dataset_t *ds; in zcp_snapshots_iter() 217 dsl_dataset_t *ds = zcp_dataset_hold(state, dp, fsname, FTAG); in zcp_snapshots_list() 258 dsl_dataset_t *ds; in zcp_children_iter() 318 dsl_dataset_t *ds = zcp_dataset_hold(state, dp, fsname, FTAG); in zcp_children_list() 399 dsl_dataset_t *ds = zcp_dataset_hold(state, dp, dsname, FTAG); in zcp_props_list() 423 zcp_dataset_props(dsl_dataset_t *ds, nvlist_t *nv) in zcp_dataset_props() 465 dsl_dataset_t *ds = zcp_dataset_hold(state, dp, dataset_name, FTAG); in zcp_system_props_list()
|
H A D | zcp_get.c | 46 get_objset_type(dsl_dataset_t *ds, zfs_type_t *type) in get_objset_type() 75 get_objset_type_name(dsl_dataset_t *ds, char *str) in get_objset_type_name() 160 dsl_dataset_t *ds = zcp_dataset_hold(state, dp, dataset_name, FTAG); in zcp_get_user_prop() 186 get_dsl_dir_prop(dsl_dataset_t *ds, zfs_prop_t zfs_prop, in get_dsl_dir_prop() 222 get_special_prop(lua_State *state, dsl_dataset_t *ds, const char *dsname, in get_special_prop() 428 get_zap_prop(lua_State *state, dsl_dataset_t *ds, zfs_prop_t zfs_prop) in get_zap_prop() 481 prop_valid_for_ds(dsl_dataset_t *ds, zfs_prop_t zfs_prop) in prop_valid_for_ds() 516 dsl_dataset_t *ds = zcp_dataset_hold(state, dp, dataset_name, FTAG); in zcp_get_system_prop() 628 dsl_dataset_t *ds = zcp_dataset_hold(state, dp, dataset_name, FTAG); in zcp_get_userquota_prop() 692 dsl_dataset_t *old; in zcp_get_written_prop() [all …]
|
H A D | dmu_objset.c | 119 dsl_dataset_t *ds; in dmu_objset_pool() 127 dsl_dataset_t * 148 dsl_dataset_t *ds = os->os_dsl_dataset; in dmu_objset_id() 406 dmu_objset_open_impl(spa_t *spa, dsl_dataset_t *ds, blkptr_t *bp, in dmu_objset_open_impl() 645 dmu_objset_from_ds(dsl_dataset_t *ds, objset_t **osp) in dmu_objset_from_ds() 685 dsl_dataset_t *ds; in dmu_objset_hold_flags() 716 dmu_objset_own_impl(dsl_dataset_t *ds, dmu_objset_type_t type, in dmu_objset_own_impl() 760 dsl_dataset_t *ds; in dmu_objset_own() 800 dsl_dataset_t *ds; in dmu_objset_own_obj() 847 dmu_objset_refresh_ownership(dsl_dataset_t *ds, dsl_dataset_t **newds, in dmu_objset_refresh_ownership() [all …]
|
H A D | dsl_pool.c | 199 offsetof(dsl_dataset_t, ds_dirty_link)); in dsl_pool_open_impl() 252 dsl_dataset_t *ds; in dsl_pool_open() 451 dsl_dataset_t *ds; in dsl_pool_create() 603 dsl_dataset_t *ds; in dsl_pool_sync() 607 list_create(&synced_datasets, sizeof (dsl_dataset_t), in dsl_pool_sync() 608 offsetof(dsl_dataset_t, ds_synced_link)); in dsl_pool_sync() 778 dsl_dataset_t *ds = dmu_objset_ds(zilog->zl_os); in dsl_pool_sync_done() 915 upgrade_clones_cb(dsl_pool_t *dp, dsl_dataset_t *hds, void *arg) in upgrade_clones_cb() 918 dsl_dataset_t *ds, *prev = NULL; in upgrade_clones_cb() 1006 upgrade_dir_clones_cb(dsl_pool_t *dp, dsl_dataset_t *ds, void *arg) in upgrade_dir_clones_cb() [all …]
|
H A D | dsl_prop.c | 160 dsl_prop_get_ds(dsl_dataset_t *ds, const char *propname, in dsl_prop_get_ds() 278 dsl_prop_register(dsl_dataset_t *ds, const char *propname, in dsl_prop_register() 346 dsl_prop_get_int_ds(dsl_dataset_t *ds, const char *propname, in dsl_prop_get_int_ds() 440 dsl_prop_unregister_all(dsl_dataset_t *ds, void *cbarg) in dsl_prop_unregister_all() 461 dsl_prop_hascb(dsl_dataset_t *ds) in dsl_prop_hascb() 468 dsl_prop_notify_all_cb(dsl_pool_t *dp, dsl_dataset_t *ds, void *arg) in dsl_prop_notify_all_cb() 610 dsl_prop_set_sync_impl(dsl_dataset_t *ds, const char *propname, in dsl_prop_set_sync_impl() 810 dsl_dataset_t *ds; in dsl_props_set_check() 845 dsl_props_set_sync_impl(dsl_dataset_t *ds, zprop_source_t source, in dsl_props_set_sync_impl() 888 dsl_dataset_t *ds; in dsl_props_set_sync() [all …]
|
H A D | dmu_send.c | 78 dsl_dataset_t *ds; /* Dataset to traverse */ 100 dsl_dataset_t *ds = dmu_objset_ds(dsp->dsa_os); in dump_bytes() 732 dsl_dataset_t *ds = dmu_objset_ds(dsa->dsa_os); in do_dump() 952 dmu_send_impl(void *tag, dsl_pool_t *dp, dsl_dataset_t *to_ds, in dmu_send_impl() 1223 dsl_dataset_t *ds; in dmu_send_obj() 1224 dsl_dataset_t *fromds = NULL; in dmu_send_obj() 1289 dsl_dataset_t *ds; in dmu_send() 1332 dsl_dataset_t *fromds; in dmu_send() 1381 dmu_adjust_send_estimate_for_indirects(dsl_dataset_t *ds, uint64_t uncompressed, in dmu_adjust_send_estimate_for_indirects() 1436 dmu_send_estimate(dsl_dataset_t *ds, dsl_dataset_t *fromds, in dmu_send_estimate() [all …]
|
H A D | dmu_recv.c | 80 recv_begin_check_existing_impl(dmu_recv_begin_arg_t *drba, dsl_dataset_t *ds, in recv_begin_check_existing_impl() 119 dsl_dataset_t *snap; in recv_begin_check_existing_impl() 213 dsl_dataset_t *ds; in dmu_recv_begin_check() 363 dsl_dataset_t *origin; in dmu_recv_begin_check() 405 dsl_dataset_t *ds, *newds; in dmu_recv_begin_sync() 437 dsl_dataset_t *snap = NULL; in dmu_recv_begin_sync() 453 dsl_dataset_t *origin = NULL; in dmu_recv_begin_sync() 552 dsl_dataset_t *ds; in dmu_recv_resume_begin_check() 677 dsl_dataset_t *ds; in dmu_recv_resume_begin_sync() 888 dsl_dataset_t *gme_ds; [all …]
|
H A D | dsl_scan.c | 1750 dnode_phys_t *dnp, dsl_dataset_t *ds, dsl_scan_t *scn, 1753 dsl_scan_t *, dsl_dataset_t *ds, dmu_objset_type_t ostype, 1761 dsl_scan_recurse(dsl_scan_t *scn, dsl_dataset_t *ds, dmu_objset_type_t ostype, in dsl_scan_recurse() 1860 dsl_scan_visitdnode(dsl_scan_t *scn, dsl_dataset_t *ds, in dsl_scan_visitdnode() 1890 dnode_phys_t *dnp, dsl_dataset_t *ds, dsl_scan_t *scn, in dsl_scan_visitbp() 1963 dsl_scan_visit_rootbp(dsl_scan_t *scn, dsl_dataset_t *ds, blkptr_t *bp, in dsl_scan_visit_rootbp() 1991 ds_destroyed_scn_phys(dsl_dataset_t *ds, dsl_scan_phys_t *scn_phys) in ds_destroyed_scn_phys() 2035 dsl_scan_ds_destroyed(dsl_dataset_t *ds, dmu_tx_t *tx) in dsl_scan_ds_destroyed() 2088 ds_snapshotted_bookmark(dsl_dataset_t *ds, zbookmark_phys_t *scn_bookmark) in ds_snapshotted_bookmark() 2107 dsl_scan_ds_snapshotted(dsl_dataset_t *ds, dmu_tx_t *tx) in dsl_scan_ds_snapshotted() [all …]
|
H A D | dmu_diff.c | 167 dsl_dataset_t *fromsnap; in dmu_diff() 168 dsl_dataset_t *tosnap; in dmu_diff()
|
H A D | dsl_crypt.c | 997 spa_keystore_create_mapping(spa_t *spa, dsl_dataset_t *ds, void *tag, in spa_keystore_create_mapping() 1485 dsl_dataset_t *clone; in spa_keystore_change_key_sync_impl() 1504 dsl_dataset_t *ds; in spa_keystore_change_key_sync() 1708 dsl_dataset_t *targetds; in dsl_dataset_promote_crypt_sync() 1709 dsl_dataset_t *originds; in dsl_dataset_promote_crypt_sync() 1866 dsl_dataset_t *origin, dsl_crypto_params_t *dcp, dmu_tx_t *tx) in dsl_dataset_create_crypt_sync() 1956 dsl_crypto_recv_raw_objset_check(dsl_dataset_t *ds, dsl_dataset_t *fromds, in dsl_crypto_recv_raw_objset_check() 2083 dsl_crypto_recv_raw_objset_sync(dsl_dataset_t *ds, dmu_objset_type_t ostype, in dsl_crypto_recv_raw_objset_sync() 2160 dsl_crypto_recv_raw_key_check(dsl_dataset_t *ds, nvlist_t *nvl, dmu_tx_t *tx) in dsl_crypto_recv_raw_key_check() 2252 dsl_crypto_recv_raw_key_sync(dsl_dataset_t *ds, nvlist_t *nvl, dmu_tx_t *tx) in dsl_crypto_recv_raw_key_sync() [all …]
|
H A D | dsl_dir.c | 527 dsl_dataset_t *ds; in dsl_dir_init_fs_ss_count() 609 dsl_dataset_t *ds; in dsl_dir_actv_fs_ss_limit_check() 640 dsl_dataset_t *ds; in dsl_dir_actv_fs_ss_limit_sync() 717 dsl_dataset_t *ds; in dsl_enforce_ds_ss_limits() 1045 dsl_dataset_t *ds; in dsl_dir_get_origin() 1292 dsl_dataset_t *ds = tx->tx_objset->os_dsl_dataset; in dsl_dir_tempreserve_impl() 1587 dsl_dataset_t *ds; in dsl_dir_set_quota_check() 1630 dsl_dataset_t *ds; in dsl_dir_set_quota_sync() 1674 dsl_dataset_t *ds; in dsl_dir_set_reservation_check() 1754 dsl_dataset_t *ds; in dsl_dir_set_reservation_sync() [all …]
|
H A D | zcp_set.c | 41 dsl_dataset_t *ds = zcp_dataset_hold(state, dp, dsname, FTAG); in zcp_set_user_prop()
|
H A D | dmu_traverse.c | 578 traverse_impl(spa_t *spa, dsl_dataset_t *ds, uint64_t objset, blkptr_t *rootbp, in traverse_impl() 664 traverse_dataset_resume(dsl_dataset_t *ds, uint64_t txg_start, in traverse_dataset_resume() 673 traverse_dataset(dsl_dataset_t *ds, uint64_t txg_start, in traverse_dataset() 719 dsl_dataset_t *ds; in traverse_pool()
|
H A D | zfs_ioctl.c | 536 zfs_dozonecheck_ds(const char *dataset, dsl_dataset_t *ds, cred_t *cr) in zfs_dozonecheck_ds() 547 zfs_secpolicy_write_perms_ds(const char *name, dsl_dataset_t *ds, in zfs_secpolicy_write_perms_ds() 565 dsl_dataset_t *ds; in zfs_secpolicy_write_perms() 774 dsl_dataset_t *ds; in zfs_secpolicy_send() 977 dsl_dataset_t *clone; in zfs_secpolicy_promote() 993 dsl_dataset_t *origin = NULL; in zfs_secpolicy_promote() 2433 dsl_dataset_t *ds; in zfs_ioc_snapshot_list_next() 3683 dsl_dataset_t *ds; in zfs_destroy_unmount_origin() 4174 dsl_dataset_t *ds; in zfs_ioc_rollback() 4879 dsl_dataset_t *ds; in zfs_ioc_recv_impl() [all …]
|
H A D | zcp.c | 619 dsl_dataset_t * 623 dsl_dataset_t *ds; in zcp_dataset_hold() 682 dsl_dataset_t *ds; in zcp_exists()
|
H A D | dsl_deleg.c | 542 dsl_deleg_access_impl(dsl_dataset_t *ds, const char *perm, cred_t *cr) in dsl_deleg_access_impl() 649 dsl_dataset_t *ds; in dsl_deleg_access()
|
H A D | dnode_sync.c | 136 dsl_dataset_t *ds = dn->dn_objset->os_dsl_dataset; in free_blocks() 791 dsl_dataset_t *ds = dn->dn_objset->os_dsl_dataset; in dnode_sync()
|