Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 25 of 57) sorted by relevance

123

/illumos-gate/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.h224 LibHalVolume *volume,
227 LibHalVolume *volume,
282 void libhal_volume_free (LibHalVolume *volume);
283 dbus_uint64_t libhal_volume_get_size (LibHalVolume *volume);
284 dbus_uint64_t libhal_volume_get_disc_capacity (LibHalVolume *volume);
286 const char *libhal_volume_get_udi (LibHalVolume *volume);
287 const char *libhal_volume_get_device_file (LibHalVolume *volume);
288 unsigned int libhal_volume_get_device_major (LibHalVolume *volume);
289 unsigned int libhal_volume_get_device_minor (LibHalVolume *volume);
290 const char *libhal_volume_get_fstype (LibHalVolume *volume);
[all …]
H A Dlibhal-storage.c157 libhal_volume_policy_compute_size_as_string (LibHalVolume *volume) in libhal_volume_policy_compute_size_as_string() argument
170 size = libhal_volume_get_size (volume); in libhal_volume_policy_compute_size_as_string()
205 libhal_drive_policy_compute_display_name (LibHalDrive *drive, LibHalVolume *volume, LibHalStoragePo… in libhal_drive_policy_compute_display_name() argument
225 if (volume != NULL) in libhal_drive_policy_compute_display_name()
226 size_str = libhal_volume_policy_compute_size_as_string (volume); in libhal_drive_policy_compute_display_name()
351 libhal_volume_policy_compute_display_name (LibHalDrive *drive, LibHalVolume *volume, LibHalStorageP… in libhal_volume_policy_compute_display_name() argument
360 volume_label = libhal_volume_get_label (volume); in libhal_volume_policy_compute_display_name()
364 size_str = libhal_volume_policy_compute_size_as_string (volume); in libhal_volume_policy_compute_display_name()
377 switch (libhal_volume_get_disc_type (volume)) { in libhal_volume_policy_compute_display_name()
386 if (libhal_volume_disc_is_blank (volume)) in libhal_volume_policy_compute_display_name()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_004_pos.ksh75 typeset volume=$1
77 log_must zfs snapshot $volume@snap0
78 log_must zfs snapshot $volume@snap1
79 log_must datasetexists $volume@snap0 $volume@snap1
81 log_must zfs destroy $volume@snap1
82 log_must zfs snapshot $volume@snap1
84 log_mustnot zfs rollback -r $volume@snap0
85 log_must datasetexists $volume@snap0
87 log_must zfs destroy -r $volume@snap0
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/
H A Dzvol_common.shlib37 # Create a simple zvol volume
40 # volume_size: is the size of the volume, e.g. 2G
75 typeset volume=$1
77 if [[ -z $volume ]] ; then
78 log_note "No volume specified."
86 log_must zfs set volsize=${output}m $volume
96 log_note "No dump device volume specified."
100 typeset volume=${device#/dev/zvol/dsk/}
101 set_dumpsize $volume
114 typeset volume=$1
[all …]
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-mount.c450 LibHalVolume *volume, LibHalDrive *drive, const char *device, argument
505 if (volume != NULL) {
523 label = libhal_volume_get_label (volume);
524 uuid = libhal_volume_get_uuid (volume);
601 if (volume != NULL) {
602 if (!libhal_volume_is_mounted (volume)) {
605 mount_dir = g_strdup (libhal_volume_get_mount_point (volume));
617 if (volume != NULL) {
618 if (libhal_volume_is_mounted (volume)) {
635 if (volume != NULL)
[all …]
H A Dhal-storage-zpool.c177 LibHalVolume *volume; in main() local
222 if ((volume = libhal_volume_from_udi (hal_ctx, udi)) == NULL) { in main()
225 if ((drive_udi = libhal_volume_get_storage_device_udi (volume)) == NULL ) { in main()
231 if ((libhal_volume_get_fstype (volume) == NULL) || in main()
232 (strcmp (libhal_volume_get_fstype (volume), "zfs") != 0)) { in main()
235 if ((libhal_volume_get_label (volume) == NULL) || in main()
236 (strlen (libhal_volume_get_label (volume)) == 0)) { in main()
245 libhal_volume_get_label (volume), in main()
H A Dhal-storage-unmount.c80 LibHalVolume *volume; in main() local
170 volume = libhal_volume_from_udi (hal_ctx, udi); in main()
171 if (volume == NULL) { in main()
191 drive_udi = libhal_volume_get_storage_device_udi (volume); in main()
203 udi, volume, drive, device, invoked_by_uid, in main()
H A Dhal-storage-eject.c81 LibHalVolume *volume; in main() local
160 if ((volume = libhal_volume_from_udi (hal_ctx, udi)) != NULL) { in main()
161 drive_udi = libhal_volume_get_storage_device_udi (volume); in main()
H A Dhal-storage-shared.h59 LibHalVolume *volume, LibHalDrive *drive, const char *device,
H A Dhal-storage-shared.c264 LibHalVolume *volume, LibHalDrive *drive, const char *device, in handle_unmount() argument
296 if (volume != NULL) { in handle_unmount()
314 if (!libhal_volume_is_mounted (volume)) { in handle_unmount()
/illumos-gate/usr/src/cmd/fs.d/ufs/labelit/
H A Dlabelit.c84 char *volume = NULL; in main() local
112 volume = argv[2]; in main()
113 if (strlen(volume) > 6) { in main()
120 label(special, fsname, volume); in main()
134 label(char *special, char *fsname, char *volume) in label() argument
194 if (sblock.fs_cpc <= 0 && (fsname || volume)) { in label()
218 if (volume != NULL) { in label()
219 for (i = 0; (i < 6) && (volume[i]); i++, p++) in label()
220 *p = volume[i]; in label()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_logvol.c318 unsigned long volume; in smrt_logvol_tgtmap_activate() local
322 VERIFY0(ddi_strtoul(addr, &eptr, 16, &volume)); in smrt_logvol_tgtmap_activate()
324 VERIFY3S(volume, >=, 0); in smrt_logvol_tgtmap_activate()
325 VERIFY3S(volume, <, SMRT_MAX_LOGDRV); in smrt_logvol_tgtmap_activate()
327 VERIFY(smrt_logvol_lookup_by_id(smrt, volume) != NULL); in smrt_logvol_tgtmap_activate()
338 unsigned long volume; in smrt_logvol_tgtmap_deactivate() local
343 VERIFY0(ddi_strtoul(addr, &eptr, 16, &volume)); in smrt_logvol_tgtmap_deactivate()
345 VERIFY3S(volume, >=, 0); in smrt_logvol_tgtmap_deactivate()
346 VERIFY3S(volume, <, SMRT_MAX_LOGDRV); in smrt_logvol_tgtmap_deactivate()
349 smlv = smrt_logvol_lookup_by_id(smrt, volume); in smrt_logvol_tgtmap_deactivate()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapused/
H A Dsnapused.kshlib58 for child in $(zfs list -rH -t filesystem,volume -o name $dataset)
69 for child in $(zfs list -rH -t filesystem,volume -o name $dataset)
123 for child in $(zfs list -rH -t filesystem,volume -o name $dataset)
149 for child in $(zfs list -rH -t filesystem,volume -o name $dataset)
160 for child in $(zfs list -rH -t filesystem,volume,snapshot -o name $dataset)
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create.cfg48 # a volume that great than 1TB on 32-bit
49 # - volume size exceeds limit for this system. (happy gate)
50 # - max volume size is 1TB on 32-bit systems (s10u2)
55 export VOL_LIMIT_KEYWORD3="volume size exceeds limit"
61 # If a datasize has a volume size that is not a multiple of the blocksize,
63 # The volume with the exact size must exist in the "size" array above
/illumos-gate/usr/src/pkg/manifests/
H A Dservice-storage-media-volume-manager.p5m27 set name=pkg.fmri value=pkg:/service/storage/media-volume-manager@$(PKGVERS)
28 set name=pkg.summary value="Removable volume manager"
29 set name=pkg.description value="Non-graphical removable volume manager"
62 legacy pkg=SUNWrmvolmgr desc="Non-graphical removable volume manager" \
63 name="Removable volume manager"
64 legacy pkg=SUNWrmvolmgrr desc="Non-graphical removable volume manager (Root)" \
65 name="Removable volume manager (Root)"
/illumos-gate/usr/src/lib/libadm/common/
H A Dgetvol.c65 static char *volume; /* volume name */ variable
120 volume = devattr(device, "volume"); in _getvol()
137 if (!(options & DM_BATCH) && volume) { in _getvol()
150 if ((options & DM_BATCH) || (volume == NULL)) in _getvol()
167 volume == NULL) in _getvol()
298 voltxt = (volume ? volume : "volume"); in insert()
485 if (volume) in labelerr()
487 "The internal label on the inserted %s is\n", volume); in labelerr()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/reservation/
H A Dreservation.shlib110 # This function compute the largest volume size which is multiple of volume
113 # $1 The largest expected volume size.
114 # $2 The volume block size
135 # Its purpose is to reserve additional space for volume metadata so volumes
138 # Note: This function can be used to do an estimate for a volume that has not
139 # yet been created. In this case, $vol is not a volume, but rather a pool in
140 # which a volume is going to be created. In this case, use default properties.
181 # or take some slop) -V value that can be used to create a volume in that pool.
182 # This is necessary because during volume creation, a reservation is created
/illumos-gate/usr/src/test/zfs-tests/tests/functional/largest_pool/
H A Dlargest_pool.cfg36 # a volume that great than 1TB on 32-bit
37 # - volume size exceeds limit for this system. (happy gate)
38 # - max volume size is 1TB on 32-bit systems (s10u2)
43 export VOL_LIMIT_KEYWORD3="volume size exceeds limit"
/illumos-gate/usr/src/uts/common/smbsrv/ndl/
H A Dnetdfs.ndl316 * Add a new volume or additional storage for an existing volume at
334 * Remove a volume or additional storage for volume from the DFS at
335 * dfs_path. When applied to the last storage in a volume, removes
336 * the volume from the DFS.
350 * Set information about the volume or storage. If the server and share
352 * share. Otherwise the information is specific to the volume as a whole.
371 * Get information about the volume or storage. If the server and share
373 * and share. Otherwise the information is specific to the volume as a
427 * Move a DFS volume and all subordinate volumes from one place in the
/illumos-gate/usr/src/cmd/hal/probing/volume/
H A DMakefile26 PROG = hald-probe-volume
27 OBJS = probe-volume.o cdutils.o fsutils.o logger.o
28 SRCS = probe-volume.c
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Drmm_common.c1069 LibHalVolume *volume = volume_arg; in rmm_volume_aa_from_prop() local
1078 if ((udi == NULL) && (volume == NULL)) { in rmm_volume_aa_from_prop()
1081 if (volume == NULL) { in rmm_volume_aa_from_prop()
1082 if ((volume = libhal_volume_from_udi(hal_ctx, udi)) == NULL) { in rmm_volume_aa_from_prop()
1088 if ((udi = libhal_volume_get_udi(volume)) == NULL) { in rmm_volume_aa_from_prop()
1093 drive_udi = libhal_volume_get_storage_device_udi(volume); in rmm_volume_aa_from_prop()
1177 if ((volume != NULL) && (volume != volume_arg)) { in rmm_volume_aa_from_prop()
1178 libhal_volume_free(volume); in rmm_volume_aa_from_prop()
/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/
H A Demu10k.dsp26 // Master volume
45 // Recording volume
/illumos-gate/usr/src/test/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite.shlib38 # If we are dealing with a volume, deduct the refreserv from the used
43 if [[ "$(get_prop type $origin)" = "volume" ]]; then
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_004_pos.ksh147 ds=`zfs list -H -r -o name -t filesystem,volume $pool`
186 volume )
/illumos-gate/usr/src/cmd/hal/probing/
H A DMakefile26 SUBDIRS = storage volume printer network-printer acpi xkb

123