Searched refs:VDEV_LABELS (Results 1 – 11 of 11) sorted by relevance
183 return (l < VDEV_LABELS ? l : -1); in vdev_label_number()757 vdev_phys_t *vp[VDEV_LABELS]; in vdev_label_read_config()758 abd_t *vp_abd[VDEV_LABELS]; in vdev_label_read_config()759 zio_t *zio[VDEV_LABELS]; in vdev_label_read_config()780 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_read_config()786 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_read_config()793 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_read_config()810 for (l++; l < VDEV_LABELS; l++) in vdev_label_read_config()1613 for (int l = 2; l < VDEV_LABELS; l++) in vdev_copy_uberblocks()1681 for (int l = 0; l < VDEV_LABELS; l++) in vdev_uberblock_sync()[all …]
529 label = random_in_range(VDEV_LABELS); in mmp_write_uberblock()
1717 for (int l = 1; l < VDEV_LABELS; l++) { in vdev_probe()
444 vdev_phys_t *vdev_lists[VDEV_LABELS]; in vdev_geom_read_config()448 off_t offsets[VDEV_LABELS]; in vdev_geom_read_config()450 off_t sizes[VDEV_LABELS]; in vdev_geom_read_config()451 int cmds[VDEV_LABELS]; in vdev_geom_read_config()452 int errors[VDEV_LABELS]; in vdev_geom_read_config()469 for (l = 0; l < VDEV_LABELS; l++) { in vdev_geom_read_config()480 VDEV_LABELS); in vdev_geom_read_config()485 for (l = 0; l < VDEV_LABELS; l++) { in vdev_geom_read_config()515 for (l = 0; l < VDEV_LABELS; l++) in vdev_geom_read_config()
134 return (l * sizeof (vdev_label_t) + (l < VDEV_LABELS / 2 ? in label_offset()135 0 : size - VDEV_LABELS * sizeof (vdev_label_t))); in label_offset()167 for (l = 0; l < VDEV_LABELS; l++) { in zpool_clear_label()
887 return (l * sizeof (vdev_label_t) + (l < VDEV_LABELS / 2 ? in label_offset()888 0 : size - VDEV_LABELS * sizeof (vdev_label_t))); in label_offset()916 for (l = 0; l < VDEV_LABELS; l++) { in zpool_read_label_slow()977 struct aiocb aiocbs[VDEV_LABELS]; in zpool_read_label()978 struct aiocb *aiocbps[VDEV_LABELS]; in zpool_read_label()991 VDEV_LABELS * sizeof (*labels)); in zpool_read_label()996 for (l = 0; l < VDEV_LABELS; l++) { in zpool_read_label()1007 if (lio_listio(LIO_WAIT, aiocbps, VDEV_LABELS, NULL) != 0) { in zpool_read_label()1017 for (l = 0; l < VDEV_LABELS; l++) { in zpool_read_label()1050 for (l = 0; l < VDEV_LABELS; l++) { in zpool_read_label()
552 #define VDEV_LABELS 4 macro553 #define VDEV_BEST_LABEL VDEV_LABELS
205 if (nlabels != VDEV_LABELS || devLabel == NULL) { in ReadLabel()
1568 if (l < VDEV_LABELS / 2) in vdev_label_offset()1571 label_offset = psize - VDEV_LABELS * sizeof (vdev_label_t); in vdev_label_offset()1719 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_write_bootenv_impl()1817 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_read_bootenv()1948 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_read_config()2003 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_uberblock_load()
4089 boolean_t labels[VDEV_LABELS];4150 for (int i = 0; i < VDEV_LABELS; i++) in first_label()4161 for (int i = 0; i < VDEV_LABELS; i++) in print_label_numbers()4705 zdb_label_t labels[VDEV_LABELS]; in dump_label()4770 for (int l = 0; l < VDEV_LABELS; l++) { in dump_label()4842 for (int l = 0; l < VDEV_LABELS; l++) { in dump_label()
574 #define VDEV_LABELS 4 macro