Searched defs:bookmarks (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c719 * Creates bookmarks.
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
728 * The return value will be 0 if all bookmarks were created, otherwise it will
729 * be the errno of a (undetermined) bookmarks that failed.
732 lzc_bookmark(nvlist_t *bookmarks, nvlist_t **errlist) argument
739 elem = nvlist_next_nvpair(bookmarks, NULL);
745 error = lzc_ioctl(ZFS_IOC_BOOKMARK, pool, bookmarks, errlist);
751 * Retrieve bookmarks.
753 * Retrieve the list of bookmarks fo
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_dataset.c2239 /* must not have any bookmarks after the most recent snapshot */
2242 nvlist_t *bookmarks = fnvlist_alloc(); local
2243 error = dsl_get_bookmarks_impl(ds, proprequest, bookmarks);
2247 for (nvpair_t *pair = nvlist_next_nvpair(bookmarks, NULL);
2248 pair != NULL; pair = nvlist_next_nvpair(bookmarks, pair)) {
2254 fnvlist_free(bookmarks);
2259 fnvlist_free(bookmarks);

Completed in 63 milliseconds