Lines Matching defs:snaps
591 nvlist_t *nvfs, *snaps;
595 VERIFY(0 == nvlist_lookup_nvlist(nvfs, "snaps", &snaps));
598 nvlist_next_nvpair(snaps, snapelem)) != NULL) {
612 * Note: if there are multiple snaps with the
649 * "snaps" -> { name (lastname) -> number (guid) }
800 /* iterate over snaps, and set sd->parent_fromsnap_guid */
805 VERIFY(0 == nvlist_add_nvlist(nvfs, "snaps", sd->parent_snaps));
1866 /* Ensure no snaps found is treated as an error. */
1893 /* Ensure no snaps found is treated as an error. */
2365 nvlist_t *nvfs, *snaps;
2377 VERIFY(0 == nvlist_lookup_nvlist(nvfs, "snaps", &snaps));
2387 for (snapelem = nvlist_next_nvpair(snaps, NULL);
2388 snapelem; snapelem = nvlist_next_nvpair(snaps, snapelem)) {
2442 for (snapelem = nvlist_next_nvpair(snaps, NULL);
2448 nextsnapelem = nvlist_next_nvpair(snaps, snapelem);
3382 * XXX Do this faster by just iterating over snaps in