search for: ub_array

Displaying 1 result from an estimated 1 matches for "ub_array".

2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...<= SPA_VERSION) + SPA_VERSION_IS_SUPPORTED(uber->ub_version)) return (0); return (-1); @@ -252,25 +264,28 @@ uberblock_verify(uberblock_phys_t *ub, u * Success - Pointer to the best uberblock. * Failure - NULL */ -static uberblock_phys_t * -find_bestub(uberblock_phys_t *ub_array, uint64_t sector) +static uberblock_t * +find_bestub(char *ub_array, uint64_t ashift, uint64_t sector) { - uberblock_phys_t *ubbest = NULL; - uint64_t offset; + uberblock_t *ubbest = NULL; + uberblock_t *ubnext; + uint64_t offset, ub_size; int i; - for (i = 0; i < (VDEV_UBERBLOCK_RING >&...