Lines Matching refs:volume

416  * @param       volume
417 * a devconfig_t representing the volume to modify
431 devconfig_t *volume,
436 volume_set_error(gettext("invalid volume name: %s"), name);
440 return (devconfig_set_name(volume, name));
446 * @param volume
447 * a devconfig_t representing the volume to examine
539 * Set the device size (for volume, mirror, stripe, concat) in bytes
577 * Get the device size (for volume, mirror, stripe, concat) in bytes
1265 * Set the redundancy level for a volume.
1267 * @param volume
1268 * a devconfig_t representing the volume to modify
1283 devconfig_t *volume,
1289 "volume redundancy level (%d) out of valid range (%d-%d)"),
1294 return (set_uint16(volume->attributes, ATTR_VOLUME_REDUNDANCY, rlevel));
1298 * Get the redundancy level for a volume.
1304 * RETURN: the redundancy level for a volume
1315 devconfig_t *volume,
1319 volume->attributes, ATTR_VOLUME_REDUNDANCY, rlevel);
1323 volume_set_error(gettext("volume redundancy level not set"));
1331 * Set the number of paths in volume
1333 * @param volume
1334 * a devconfig_t representing the volume to modify
1337 * the value to set as the number of paths in volume
1348 devconfig_t *volume,
1359 return (set_uint16(volume->attributes, ATTR_VOLUME_DATAPATHS, npaths));
1363 * Get number of paths in volume
1369 * RETURN: number of paths in volume
1380 devconfig_t *volume,
1384 volume->attributes, ATTR_VOLUME_DATAPATHS, npaths);
1396 * Set the HSP creation option (for volume, stripe, concat, mirror)
1398 * @param volume
1399 * a devconfig_t representing the volume to modify
1413 devconfig_t *volume,
1416 return (set_boolean(volume->attributes, ATTR_VOLUME_USEHSP, usehsp));
1420 * Get HSP creation option (for volume, stripe, concat, mirror)
1426 * RETURN: HSP creation option (for volume, stripe,
1438 devconfig_t *volume,
1442 volume->attributes, ATTR_VOLUME_USEHSP, usehsp);
1446 volume_set_error(gettext("volume usehsp not set"));
1454 * Get the string representation of the volume's type
1600 printf("%s volume redundancy level: %d\n", prefix, val16);
1605 printf("%s volume npaths: %d\n", prefix, val16);