Lines Matching refs:ddrsa
2046 dsl_dataset_rename_snapshot_arg_t *ddrsa = arg;
2050 error = dsl_dataset_snap_lookup(hds, ddrsa->ddrsa_oldsnapname, &val);
2057 error = dsl_dataset_snap_lookup(hds, ddrsa->ddrsa_newsnapname, &val);
2065 strlen(ddrsa->ddrsa_newsnapname) >= ZFS_MAX_DATASET_NAME_LEN)
2074 dsl_dataset_rename_snapshot_arg_t *ddrsa = arg;
2079 error = dsl_dataset_hold(dp, ddrsa->ddrsa_fsname, FTAG, &hds);
2083 if (ddrsa->ddrsa_recursive) {
2085 dsl_dataset_rename_snapshot_check_impl, ddrsa,
2088 error = dsl_dataset_rename_snapshot_check_impl(dp, hds, ddrsa);
2098 dsl_dataset_rename_snapshot_arg_t *ddrsa = arg;
2101 dmu_tx_t *tx = ddrsa->ddrsa_tx;
2104 error = dsl_dataset_snap_lookup(hds, ddrsa->ddrsa_oldsnapname, &val);
2115 "-> @%s", ddrsa->ddrsa_newsnapname);
2117 VERIFY0(dsl_dataset_snap_remove(hds, ddrsa->ddrsa_oldsnapname, tx,
2120 (void) strcpy(ds->ds_snapname, ddrsa->ddrsa_newsnapname);
2133 dsl_dataset_rename_snapshot_arg_t *ddrsa = arg;
2137 VERIFY0(dsl_dataset_hold(dp, ddrsa->ddrsa_fsname, FTAG, &hds));
2138 ddrsa->ddrsa_tx = tx;
2139 if (ddrsa->ddrsa_recursive) {
2141 dsl_dataset_rename_snapshot_sync_impl, ddrsa,
2144 VERIFY0(dsl_dataset_rename_snapshot_sync_impl(dp, hds, ddrsa));
2153 dsl_dataset_rename_snapshot_arg_t ddrsa;
2155 ddrsa.ddrsa_fsname = fsname;
2156 ddrsa.ddrsa_oldsnapname = oldsnapname;
2157 ddrsa.ddrsa_newsnapname = newsnapname;
2158 ddrsa.ddrsa_recursive = recursive;
2161 dsl_dataset_rename_snapshot_sync, &ddrsa,