Lines Matching defs:pool

204  * They must all be in the same pool.
221 char pool[ZFS_MAX_DATASET_NAME_LEN];
225 /* determine the pool name */
229 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool));
230 pool[strcspn(pool, "/@")] = '\0';
237 error = lzc_ioctl(ZFS_IOC_SNAPSHOT, pool, args, errlist);
247 * They must all be in the same pool.
273 char pool[ZFS_MAX_DATASET_NAME_LEN];
275 /* determine the pool name */
279 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool));
280 pool[strcspn(pool, "/@")] = '\0';
287 error = lzc_ioctl(ZFS_IOC_DESTROY_SNAPS, pool, args, errlist);
341 * The snapshots must all be in the same pool.
347 * uncleanly, the holds will be released when the pool is next opened
365 char pool[ZFS_MAX_DATASET_NAME_LEN];
370 /* determine the pool name */
374 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool));
375 pool[strcspn(pool, "/@")] = '\0';
382 error = lzc_ioctl(ZFS_IOC_HOLD, pool, args, errlist);
394 * The snapshots must all be in the same pool.
412 char pool[ZFS_MAX_DATASET_NAME_LEN];
415 /* determine the pool name */
419 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool));
420 pool[strcspn(pool, "/@")] = '\0';
422 return (lzc_ioctl(ZFS_IOC_RELEASE, pool, holds, errlist));
446 * "snapname" is the full name of the snapshot to send (e.g. "pool/fs@snap")
450 * bookmark to send an incremental from (e.g. "pool/fs@earlier_snap" or
451 * "pool/fs#earlier_bmark"). If non-NULL, the specified snapshot or
721 * The bookmarks nvlist maps from name of the bookmark (e.g. "pool/fs#bmark") to
722 * the name of the snapshot (e.g. "pool/fs@snap"). All the bookmarks and
723 * snapshots must be in the same pool.
736 char pool[ZFS_MAX_DATASET_NAME_LEN];
738 /* determine the pool name */
742 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool));
743 pool[strcspn(pool, "/#")] = '\0';
745 error = lzc_ioctl(ZFS_IOC_BOOKMARK, pool, bookmarks, errlist);
781 * They must all be in the same pool. Bookmarks are specified as
798 char pool[ZFS_MAX_DATASET_NAME_LEN];
800 /* determine the pool name */
804 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool));
805 pool[strcspn(pool, "/#")] = '\0';
807 error = lzc_ioctl(ZFS_IOC_DESTROY_BOOKMARKS, pool, bmarks, errlist);