Lines Matching defs:snapname
584 const char *snapname;
589 err = dsl_dir_hold(dp, name, FTAG, &dd, &snapname);
601 if (err == 0 && snapname != NULL) {
604 if (*snapname++ != '@') {
610 dprintf("looking for snapshot '%s'\n", snapname);
611 err = dsl_dataset_snap_lookup(ds, snapname, &obj);
619 (void) strlcpy(snap_ds->ds_snapname, snapname,
1130 dsl_dataset_snapshot_check_impl(dsl_dataset_t *ds, const char *snapname,
1151 error = dsl_dataset_snap_lookup(ds, snapname, &value);
1328 dsl_dataset_snapshot_sync_impl(dsl_dataset_t *ds, const char *snapname,
1358 if (strcmp(snapname, ORIGIN_DIR_NAME) == 0)
1449 snapname, 8, 1, &dsobj, tx));
1521 char *snapname = nvpair_name(pair);
1525 atp = strchr(snapname, '@');
1530 (void) strlcpy(fsname, snapname, atp - snapname + 1);
1623 dsl_dataset_snapshot_tmp(const char *fsname, const char *snapname,
1633 ddsta.ddsta_snapname = snapname;