Lines Matching refs:sector
255 find_bestub(uberblock_phys_t *ub_array, uint64_t sector) in find_bestub() argument
262 offset = (sector << SPA_MINBLOCKSHIFT) + in find_bestub()
290 uint64_t offset, sector; in zio_read_gang() local
297 sector = DVA_OFFSET_TO_PHYS_SECTOR(offset); in zio_read_gang()
300 if (devread(sector, 0, SPA_GANGBLOCKSIZE, (char *)zio_gb) == 0) { in zio_read_gang()
344 uint64_t offset, sector; in zio_read_data() local
356 sector = DVA_OFFSET_TO_PHYS_SECTOR(offset); in zio_read_data()
357 if (devread(sector, 0, psize, buf)) in zio_read_data()
1210 check_pool_label(uint64_t sector, char *stack, char *outdevid, in check_pool_label() argument
1219 sector += (VDEV_SKIP_SIZE >> SPA_MINBLOCKSHIFT); in check_pool_label()
1222 if (devread(sector, 0, VDEV_PHYS_SIZE, stack) == 0) in check_pool_label()
1307 uint64_t sector; in zfs_mount() local
1321 sector = vdev_label_start(adjpl, in zfs_mount()
1325 if (devread(sector + in zfs_mount()
1331 if ((ubbest = find_bestub(ub_array, sector)) != NULL && in zfs_mount()
1337 if (check_pool_label(sector, stack, tmp_devid, in zfs_mount()