Lines Matching refs:leaf
3688 uint64_t leaf, top;
3726 * RAIDZ leaf VDEV mirrors are not currently supported while a
3745 * Pick a random leaf within it.
3747 leaf = ztest_random(leaves);
3758 oldvd = oldvd->vdev_child[leaf / raidz_children];
3767 oldvd = oldvd->vdev_child[leaf % raidz_children];
3826 top * leaves + leaf);
4089 * Get next attached leaf id
4308 * leaf vdev we encounter.
4383 * Determine the size of the first leaf vdev associated with
5787 * 2050 entries we should see ptrtbl growth and leaf-block split.
6381 uint64_t top, leaf;
6457 leaf = ztest_random(leaves) + zs->zs_splits;
6460 * Generate paths to the first leaf in this top-level vdev,
6461 * and to the random leaf we selected. We'll induce transient
6462 * write failures and random online/offline activity on leaf 0,
6463 * and we'll write random garbage to the randomly chosen leaf.
6470 top * leaves + leaf);
6525 leaf = 0;
6586 * on two different leaf devices, because ZFS can not
6589 * To achieve this we divide each leaf device into
6594 * range can accept errors only for a single leaf vdev.
6598 * 0 to 32M: injection range for leaf 0
6600 * 64M to 96M: injection range for leaf 1
6602 * 128M to 160M: injection range for leaf 2
6608 * (on different leaf vdevs).
6611 (leaves << bshift) + (leaf << bshift) +
6626 if ((leaf & 1) == 0 && offset < VDEV_LABEL_START_SIZE)
6636 if ((leaf & 1) == 1 &&
7136 /* Random leaf vdev */
7208 /* Random leaf vdev */