Lines Matching refs:pool

251  * They must all be in the same pool.
268 char pool[MAXNAMELEN];
272 /* determine the pool name */
276 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool));
277 pool[strcspn(pool, "/@")] = '\0';
284 error = lzc_ioctl(ZFS_IOC_SNAPSHOT, pool, args, errlist);
294 * They must all be in the same pool.
320 char pool[MAXNAMELEN];
322 /* determine the pool name */
326 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool));
327 pool[strcspn(pool, "/@")] = '\0';
334 error = lzc_ioctl(ZFS_IOC_DESTROY_SNAPS, pool, args, errlist);
388 * The snapshots must all be in the same pool.
394 * uncleanly, the holds will be released when the pool is next opened
412 char pool[MAXNAMELEN];
417 /* determine the pool name */
421 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool));
422 pool[strcspn(pool, "/@")] = '\0';
429 error = lzc_ioctl(ZFS_IOC_HOLD, pool, args, errlist);
441 * The snapshots must all be in the same pool.
459 char pool[MAXNAMELEN];
462 /* determine the pool name */
466 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool));
467 pool[strcspn(pool, "/@")] = '\0';
469 return (lzc_ioctl(ZFS_IOC_RELEASE, pool, holds, errlist));
493 * "snapname" is the full name of the snapshot to send (e.g. "pool/fs@snap")
497 * bookmark to send an incremental from (e.g. "pool/fs@earlier_snap" or
498 * "pool/fs#earlier_bmark"). If non-NULL, the specified snapshot or
731 * The bookmarks nvlist maps from name of the bookmark (e.g. "pool/fs#bmark") to
732 * the name of the snapshot (e.g. "pool/fs@snap"). All the bookmarks and
733 * snapshots must be in the same pool.
746 char pool[MAXNAMELEN];
748 /* determine the pool name */
752 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool));
753 pool[strcspn(pool, "/#")] = '\0';
755 error = lzc_ioctl(ZFS_IOC_BOOKMARK, pool, bookmarks, errlist);
791 * They must all be in the same pool. Bookmarks are specified as
808 char pool[MAXNAMELEN];
810 /* determine the pool name */
814 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool));
815 pool[strcspn(pool, "/#")] = '\0';
817 error = lzc_ioctl(ZFS_IOC_DESTROY_BOOKMARKS, pool, bmarks, errlist);