Searched refs:VDEV_LABELS (Results 1 – 8 of 8) sorted by relevance
161 return (offset + l * sizeof (vdev_label_t) + (l < VDEV_LABELS / 2 ? in vdev_label_offset()162 0 : psize - VDEV_LABELS * sizeof (vdev_label_t))); in vdev_label_offset()175 offset += (VDEV_LABELS / 2) * sizeof (vdev_label_t); in vdev_label_number()178 return (l < VDEV_LABELS ? l : -1); in vdev_label_number()453 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_read_config()798 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_init()924 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_uberblock_load_impl()1013 for (int l = 0; l < VDEV_LABELS; l++) in vdev_uberblock_sync()1119 for (; l < VDEV_LABELS; l += 2) { in vdev_label_sync()
906 for (l = 0; l < VDEV_LABELS; l++) { in vdev_disk_read_rootlabel()
1066 for (int l = 1; l < VDEV_LABELS; l++) { in vdev_probe()
71 #define VDEV_LABELS 4 macro
277 #define VDEV_LABELS 4 macro278 #define VDEV_BEST_LABEL VDEV_LABELS
858 return (l * sizeof (vdev_label_t) + (l < VDEV_LABELS / 2 ? in label_offset()859 0 : size - VDEV_LABELS * sizeof (vdev_label_t))); in label_offset()883 for (l = 0; l < VDEV_LABELS; l++) { in zpool_read_label()1106 for (l = 0; l < VDEV_LABELS; l++) { in zpool_clear_label()
208 return (l * sizeof (vdev_label_t) + (l < VDEV_LABELS / 2 ? in vdev_label_start()209 0 : psize - VDEV_LABELS * sizeof (vdev_label_t))); in vdev_label_start()1649 for (label = 0; label < VDEV_LABELS; label++) { in zfs_mount()
2214 for (int l = 0; l < VDEV_LABELS; l++) { in dump_label()