Lines Matching refs:ozhp
2302 zfs_handle_t *ozhp = zfs_handle_dup(zhp); in recv_open_grand_origin() local
2304 while (ozhp != NULL) { in recv_open_grand_origin()
2305 if (zfs_prop_get(ozhp, ZFS_PROP_ORIGIN, origin, in recv_open_grand_origin()
2309 (void) zfs_close(ozhp); in recv_open_grand_origin()
2310 ozhp = zfs_open(zhp->zfs_hdl, origin, ZFS_TYPE_FILESYSTEM); in recv_open_grand_origin()
2313 return (ozhp); in recv_open_grand_origin()
2320 zfs_handle_t *ozhp = NULL; in recv_rename_impl() local
2329 ozhp = recv_open_grand_origin(zhp); in recv_rename_impl()
2330 if (ozhp == NULL) { in recv_rename_impl()
2335 err = lzc_change_key(ozhp->zfs_name, DCP_CMD_FORCE_NEW_KEY, in recv_rename_impl()
2344 if (ozhp != NULL) in recv_rename_impl()
2345 zfs_close(ozhp); in recv_rename_impl()
2427 zfs_handle_t *zhp = NULL, *ozhp = NULL; in recv_promote() local
2448 ozhp = recv_open_grand_origin(zhp); in recv_promote()
2449 if (ozhp == NULL) { in recv_promote()
2454 err = lzc_change_key(ozhp->zfs_name, DCP_CMD_FORCE_NEW_KEY, in recv_promote()
2465 if (ozhp != NULL) in recv_promote()
2466 zfs_close(ozhp); in recv_promote()