Searched refs:VDEV_LABELS (Results 1 – 14 of 14) sorted by relevance
183 return (l < VDEV_LABELS ? l : -1); in vdev_label_number()780 vdev_phys_t *vp[VDEV_LABELS]; in vdev_label_read_config()781 abd_t *vp_abd[VDEV_LABELS]; in vdev_label_read_config()782 zio_t *zio[VDEV_LABELS]; in vdev_label_read_config()803 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_read_config()809 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_read_config()816 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_read_config()833 for (l++; l < VDEV_LABELS; l++) in vdev_label_read_config()1678 for (int l = 2; l < VDEV_LABELS; l++) in vdev_copy_uberblocks()1746 for (int l = 0; l < VDEV_LABELS; l++) in vdev_uberblock_sync()[all …]
530 label = random_in_range(VDEV_LABELS); in mmp_write_uberblock()
1809 for (int l = 1; l < VDEV_LABELS; l++) { in vdev_probe()
920 return (l * sizeof (vdev_label_t) + (l < VDEV_LABELS / 2 ? in label_offset()921 0 : size - VDEV_LABELS * sizeof (vdev_label_t))); in label_offset()949 for (l = 0; l < VDEV_LABELS; l++) { in zpool_read_label_slow()1013 struct aiocb aiocbs[VDEV_LABELS]; in zpool_read_label()1014 struct aiocb *aiocbps[VDEV_LABELS]; in zpool_read_label()1027 VDEV_LABELS * sizeof (*labels), PAGESIZE, UMEM_DEFAULT); in zpool_read_label()1032 for (l = 0; l < VDEV_LABELS; l++) { in zpool_read_label()1053 for (l = 0; l < VDEV_LABELS; l++) { in zpool_read_label()1092 umem_free_aligned(labels, VDEV_LABELS * sizeof (*labels)); in zpool_read_label()1097 for (l = 0; l < VDEV_LABELS; l++) { in zpool_read_label()[all …]
443 vdev_phys_t *vdev_lists[VDEV_LABELS]; in vdev_geom_read_config()447 off_t offsets[VDEV_LABELS]; in vdev_geom_read_config()449 off_t sizes[VDEV_LABELS]; in vdev_geom_read_config()450 int cmds[VDEV_LABELS]; in vdev_geom_read_config()451 int errors[VDEV_LABELS]; in vdev_geom_read_config()468 for (l = 0; l < VDEV_LABELS; l++) { in vdev_geom_read_config()479 VDEV_LABELS); in vdev_geom_read_config()484 for (l = 0; l < VDEV_LABELS; l++) { in vdev_geom_read_config()514 for (l = 0; l < VDEV_LABELS; l++) in vdev_geom_read_config()
125 return (l * sizeof (vdev_label_t) + (l < VDEV_LABELS / 2 ? in label_offset()126 0 : size - VDEV_LABELS * sizeof (vdev_label_t))); in label_offset()152 for (l = 0; l < VDEV_LABELS; l++) { in zpool_clear_label()
856 uint32_t labels_repaired[VDEV_LABELS] = {0}; in zhack_label_repair()857 vdev_label_t labels[VDEV_LABELS] = {{{0}}}; in zhack_label_repair()886 for (int l = 0; l < VDEV_LABELS; l++) { in zhack_label_repair()895 for (int l = 0; l < VDEV_LABELS; l++) { in zhack_label_repair()
169 assert(ind >= 0 && ind < VDEV_LABELS); in vdev_label_write()180 loff = zfs->vdevsize - (VDEV_LABELS - ind) * sizeof(*label); in vdev_label_write()
550 #define VDEV_LABELS 4 macro551 #define VDEV_BEST_LABEL VDEV_LABELS
203 if (nlabels != VDEV_LABELS || devLabel == NULL) { in ReadLabel()
1549 if (l < VDEV_LABELS / 2) in vdev_label_offset()1552 label_offset = psize - VDEV_LABELS * sizeof (vdev_label_t); in vdev_label_offset()1700 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_write_bootenv_impl()1798 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_read_bootenv()1929 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_read_config()1984 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_uberblock_load()
626 for (int i = 0; i < VDEV_LABELS; i++) in pool_labels_write()
590 #define VDEV_LABELS 4 macro
4484 boolean_t labels[VDEV_LABELS];4545 for (int i = 0; i < VDEV_LABELS; i++) in first_label()4556 for (int i = 0; i < VDEV_LABELS; i++) in print_label_numbers()5220 zdb_label_t labels[VDEV_LABELS] = {{{{0}}}}; in dump_label()5284 for (int l = 0; l < VDEV_LABELS; l++) { in dump_label()5360 for (int l = 0; l < VDEV_LABELS; l++) { in dump_label()