Lines Matching refs:snapholds
243 nvlist_t *snapholds; /* user holds */ member
364 fnvlist_add_nvlist(sd->snapholds, snapname, holds); in send_iterate_snap()
617 sd->snapholds = fnvlist_alloc(); in send_iterate_fs()
643 fnvlist_add_nvlist(nvfs, "snapholds", sd->snapholds); in send_iterate_fs()
644 fnvlist_free(sd->snapholds); in send_iterate_fs()
744 nvlist_t *snapholds; member
905 if (sdd->snapholds == NULL) in gather_holds()
908 fnvlist_add_string(sdd->snapholds, zhp->zfs_name, sdd->holdtag); in gather_holds()
2445 sdd.snapholds = fnvlist_alloc(); in zfs_send_cb_impl()
2448 sdd.snapholds = NULL; in zfs_send_cb_impl()
2451 if (flags->verbosity != 0 || sdd.snapholds != NULL) { in zfs_send_cb_impl()
2485 if (sdd.snapholds != NULL) { in zfs_send_cb_impl()
2486 err = zfs_hold_nvl(zhp, sdd.cleanup_fd, sdd.snapholds); in zfs_send_cb_impl()
2490 fnvlist_free(sdd.snapholds); in zfs_send_cb_impl()
2491 sdd.snapholds = NULL; in zfs_send_cb_impl()
2530 fnvlist_free(sdd.snapholds); in zfs_send_cb_impl()