Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/zoneadm/
H A Dzfs.c69 zfs_handle_t *clone_zhp; /* clone dataset to promote */ member
583 if (cd->clone_zhp != NULL) in get_direct_clone()
584 zfs_close(cd->clone_zhp); in get_direct_clone()
586 cd->clone_zhp = zhp; in get_direct_clone()
790 cd.clone_zhp = NULL; in promote_all_clones()
800 if (cd.clone_zhp == NULL) in promote_all_clones()
804 if (promote_clone(zhp, cd.clone_zhp) != 0) { in promote_all_clones()
805 zfs_close(cd.clone_zhp); in promote_all_clones()
/titanic_41/usr/src/lib/libbe/common/
H A Dbe_create.c2647 if (dd.clone_zhp != NULL) { in be_demote_callback()
2649 if (zfs_promote(dd.clone_zhp) != 0) { in be_demote_callback()
2652 zfs_get_name(dd.clone_zhp), in be_demote_callback()
2655 ZFS_CLOSE(dd.clone_zhp); in be_demote_callback()
2660 ZFS_CLOSE(dd.clone_zhp); in be_demote_callback()
2668 dd.clone_zhp = NULL; in be_demote_callback()
2799 if (dd->clone_zhp != NULL) in be_demote_get_one_clone()
2800 ZFS_CLOSE(dd->clone_zhp); in be_demote_get_one_clone()
2801 dd->clone_zhp = zhp; in be_demote_get_one_clone()
2809 if (dd->clone_zhp != NULL) in be_demote_get_one_clone()
[all …]
H A Dlibbe_priv.h111 zfs_handle_t *clone_zhp; /* clone dataset to promote */ member