Lines Matching +refs:val +refs:top
523 uint64_t val;
525 val = strtoull(buf, &end, 0);
537 val = (uint64_t)fval;
540 if (shift >= 64 || (val << shift) >> shift != val) {
545 val <<= shift;
547 return (val);
1003 uint64_t top;
1010 top = ztest_random(rvd->vdev_children);
1011 tvd = rvd->vdev_child[top];
1015 return (top);
2477 * Find the first available hole which can be used as a top-level.
2758 uint64_t leaf, top;
2780 * Pick a random top-level vdev.
2782 top = ztest_random_vdev_top(spa, B_TRUE);
2792 oldvd = rvd->vdev_child[top];
2845 top * leaves + leaf);
3049 uint64_t top;
3055 top = ztest_random_vdev_top(spa, B_TRUE);
3057 tvd = spa->spa_root_vdev->vdev_child[top];
3065 * our top-level device.
3129 tvd = spa->spa_root_vdev->vdev_child[top];
4374 fatal(0, "name '%s' != val '%s' len %d",
4800 uint64_t top, leaf;
4837 top = ztest_random_vdev_top(spa, B_TRUE);
4841 * Generate paths to the first leaf in this top-level vdev,
4848 top * leaves + zs->zs_splits);
4851 top * leaves + leaf);
4858 * If the top-level vdev needs to be resilvered