Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c531 zfs_handle_dup(zfs_handle_t *zhp_orig) in zfs_handle_dup() argument
538 zhp->zfs_hdl = zhp_orig->zfs_hdl; in zfs_handle_dup()
539 zhp->zpool_hdl = zhp_orig->zpool_hdl; in zfs_handle_dup()
540 (void) strlcpy(zhp->zfs_name, zhp_orig->zfs_name, in zfs_handle_dup()
542 zhp->zfs_type = zhp_orig->zfs_type; in zfs_handle_dup()
543 zhp->zfs_head_type = zhp_orig->zfs_head_type; in zfs_handle_dup()
544 zhp->zfs_dmustats = zhp_orig->zfs_dmustats; in zfs_handle_dup()
545 if (zhp_orig->zfs_props != NULL) { in zfs_handle_dup()
546 if (nvlist_dup(zhp_orig->zfs_props, &zhp->zfs_props, 0) != 0) { in zfs_handle_dup()
552 if (zhp_orig->zfs_user_props != NULL) { in zfs_handle_dup()
[all …]