• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/

Lines Matching defs:vdev

156 		 * vdev's guid then get it from the zhp config nvlist.
1189 * Check if vdev list contains a special vdev
1213 * Check if vdev list contains a dRAID vdev
1237 * Output a dRAID top-level vdev name in to the provided buffer.
1268 * Create the named pool, using the provided vdev list. It is assumed
1320 "%s property requires a special vdev"),
1535 * necessary verification to ensure that the vdev specification is well-formed.
2159 * Translate vdev names to guids. If a vdev_path is determined to be
2160 * unsuitable then a vd_errlist is allocated and the vdev path and errno
2554 * Find a vdev that matches the search criteria specified. We use the
2605 * - looking for a top-level vdev name (i.e. ZPOOL_CONFIG_TYPE).
2622 * Determine our vdev type, keeping in mind
2624 * vdev id pair (i.e. mirror-4).
2686 * Now verify that we have the correct vdev id.
2713 * vdev, not the leaf vdevs. So we always lookup the
2714 * log device from the root of the vdev tree (where
2753 * Given a physical path or guid, find the associated vdev.
2787 * Determine if we have an "interior" top-level vdev (i.e mirror/raidz).
2896 * For a spare vdev, we only want to boot from the active
2960 * root pool can only have a single top-level vdev.
2987 * Convert a vdev path to a GUID. Returns GUID or 0 on error.
3016 /* Convert a vdev path to a GUID. Returns GUID or 0 on error. */
3024 * Bring the specified vdev online. The 'flags' parameter is a set of the
3112 * Take the specified vdev offline
3162 * Mark the given vdev faulted.
3197 * Mark the given vdev degraded.
3221 * Returns TRUE if the given nvlist is a vdev that was originally swapped in as
3341 * Can't attach to or replace this type of vdev.
3357 "devices in their parent's dRAID vdev"));
3411 * The resulting top-level vdev spec won't fit in the label.
3458 * Can't detach from this type of vdev.
3480 * Find a mirror vdev in the source nvlist.
3571 "Source pool is missing vdev tree"));
3588 nvlist_t **mchild, *vdev;
3602 * Create a hole vdev and put it in the config.
3604 if (nvlist_alloc(&vdev, NV_UNIQUE_NAME, 0) != 0)
3606 if (nvlist_add_string(vdev, ZPOOL_CONFIG_TYPE,
3609 if (nvlist_add_uint64(vdev, ZPOOL_CONFIG_IS_HOLE,
3614 varray[vcount++] = vdev;
3622 vdev = child[c];
3623 if (nvlist_dup(vdev, &varray[vcount++], 0) != 0)
3643 /* find or add an entry for this top-level vdev */
3648 vdev = mchild[entry];
3651 /* User didn't specify a disk for this vdev. */
3652 vdev = mchild[mchildren - 1];
3655 if (nvlist_dup(vdev, &varray[vcount++], 0) != 0)
4053 * Given a vdev, return the name to display in iostat. If the vdev has a path,
4063 * translation and issue the appropriate ioctl() to update the path of the vdev.
4077 * vdev_name will be "root"/"root-0" for the root vdev, but it is the
4166 * We identify each top-level vdev by using a <type-id>