Lines Matching defs:name

17  * information: Portions Copyright [yyyy] [name of copyright owner]
352 dsl_dataset_snap_lookup(dsl_dataset_t *ds, const char *name, uint64_t *value)
364 err = zap_lookup_norm(mos, snapobj, name, 8, 1,
367 err = zap_lookup(mos, snapobj, name, 8, 1, value);
372 dsl_dataset_snap_remove(dsl_dataset_t *ds, const char *name, dmu_tx_t *tx,
387 err = zap_remove_norm(mos, snapobj, name, mt, tx);
389 err = zap_remove(mos, snapobj, name, tx);
580 dsl_dataset_hold(dsl_pool_t *dp, const char *name,
589 err = dsl_dir_hold(dp, name, FTAG, &dd, &snapname);
647 dsl_dataset_own(dsl_pool_t *dp, const char *name,
650 int err = dsl_dataset_hold(dp, name, tag, dsp);
690 dsl_dataset_name(dsl_dataset_t *ds, char *name)
693 (void) strcpy(name, "mos");
695 dsl_dir_name(ds->ds_dir, name);
698 VERIFY3U(strlcat(name, "@", ZFS_MAX_DATASET_NAME_LEN),
706 VERIFY3U(strlcat(name, ds->ds_snapname,
711 VERIFY3U(strlcat(name, ds->ds_snapname,
1149 * Check for conflicting snapshot name.
1211 * counts for each component of the name into an nvlist and then
1220 * name errors once.
1261 char *name;
1265 name = nvpair_name(pair);
1269 error = dsl_dataset_hold(dp, name, FTAG, &ds);
1280 name, error);
1293 char *name, *atp;
1296 name = nvpair_name(pair);
1297 if (strlen(name) >= ZFS_MAX_DATASET_NAME_LEN)
1300 atp = strchr(name, '@');
1304 (void) strlcpy(dsname, name, atp - name + 1);
1318 name, error);
1473 char *name, *atp;
1476 name = nvpair_name(pair);
1477 atp = strchr(name, '@');
1478 (void) strlcpy(dsname, name, atp - name + 1);
2056 /* new name should not exist */
2063 /* dataset name + 1 for the "@" + the new snapshot name must fit */
2113 /* log before we change the name */
2328 * The name of the most recent snapshot will be returned under key "target"
2453 /* Check that the snapshot name does not conflict */
2636 /* move snap name entry */
2857 * If it fails due to a conflicting snapshot name, "conflsnap" will be filled
2858 * in with the name. (It must be at least ZFS_MAX_DATASET_NAME_LEN bytes long.)
2861 dsl_dataset_promote(const char *name, char *conflsnap)
2872 error = dmu_objset_hold(name, FTAG, &os);
2882 ddpa.ddpa_clonename = name;
2886 return (dsl_sync_task(name, dsl_dataset_promote_check,
3140 * Given a pool name and a dataset object number in that pool,
3141 * return the name of that dataset.