Lines Matching defs:dataset
47 * is expecting a path that is the root of the dataset.
50 * in the dataset that was opened. The iterator function gets
98 * path - path of the dataset
99 * count - return value of the number of snapshots for the dataset
104 char dataset[MAXPATHLEN];
112 if (smb_getdataset(path, dataset, MAXPATHLEN) != 0)
118 if ((zfshd = zfs_open(libhd, dataset, ZFS_TYPE_DATASET)) == NULL) {
136 * path - is the path of the dataset
148 char dataset[MAXPATHLEN];
170 if (smb_getdataset(path, dataset, MAXPATHLEN) != 0) {
180 if ((zfshd = zfs_open(libhd, dataset, ZFS_TYPE_DATASET)) == NULL) {
222 * path - path of the dataset for the operation
228 * The snapname returned by ZFS is : <dataset name>@<snapshot name>
236 char dataset[MAXPATHLEN];
253 if (smb_getdataset(path, dataset, MAXPATHLEN) != 0)
259 if ((zfshd = zfs_open(libhd, dataset, ZFS_TYPE_DATASET)) == NULL) {
269 lsnap = dataset;
275 /* Now we should be passed the dataset name */