Home
last modified time | relevance | path

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

123

/titanic_44/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
364 volume_label = libhal_volume_get_label (volume); in libhal_volume_policy_compute_display_name()
372 size_str = libhal_volume_policy_compute_size_as_string (volume); in libhal_volume_policy_compute_display_name()
385 switch (libhal_volume_get_disc_type (volume)) { in libhal_volume_policy_compute_display_name()
394 if (libhal_volume_disc_is_blank (volume)) in libhal_volume_policy_compute_display_name()
[all …]
/titanic_44/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_004_pos.ksh69 typeset volume=$1
71 log_must $ZFS snapshot $volume@snap0
72 log_must $ZFS snapshot $volume@snap1
73 log_must datasetexists $volume@snap0 $volume@snap1
75 log_must $ZFS destroy $volume@snap1
76 log_must $ZFS snapshot $volume@snap1
78 log_mustnot $ZFS rollback -r $volume@snap0
79 log_must datasetexists $volume@snap0
81 log_must $ZFS destroy -r $volume@snap0
/titanic_44/usr/src/test/zfs-tests/tests/functional/zvol/
H A Dzvol_common.shlib35 # Create a simple zvol volume
38 # 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."
82 log_must $ZFS set volsize=64m $volume
84 output=$($DUMPADM -d /dev/zvol/dsk/$volume 2>&1 | \
90 log_must $ZFS set volsize=${output}m $volume
100 log_note "No dump device volume specified."
104 typeset volume=${device#/dev/zvol/dsk/}
[all …]
/titanic_44/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.c179 LibHalVolume *volume; in main() local
224 if ((volume = libhal_volume_from_udi (hal_ctx, udi)) == NULL) { in main()
227 if ((drive_udi = libhal_volume_get_storage_device_udi (volume)) == NULL ) { in main()
233 if ((libhal_volume_get_fstype (volume) == NULL) || in main()
234 (strcmp (libhal_volume_get_fstype (volume), "zfs") != 0)) { in main()
237 if ((libhal_volume_get_label (volume) == NULL) || in main()
238 (strlen (libhal_volume_get_label (volume)) == 0)) { in main()
247 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()
/titanic_44/usr/src/cmd/avs/dsbitmap/
H A Ddsbitmap.c201 do_sndr(char *volume, char *bitmap) in do_sndr() argument
211 vblocks = get_partsize(volume); in do_sndr()
226 volume, vblocks); in do_sndr()
276 do_ii(char *volume, char *bitmap) in do_ii() argument
287 vblocks_phys = get_partsize(volume); in do_ii()
302 volume, vblocks_phys); in do_ii()
350 char *volume, *bitmap; in main() local
412 volume = argv[optind]; in main()
421 rc = do_sndr(volume, bitmap); in main()
425 rc = do_ii(volume, bitmap); in main()
/titanic_44/usr/src/cmd/fs.d/ufs/labelit/
H A Dlabelit.c86 char *volume = NULL; in main() local
114 volume = argv[2]; in main()
115 if (strlen(volume) > 6) { in main()
122 label(special, fsname, volume); in main()
136 label(char *special, char *fsname, char *volume) in label() argument
196 if (sblock.fs_cpc <= 0 && (fsname || volume)) { in label()
220 if (volume != NULL) { in label()
221 for (i = 0; (i < 6) && (volume[i]); i++, p++) in label()
222 *p = volume[i]; in label()
/titanic_44/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()
/titanic_44/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)
/titanic_44/usr/src/pkg/manifests/
H A Dservice-storage-media-volume-manager.mf27 set name=pkg.fmri value=pkg:/service/storage/media-volume-manager@$(PKGVERS)
28 set name=pkg.description value="Non-graphical removable volume manager"
29 set name=pkg.summary value="Removable volume manager"
60 legacy pkg=SUNWrmvolmgr desc="Non-graphical removable volume manager" \
61 name="Removable volume manager"
62 legacy pkg=SUNWrmvolmgrr desc="Non-graphical removable volume manager (Root)" \
63 name="Removable volume manager (Root)"
/titanic_44/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()
/titanic_44/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
/titanic_44/usr/src/cmd/avs/dsstat/
H A Ddsstat.c274 char *volume; in set_vol_list() local
276 for (volume = strtok(list, ","); volume != NULL; in set_vol_list()
277 volume = strtok(NULL, ",")) { in set_vol_list()
283 if ((vn = strchr(volume, ':')) == NULL) { in set_vol_list()
284 vn = volume; in set_vol_list()
288 vh = volume; in set_vol_list()
/titanic_44/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"
/titanic_44/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
/titanic_44/usr/src/lib/libunistat/common/dsw/
H A Ddsw.err43 INCOMPLETE = Source shadow volume is not complete due to earlier overflow
44 NOTEXPORTED = Shadow volume is not exported
47 OMAGIC = Overflow volume magic number or name does not match
48 ODEPENDENCY = Volumes are currently dependent on overflow volume
54 ISEXPORTED = Update or copy not allowed on an exported shadow volume
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create.cfg42 # a volume that great than 1TB on 32-bit
43 # - volume size exceeds limit for this system. (happy gate)
44 # - max volume size is 1TB on 32-bit systems (s10u2)
49 export VOL_LIMIT_KEYWORD3="volume size exceeds limit"
/titanic_44/usr/src/cmd/avs/dsw/
H A Diiadm.c142 static int check_resource_group(char *volume);
799 find_next_cf_line(char *volume, int next) in find_next_cf_line() argument
805 if (strncmp(volume, cf_line.master_vol, DSW_NAMELEN) == 0 || in find_next_cf_line()
806 strncmp(volume, cf_line.shadow_vol, DSW_NAMELEN) == 0 || in find_next_cf_line()
807 strncmp(volume, cf_line.bitmap_vol, DSW_NAMELEN) == 0) in find_next_cf_line()
813 find_any_cf_line(char *volume) in find_any_cf_line() argument
815 return (find_next_cf_line(volume, 1)); in find_any_cf_line()
819 find_next_shadow_line(char *volume, int next) in find_next_shadow_line() argument
825 if (strncmp(volume, cf_line.shadow_vol, DSW_NAMELEN) == 0) in find_next_shadow_line()
831 find_shadow_line(char *volume) in find_shadow_line() argument
[all …]
/titanic_44/usr/src/uts/common/smbsrv/ndl/
H A Dnetdfs.ndl314 * Add a new volume or additional storage for an existing volume at
332 * Remove a volume or additional storage for volume from the DFS at
333 * dfs_path. When applied to the last storage in a volume, removes
334 * the volume from the DFS.
348 * Set information about the volume or storage. If the server and share
350 * share. Otherwise the information is specific to the volume as a whole.
369 * Get information about the volume or storage. If the server and share
371 * and share. Otherwise the information is specific to the volume as a
425 * Move a DFS volume and all subordinate volumes from one place in the
/titanic_44/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/
H A Demu10k.dsp26 // Master volume
45 // Recording volume
/titanic_44/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend.kshlib121 typeset list=$($ZFS list -H -r -t filesystem,snapshot,volume -o name $pool)
158 $ZFS list -r -H -t filesystem,snapshot,volume -o name $src_fs > $BACKDIR/src1
159 $ZFS list -r -H -t filesystem,snapshot,volume -o name $dst_fs > $BACKDIR/dst1
325 typeset list=$($ZFS list -r -H -t filesystem,snapshot,volume -o name $ds \
/titanic_44/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()

123