Lines Matching refs:ozhp
2948 zfs_handle_t *ozhp = zfs_handle_dup(zhp); in recv_open_grand_origin() local
2950 while (ozhp != NULL) { in recv_open_grand_origin()
2951 if (zfs_prop_get(ozhp, ZFS_PROP_ORIGIN, origin, in recv_open_grand_origin()
2955 (void) zfs_close(ozhp); in recv_open_grand_origin()
2956 ozhp = zfs_open(zhp->zfs_hdl, origin, ZFS_TYPE_FILESYSTEM); in recv_open_grand_origin()
2959 return (ozhp); in recv_open_grand_origin()
2966 zfs_handle_t *ozhp = NULL; in recv_rename_impl() local
2975 ozhp = recv_open_grand_origin(zhp); in recv_rename_impl()
2976 if (ozhp == NULL) { in recv_rename_impl()
2981 err = lzc_change_key(ozhp->zfs_name, DCP_CMD_FORCE_NEW_KEY, in recv_rename_impl()
2990 if (ozhp != NULL) in recv_rename_impl()
2991 zfs_close(ozhp); in recv_rename_impl()
3074 zfs_handle_t *zhp = NULL, *ozhp = NULL; in recv_promote() local
3095 ozhp = recv_open_grand_origin(zhp); in recv_promote()
3096 if (ozhp == NULL) { in recv_promote()
3101 err = lzc_change_key(ozhp->zfs_name, DCP_CMD_FORCE_NEW_KEY, in recv_promote()
3112 if (ozhp != NULL) in recv_promote()
3113 zfs_close(ozhp); in recv_promote()