Lines Matching defs:datasets
58 * mount/unmount and share/unshare all datasets within pool:
1066 * Mount and share all datasets within the given pool. This assumes that no
1067 * datasets within the pool are currently mounted. Because users can create
1069 * datasets and mountpoints within the pool, and sort them by mountpoint. Once
1084 * Gather all non-snap datasets within the pool.
1093 * Sort the datasets by mountpoint.
1099 * And mount all the datasets, keeping track of which ones
1147 * Unshare and unmount all datasets within the given pool. We don't want to
1160 zfs_handle_t **datasets = NULL;
1197 if ((datasets = zfs_alloc(hdl,
1211 if ((ptr = zfs_realloc(hdl, datasets,
1215 datasets = ptr;
1230 datasets[used] = make_dataset_handle(hdl, entry.mnt_special);
1265 if (datasets[i])
1266 remove_mountpoint(datasets[i]);
1272 if (datasets[i])
1273 zfs_close(datasets[i]);
1276 free(datasets);