Lines Matching defs:dataset
48 * is expecting a path that is the root of the dataset.
51 * in the dataset that was opened. The iterator function gets
99 * path - path of the dataset
100 * count - return value of the number of snapshots for the dataset
105 char dataset[MAXPATHLEN];
113 if (smb_getdataset(path, dataset, MAXPATHLEN) != 0)
119 if ((zfshd = zfs_open(libhd, dataset, ZFS_TYPE_DATASET)) == NULL) {
137 * path - is the path of the dataset
149 char dataset[MAXPATHLEN];
171 if (smb_getdataset(path, dataset, MAXPATHLEN) != 0) {
181 if ((zfshd = zfs_open(libhd, dataset, ZFS_TYPE_DATASET)) == NULL) {
223 * path - path of the dataset for the operation
229 * The snapname returned by ZFS is : <dataset name>@<snapshot name>
237 char dataset[MAXPATHLEN];
254 if (smb_getdataset(path, dataset, MAXPATHLEN) != 0)
260 if ((zfshd = zfs_open(libhd, dataset, ZFS_TYPE_DATASET)) == NULL) {
270 lsnap = dataset;
276 /* Now we should be passed the dataset name */