Lines Matching defs:dataset

78  *   dataset is visible in this zone, and if the user has either all
80 * to do this operation on this dataset with "zfs allow".
84 * name, a dataset name, or nothing. If the name is not well-formed,
120 * The name of the pool or dataset to operate on, from
122 * expected type (pool, dataset, or none).
279 static int zfs_check_clearable(const char *dataset, nvlist_t *props,
373 * and can be used in the local zone, as there is no associated dataset.
383 * Policy for dataset read operations (list children, get statistics). Requires
398 zfs_dozonecheck_impl(const char *dataset, uint64_t zoned, cred_t *cr)
403 * The dataset must be visible by this zone -- check this first
407 !zone_dataset_visible(dataset, &writable))
432 zfs_dozonecheck(const char *dataset, cred_t *cr)
436 if (dsl_prop_get_integer(dataset, zfs_prop_to_name(ZFS_PROP_ZONED),
440 return (zfs_dozonecheck_impl(dataset, zoned, cr));
444 zfs_dozonecheck_ds(const char *dataset, dsl_dataset_t *ds, cred_t *cr)
451 return (zfs_dozonecheck_impl(dataset, zoned, cr));
517 /* First get the existing dataset label. */
555 * If the existing dataset label is nondefault, check if the
556 * dataset is mounted (label cannot be changed while mounted).
557 * Get the zfsvfs_t; if there isn't one, then the dataset isn't
558 * mounted (or isn't a dataset, doesn't exist, ...).
565 * Try to own the dataset; abort if there is any error,
588 /* dataset currently has a default label */
2305 * If it's an internal dataset (ie. with a '$' in its name),
2359 * A dataset name of maximum length cannot have any snapshots,
2894 * Acts on local properties until the dataset has received
3309 * creator and/or we can inherit values from the parent dataset. If
3328 /* parent dataset must be a filesystem */
3402 zfs_fill_zplprops(const char *dataset, nvlist_t *createprops,
3413 zfs_get_parent(dataset, parentname, sizeof (parentname));
3415 if ((error = spa_open(dataset, &spa, FTAG)) != 0)
4164 * zc_name name of dataset to destroy
4207 * that try to remove the target dataset.
4532 * deletion. An alternative mechanism for keeping the dataset around
4555 * fsname is name of dataset to rollback (to most recent snapshot)
4661 * zc_name old name of dataset
4662 * zc_value new name of dataset
4976 zfs_check_clearable(const char *dataset, nvlist_t *props, nvlist_t **errlist)
4989 (void) strlcpy(zc->zc_name, dataset, sizeof (zc->zc_name));
4996 if ((err = zfs_check_settable(dataset, pair, CRED())) != 0 ||
5091 * Extract properties that cannot be set PRIOR to the receipt of a dataset.
5092 * For example, refquota cannot be set until after the receipt of a dataset,
5324 * If the dataset was not redacted, but we received a
5326 * dataset. Otherwise, resume the filesystem.
5907 * Iterate over all the send streams currently active on this dataset.
7161 * Changes a user's wrapping key used to decrypt a dataset. The keyformat,
7958 * Ensure that all pool/dataset names are valid before we pass down to