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()797 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_init()923 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_uberblock_load_impl()1012 for (int l = 0; l < VDEV_LABELS; l++) in vdev_uberblock_sync()1118 for (; l < VDEV_LABELS; l += 2) { in vdev_label_sync()
903 for (l = 0; l < VDEV_LABELS; l++) { in vdev_disk_read_rootlabel()
1065 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()
205 return (l * sizeof (vdev_label_t) + (l < VDEV_LABELS / 2 ? in vdev_label_start()206 0 : psize - VDEV_LABELS * sizeof (vdev_label_t))); in vdev_label_start()1644 for (label = 0; label < VDEV_LABELS; label++) { in zfs_mount()
2165 for (int l = 0; l < VDEV_LABELS; l++) { in dump_label()