Lines Matching refs:uber
345 uberblock_verify(uberblock_t *uber, int offset, struct zfs_data *data) in uberblock_verify() argument
351 if (uber->ub_txg < data->label_txg) { in uberblock_verify()
353 uber->ub_txg, data->label_txg); in uberblock_verify()
357 if (zfs_to_cpu64(uber->ub_magic, LITTLE_ENDIAN) == UBERBLOCK_MAGIC in uberblock_verify()
358 && zfs_to_cpu64(uber->ub_version, LITTLE_ENDIAN) > 0 in uberblock_verify()
359 && zfs_to_cpu64(uber->ub_version, LITTLE_ENDIAN) <= SPA_VERSION) in uberblock_verify()
362 if (zfs_to_cpu64(uber->ub_magic, BIG_ENDIAN) == UBERBLOCK_MAGIC in uberblock_verify()
363 && zfs_to_cpu64(uber->ub_version, BIG_ENDIAN) > 0 in uberblock_verify()
364 && zfs_to_cpu64(uber->ub_version, BIG_ENDIAN) <= SPA_VERSION) in uberblock_verify()
375 (char *) uber, UBERBLOCK_SIZE(data->vdev_ashift)); in uberblock_verify()
381 err = zio_read(&uber->ub_rootbp, endian, &osp, &ospsize, data); in uberblock_verify()