Lines Matching refs:snapname
719 const char *snapname; in dsl_dataset_hold_flags() local
724 err = dsl_dir_hold(dp, name, FTAG, &dd, &snapname); in dsl_dataset_hold_flags()
736 if (err == 0 && snapname != NULL) { in dsl_dataset_hold_flags()
739 if (*snapname++ != '@') { in dsl_dataset_hold_flags()
745 dprintf("looking for snapshot '%s'\n", snapname); in dsl_dataset_hold_flags()
746 err = dsl_dataset_snap_lookup(ds, snapname, &obj); in dsl_dataset_hold_flags()
756 (void) strlcpy(snap_ds->ds_snapname, snapname, in dsl_dataset_hold_flags()
1376 dsl_dataset_snapshot_check_impl(dsl_dataset_t *ds, const char *snapname, in dsl_dataset_snapshot_check_impl() argument
1397 error = dsl_dataset_snap_lookup(ds, snapname, &value); in dsl_dataset_snapshot_check_impl()
1574 dsl_dataset_snapshot_sync_impl(dsl_dataset_t *ds, const char *snapname, in dsl_dataset_snapshot_sync_impl() argument
1604 if (strcmp(snapname, ORIGIN_DIR_NAME) == 0) in dsl_dataset_snapshot_sync_impl()
1738 snapname, 8, 1, &dsobj, tx)); in dsl_dataset_snapshot_sync_impl()
1810 char *snapname = nvpair_name(pair); in dsl_dataset_snapshot() local
1814 atp = strchr(snapname, '@'); in dsl_dataset_snapshot()
1819 (void) strlcpy(fsname, snapname, atp - snapname + 1); in dsl_dataset_snapshot()
1912 dsl_dataset_snapshot_tmp(const char *fsname, const char *snapname, in dsl_dataset_snapshot_tmp() argument
1922 ddsta.ddsta_snapname = snapname; in dsl_dataset_snapshot_tmp()