Lines Matching defs:dataset

67  *   dataset is visible in this zone, and if the user has either all
69 * to do this operation on this dataset with "zfs allow".
73 * name, a dataset name, or nothing. If the name is not well-formed,
105 * The name of the pool or dataset to operate on, from
107 * expected type (pool, dataset, or none).
244 static int zfs_check_clearable(char *dataset, nvlist_t *props,
316 * Check to see if the named dataset is currently defined as bootable
393 * and can be used in the local zone, as there is no associated dataset.
403 * Policy for dataset read operations (list children, get statistics). Requires
418 zfs_dozonecheck_impl(const char *dataset, uint64_t zoned, cred_t *cr)
423 * The dataset must be visible by this zone -- check this first
427 !zone_dataset_visible(dataset, &writable))
452 zfs_dozonecheck(const char *dataset, cred_t *cr)
456 if (dsl_prop_get_integer(dataset, "zoned", &zoned, NULL))
459 return (zfs_dozonecheck_impl(dataset, zoned, cr));
463 zfs_dozonecheck_ds(const char *dataset, dsl_dataset_t *ds, cred_t *cr)
470 return (zfs_dozonecheck_impl(dataset, zoned, cr));
535 /* First get the existing dataset label. */
573 * If the existing dataset label is nondefault, check if the
574 * dataset is mounted (label cannot be changed while mounted).
575 * Get the zfsvfs; if there isn't one, then the dataset isn't
576 * mounted (or isn't a dataset, doesn't exist, ...).
583 * Try to own the dataset; abort if there is any error,
606 /* dataset currently has a default label */
751 /* Now make sure mntpnt and dataset are ZFS */
2262 * If it's an internal dataset (ie. with a '$' in its name),
2301 * A dataset name of maximum length cannot have any snapshots,
2689 * Acts on local properties until the dataset has received
3020 * creator and/or we can inherit values from the parent dataset. If
3105 zfs_fill_zplprops(const char *dataset, nvlist_t *createprops,
3117 (void) strlcpy(parentname, dataset, sizeof (parentname));
3122 if ((error = spa_open(dataset, &spa, FTAG)) != 0)
3606 * zc_name name of dataset to destroy
3633 * fsname is name of dataset to rollback (to most recent snapshot)
3678 * zc_name old name of dataset
3679 * zc_value new name of dataset
3819 * If this is a bootable dataset then
3986 zfs_check_clearable(char *dataset, nvlist_t *props, nvlist_t **errlist)
3999 (void) strcpy(zc->zc_name, dataset);
4005 if ((err = zfs_check_settable(dataset, pair, CRED())) != 0 ||
4100 * Extract properties that cannot be set PRIOR to the receipt of a dataset.
4101 * For example, refquota cannot be set until after the receipt of a dataset,
4516 * Iterate over all the send streams currently active on this dataset.
5112 /* Now make sure mntpnt and dataset are ZFS */
6028 * Ensure that all pool/dataset names are valid before we pass down to
6193 * /dev/zvol/[r]dsk/pool/dataset are the zvols, minor > 0.