Searched refs:volume (Results 1 - 25 of 44) sorted by path

12

/illumos-gate/usr/src/boot/sys/sys/
H A Dvtoc.h72 char volume[VTOC_VOLUME_LEN]; member in struct:vtoc8
119 char v_volume[LEN_DKL_VVOL]; /* volume name */
/illumos-gate/usr/src/cmd/avs/dsbitmap/
H A Ddsbitmap.c201 do_sndr(char *volume, char *bitmap) argument
211 vblocks = get_partsize(volume);
225 (void) printf(gettext("Data volume (%s) size: %llu blocks\n"),
226 volume, vblocks);
228 (void) printf(gettext("Required bitmap volume size:\n"));
240 (void) printf(gettext("Supplied bitmap volume %s "
276 do_ii(char *volume, char *bitmap) argument
287 vblocks_phys = get_partsize(volume);
301 (void) printf(gettext("Data volume (%s) size: %llu blocks\n"),
302 volume, vblocks_phy
350 char *volume, *bitmap; local
[all...]
/illumos-gate/usr/src/cmd/avs/dsstat/
H A Ddsstat.c274 char *volume; local
276 for (volume = strtok(list, ","); volume != NULL;
277 volume = strtok(NULL, ",")) {
283 if ((vn = strchr(volume, ':')) == NULL) {
284 vn = volume;
288 vh = volume;
/illumos-gate/usr/src/cmd/avs/dsw/
H A Diiadm.c142 static int check_resource_group(char *volume);
498 * iiadm -g grp -m volume (move volume into group)
563 usage(gettext("must specify volume with -u"));
583 usage(gettext("must specify volume with -c"));
605 usage(gettext("must specify overflow volume " \
799 find_next_cf_line(char *volume, int next) argument
805 if (strncmp(volume, cf_line.master_vol, DSW_NAMELEN) == 0 ||
806 strncmp(volume, cf_line.shadow_vol, DSW_NAMELEN) == 0 ||
807 strncmp(volume, cf_lin
813 find_any_cf_line(char *volume) argument
819 find_next_shadow_line(char *volume, int next) argument
831 find_shadow_line(char *volume) argument
907 find_next_matching_cf_line( char *volume, dsw_config_t *conf, dsw_ioctl_t *io, int next) argument
926 find_matching_cf_line(char *volume, dsw_config_t *conf, dsw_ioctl_t *io) argument
932 find_shadow_config(char *volume, dsw_config_t *conf, dsw_ioctl_t *io) argument
1154 check_resource_group(char *volume) argument
1738 child_wait(pid_t child, enum child_event event, char *volume) argument
2158 reset(char *volume) argument
2300 overflow(char *volume) argument
2590 char *volume; local
2838 abort_copy(char *volume) argument
2962 wait_for_copy(char *volume) argument
3005 export(char *volume) argument
3052 detach(char *volume) argument
[all...]
H A Diicpshd.c249 find_cfg_info(char *volume, char *token) argument
266 if (strcmp(buf, volume) == 0) {
/illumos-gate/usr/src/cmd/fs.d/ufs/labelit/
H A Dlabelit.c42 * Label a file system volume.
86 char *volume = NULL; local
114 volume = argv[2];
115 if (strlen(volume) > 6) {
118 gettext("volume can not be longer than 6 characters\n"));
122 label(special, fsname, volume);
131 "ufs usage: labelit [-F ufs] [gen opts] special [fsname volume]\n"));
136 label(char *special, char *fsname, char *volume) argument
196 if (sblock.fs_cpc <= 0 && (fsname || volume)) {
220 if (volume !
[all...]
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c512 /* trigger initial probe-volume */
557 /* remove child (can only be single volume) */
631 * sd instance -> HAL storage, sd minor node -> HAL volume,
775 * For volume's devfs_path we'll use minor_path/slice instead of
796 * Storage minor nodes are potential "volume" objects.
820 HalDevice *volume; local
948 /* XXX detect volume removal? */
949 volume = hal_device_store_match_key_value_string (hald_get_gdl (),
951 if ((volume == NULL) || !hal_device_has_capability(volume, "volum
[all...]
/illumos-gate/usr/src/cmd/hal/probing/
H A DMakefile26 SUBDIRS = storage volume printer network-printer acpi xkb
/illumos-gate/usr/src/cmd/hal/probing/volume/
H A DMakefile28 PROG = hald-probe-volume
29 OBJS = probe-volume.o cdutils.o fsutils.o logger.o
30 SRCS = probe-volume.c
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-eject.c81 LibHalVolume *volume; local
159 /* should be either volume or storage */
160 if ((volume = libhal_volume_from_udi (hal_ctx, udi)) != NULL) {
161 drive_udi = libhal_volume_get_storage_device_udi (volume);
184 printf ("processing drive's volume %s (%d of %d)\n", volume_udi, i + 1, num_volumes);
188 unknown_eject_error ("Cannot get volume object");
H A Dhal-storage-mount.c86 fprintf (stderr, "Device has %s volume.ignore set to TRUE. Refusing to mount.\n", device);
282 if (libhal_device_query_capability (hal_ctx, udi, "volume", &error)) {
342 /* see if a volume is mounted at this mount point */
346 mounted_vol = volume_findby (hal_ctx, "volume.mount_point", _mount_point);
450 LibHalVolume *volume, LibHalDrive *drive, const char *device,
505 if (volume != NULL) {
507 if (libhal_device_get_property_bool (hal_ctx, udi, "volume.ignore", &error) ||
514 * set volume.ignore on all volumes, but still want
523 label = libhal_volume_get_label (volume);
524 uuid = libhal_volume_get_uuid (volume);
445 handle_mount(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, const char *udi, LibHalVolume *volume, LibHalDrive *drive, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, DBusConnection *system_bus) argument
1066 LibHalVolume *volume; local
[all...]
H A Dhal-storage-shared.c254 fprintf (stderr, "Device has %s volume.ignore set to TRUE. Refusing to mount.\n", device);
264 LibHalVolume *volume, LibHalDrive *drive, const char *device,
296 if (volume != NULL) {
298 if (libhal_device_get_property_bool (hal_ctx, udi, "volume.ignore", &error) ||
305 * set volume.ignore on all volumes, but still want
314 if (!libhal_volume_is_mounted (volume)) {
315 not_mounted ("According to HAL, the volume is not mounted");
259 handle_unmount(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, const char *udi, LibHalVolume *volume, LibHalDrive *drive, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, gboolean option_lazy, gboolean option_force, DBusConnection *system_bus) argument
H A Dhal-storage-shared.h59 LibHalVolume *volume, LibHalDrive *drive, const char *device,
H A Dhal-storage-unmount.c80 LibHalVolume *volume; local
170 volume = libhal_volume_from_udi (hal_ctx, udi);
171 if (volume == NULL) {
191 drive_udi = libhal_volume_get_storage_device_udi (volume);
194 unknown_error ("Cannot get drive_udi from volume");
203 udi, volume, drive, device, invoked_by_uid,
H A Dhal-storage-zpool.c179 LibHalVolume *volume; local
223 /* should be a volume */
224 if ((volume = libhal_volume_from_udi (hal_ctx, udi)) == NULL) {
225 unknown_zpool_error ("Invalid volume");
227 if ((drive_udi = libhal_volume_get_storage_device_udi (volume)) == NULL ) {
233 if ((libhal_volume_get_fstype (volume) == NULL) ||
234 (strcmp (libhal_volume_get_fstype (volume), "zfs") != 0)) {
237 if ((libhal_volume_get_label (volume) == NULL) ||
238 (strlen (libhal_volume_get_label (volume)) == 0)) {
247 libhal_volume_get_label (volume),
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_defaults.c1567 devconfig_t *volume = NULL; local
1570 /* Get/create singleton volume element for this disk set */
1572 defaults, diskset, TYPE_VOLUME, &volume, TRUE)) != 0) {
1578 return (devconfig_set_volume_redundancy_level(volume, val));
1611 devconfig_t *volume; local
1619 /* Get/create singleton volume element for this disk set */
1621 defaults, disksets[i], TYPE_VOLUME, &volume, FALSE);
1624 /* volume found for this disk set */
1628 volume, val)) == 0) {
1635 /* volume no
1680 devconfig_t *volume = NULL; local
1724 devconfig_t *volume; local
1793 devconfig_t *volume = NULL; local
1837 devconfig_t *volume; local
[all...]
H A Dvolume_devconfig.c416 * @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
430 devconfig_set_volume_name( devconfig_t *volume, char *name) argument
1282 devconfig_set_volume_redundancy_level( devconfig_t *volume, uint16_t rlevel) argument
1314 devconfig_get_volume_redundancy_level( devconfig_t *volume, uint16_t *rlevel) argument
1347 devconfig_set_volume_npaths( devconfig_t *volume, uint16_t npaths) argument
1379 devconfig_get_volume_npaths( devconfig_t *volume, uint16_t *npaths) argument
1412 devconfig_set_volume_usehsp( devconfig_t *volume, boolean_t usehsp) argument
1437 devconfig_get_volume_usehsp( devconfig_t *volume, boolean_t *usehsp) argument
[all...]
H A Dvolume_devconfig.h58 #define ELEMENT_VOLUME "volume"
59 #define ELEMENT_VOLUMECONFIG "volume-config"
60 #define ELEMENT_VOLUMEDEFAULTS "volume-defaults"
61 #define ELEMENT_VOLUMEREQUEST "volume-request"
350 * @param volume
351 * a devconfig_t representing the volume to modify
363 extern int devconfig_set_volume_name(devconfig_t *volume, char *name);
368 * @param volume
369 * a devconfig_t representing the volume to examine
420 * Set the device size (for volume, mirro
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/controller/
H A Dmetassist.c116 /* The volume-request XML file to read */
119 /* The size of the requested volume */
125 /* The volume name to use */
247 * Generates the XML volume request corresponding to the command-line
258 xmlNodePtr request, volume; local
298 /* volume element */
299 volume = xmlNewChild(request, NULL, (xmlChar *)ELEMENT_VOLUME, NULL);
303 xmlSetProp(volume,
308 xmlSetProp(volume, (xmlChar *)ATTR_SIZEINBYTES, (xmlChar *)arg_size);
312 xmlSetProp(volume,
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_mirror.c125 devconfig_t *volume);
129 devconfig_t *volume,
151 * OUTPUT: results - pointer to a list of volume devconfig_t results
254 * OUTPUT: results - pointer to a list of volume devconfig_t results
2178 * FUNCTION: remove_used_disks(dlist_t **disks, devconfig_t *volume)
2181 * volume - pointer to a devconfig_t volume
2189 * those which have slices used by the input volume.
2192 * the volume.
2199 devconfig_t *volume)
2197 remove_used_disks( dlist_t **disks, devconfig_t *volume) argument
2253 volume_shares_disk( dm_descriptor_t disk, devconfig_t *volume, boolean_t *shares) argument
[all...]
H A Dlayout_request.c58 * for use by the various volume layout mechanisms. These are based
786 * redundancy a volume should have for volumes satisfying
910 * be used as a volume component when satisfying the input
1443 * used by each volume.
1467 * FUNCTION: get_hbas_and_disks_used_by_volume(devconfig_t *volume,
1470 * INPUT: volume - pointer to a devconfig_t volume
1473 * by the input volume
1475 * by the input volume
1480 * PURPOSE: The volume'
1487 get_hbas_and_disks_used_by_volume( devconfig_t *volume, dlist_t **hbas, dlist_t **disks) argument
[all...]
H A Dlayout_request.h100 devconfig_t *volume,
/illumos-gate/usr/src/cmd/lvm/metassist/sysfiles/
H A DMakefile40 volume-config.dtd \
41 volume-defaults.dtd \
42 volume-request.dtd
46 volume-command.xsl
/illumos-gate/usr/src/cmd/lvm/metassist/xml/
H A Dxml_convert.c175 devconfig_t *volume, char *attr, char *value);
193 devconfig_t *volume, char *attr, char *name);
201 devconfig_t *volume, char *attr, char *value);
211 devconfig_t *volume, char *attr, char *value);
213 devconfig_t *volume, char *attr, char *value);
330 /* <volume> attributes */
340 /* volume-request elements */
355 /* volume-defaults elements */
370 /* volume-config elements */
430 * Converts a volume
1434 validate_set_size( devconfig_t *volume, char *attr, char *value) argument
1700 validate_set_volume_name( devconfig_t *volume, char *attr, char *name) argument
1828 validate_set_volume_usehsp( devconfig_t *volume, char *attr, char *value) argument
2015 validate_set_volume_redundancy( devconfig_t *volume, char *attr, char *value) argument
2050 validate_set_volume_datapaths( devconfig_t *volume, char *attr, char *value) argument
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dman_term.c1114 const char *volume; local
1121 volume = NULL == meta->vol ? "" : meta->vol;
1122 vollen = term_strlen(p, volume);
1139 /* At the top in the middle: manual volume. */
1146 term_word(p, volume);

Completed in 592 milliseconds

12