Home
last modified time | relevance | path

Searched refs:clone_zhp (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c71 zfs_handle_t *clone_zhp; /* clone dataset to promote */ member
590 if (cd->clone_zhp != NULL) in get_direct_clone()
591 zfs_close(cd->clone_zhp); in get_direct_clone()
593 cd->clone_zhp = zhp; in get_direct_clone()
797 cd.clone_zhp = NULL; in promote_all_clones()
807 if (cd.clone_zhp == NULL) in promote_all_clones()
811 if (promote_clone(zhp, cd.clone_zhp) != 0) { in promote_all_clones()
812 zfs_close(cd.clone_zhp); in promote_all_clones()
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_create.c2725 if (dd.clone_zhp != NULL) { in be_demote_callback()
2730 zfs_get_name(dd.clone_zhp), in be_demote_callback()
2733 ZFS_CLOSE(dd.clone_zhp); in be_demote_callback()
2738 ZFS_CLOSE(dd.clone_zhp); in be_demote_callback()
2746 dd.clone_zhp = NULL; in be_demote_callback()
2877 if (dd->clone_zhp != NULL) in be_demote_get_one_clone()
2878 ZFS_CLOSE(dd->clone_zhp); in be_demote_get_one_clone()
2879 dd->clone_zhp = zhp; in be_demote_get_one_clone()
2887 if (dd->clone_zhp != NULL) in be_demote_get_one_clone()
2888 ZFS_CLOSE(dd->clone_zhp); in be_demote_get_one_clone()
[all …]
H A Dlibbe_priv.h118 zfs_handle_t *clone_zhp; /* clone dataset to promote */ member