Home
last modified time | relevance | path

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

1234567891011

/freebsd/usr.sbin/mixer/tests/
H A Dmixer_test.sh114 atf_test_case volume cleanup
127 mixer vol.volume=0
128 atf_check -o match:"0.00:0.00" mixer vol.volume
130 mixer vol.volume=-2
131 atf_check -o match:"0.00:0.00" mixer vol.volume
133 mixer vol.volume=-1:-2
134 atf_check -o match:"0.00:0.00" mixer vol.volume
136 mixer vol.volume=-110%
137 atf_check -o match:"0.00:0.00" mixer vol.volume
140 mixer vol.volume=1
[all …]
/freebsd/tests/sys/cddl/zfs/tests/zvol/zvol_misc/
H A Dzvol_misc_004_pos.ksh78 typeset volume=$1
80 log_must $ZFS snapshot $volume@snap0
81 log_must $ZFS snapshot $volume@snap1
82 log_must datasetexists $volume@snap0 $volume@snap1
84 log_must $ZFS destroy $volume@snap1
85 log_must $ZFS snapshot $volume@snap1
87 log_mustnot $ZFS rollback -r $volume@snap0
88 log_must datasetexists $volume@snap0
89 log_must datasetexists $volume@snap1
91 log_must $ZFS destroy -r $volume@snap0
/freebsd/usr.sbin/fstyp/
H A Dbefs.c50 struct disk_super_block *volume; in fstyp_befs() local
52 volume = read_buf(fp, BEFS_BLOCK_OFFSET, sizeof(*volume)); in fstyp_befs()
54 if (volume == NULL) { in fstyp_befs()
58 if (volume->magic1 == BEFS_SUPER_BLOCK_MAGIC1) { in fstyp_befs()
59 strlcpy(label, volume->name, size); in fstyp_befs()
60 free(volume); in fstyp_befs()
65 free(volume); in fstyp_befs()
H A Dcd9660.c45 char *sector, *volume; in fstyp_cd9660() local
54 volume = sector + 0x28; in fstyp_cd9660()
56 strlcpy(label, volume, MIN(size, VOLUME_LEN)); in fstyp_cd9660()
H A Dhammer_disk.h819 #define hammer_xlate_to_phys(volume, zone2_offset) \ argument
820 ((volume)->vol_buf_beg + HAMMER_OFF_SHORT_ENCODE(zone2_offset))
828 #define hammer_xlate_to_undo(volume, zone3_offset) \ argument
829 ((volume)->vol0_undo_array[HAMMER_UNDO_INDEX(zone3_offset)] + \
835 #define HAMMER_VOL_BUF_SIZE(volume) \ argument
836 ((volume)->vol_buf_end - (volume)->vol_buf_beg)
/freebsd/tests/sys/cddl/zfs/tests/zvol/
H A Dzvol_common.kshlib95 typeset volume=$1
97 if [[ -z $volume ]] ; then
102 log_must $ZFS set volsize=64m $volume
104 output=$($DUMPADM -d /dev/zvol/$volume 2>&1 | \
110 log_must $ZFS set volsize=${output}m $volume
124 typeset volume=${device#/dev/zvol/}
125 set_dumpsize $volume
138 typeset volume=$1
140 if [[ -z $volume ]] ; then
145 $ZDB -dddd $volume 2 | $GREP "dumpsize" > /dev/null 2>&1
/freebsd/sys/contrib/openzfs/tests/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
39 # block_size: is the block size of the volume
79 typeset volume=$1
81 if [[ -z $volume ]] ; then
82 log_note "No volume specified."
86 log_must zfs set volsize=64m $volume
88 output=$(dumpadm -d /dev/zvol/dsk/$volume 2>&1 | awk 'END {print $3}')
93 log_must zfs set volsize=${output}m $volume
104 log_note "No dump device volume specified."
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_004_pos.ksh73 typeset volume=$1
75 log_must zfs snapshot $volume@snap0
76 log_must zfs snapshot $volume@snap1
77 log_must datasetexists $volume@snap0 $volume@snap1
79 log_must zfs destroy $volume@snap1
80 log_must zfs snapshot $volume@snap1
82 log_mustnot zfs rollback -r $volume@snap0
83 log_must datasetexists $volume@snap0
85 log_must zfs destroy -r $volume@snap0
/freebsd/usr.sbin/mptutil/
H A Dmpt_volume.c44 MPT_TABLE(top, volume);
198 MPT_COMMAND(volume, status, volume_status);
203 CONFIG_PAGE_RAID_VOL_0 *volume; in volume_cache() local
238 volume = mpt_vol_info(fd, VolumeBus, VolumeID, NULL); in volume_cache()
239 if (volume == NULL) { in volume_cache()
244 Settings = volume->VolumeSettings.Settings; in volume_cache()
254 free(volume); in volume_cache()
259 volume->VolumeSettings.Settings = NewSettings; in volume_cache()
261 VolumeBus, VolumeID, 0, *(U32 *)&volume->VolumeSettings, NULL, 0, in volume_cache()
269 MPT_COMMAND(volume, cache, volume_cache);
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/
H A Dreservation.shlib100 # This function compute the largest volume size which is multiple of volume
103 # $1 The largest expected volume size.
104 # $2 The volume block size
125 # Its purpose is to reserve additional space for volume metadata so volumes
128 # Note: This function can be used to do an estimate for a volume that has not
129 # yet been created. In this case, $vol is not a volume, but rather a pool in
130 # which a volume is going to be created. In this case, use default properties.
171 # or take some slop) -V value that can be used to create a volume in that pool.
172 # This is necessary because during volume creation, a reservation is created
/freebsd/tests/sys/cddl/zfs/tests/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)
/freebsd/sys/contrib/openzfs/tests/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)
/freebsd/contrib/googletest/ci/
H A Dlinux-presubmit.sh49 --volume="${GTEST_ROOT}:/src:ro" \
74 --volume="${GTEST_ROOT}:/src:ro" \
95 --volume="${GTEST_ROOT}:/src:ro" \
119 --volume="${GTEST_ROOT}:/src:ro" \
/freebsd/sys/contrib/openzfs/tests/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
/freebsd/sys/geom/label/
H A Dg_label_iso9660.c46 char *sector, *volume; in g_label_iso9660_taste() local
65 volume = sector + 0x28; in g_label_iso9660_taste()
67 strlcpy(label, volume, MIN(size, VOLUME_LEN)); in g_label_iso9660_taste()
/freebsd/tests/sys/cddl/zfs/tests/largest_pool/
H A Dlargest_pool.cfg33 # a volume that great than 1TB on 32-bit
34 # - volume size exceeds limit for this system. (happy gate)
35 # - max volume size is 1TB on 32-bit systems (s10u2)
40 export VOL_LIMIT_KEYWORD3="volume size exceeds limit"
/freebsd/sys/contrib/openzfs/tests/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"
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_create/
H A Dzfs_create.cfg40 # a volume that great than 1TB on 32-bit
41 # - volume size exceeds limit for this system. (happy gate)
42 # - max volume size is 1TB on 32-bit systems (s10u2)
47 export VOL_LIMIT_KEYWORD3="volume size exceeds limit"
/freebsd/contrib/one-true-awk/testdir/
H A Dfunstack.in197 volume = "4",
212 volume = "5",
227 volume = "6",
242 volume = "6",
257 volume = "7",
272 volume = "7",
287 volume = "8",
302 volume = "9",
317 volume = "10",
332 volume = "11",
[all …]
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_audio.c122 uint32_t dest, volume; member
370 bcm2835_audio_update_controls(struct bcm2835_audio_info *sc, uint32_t volume, uint32_t dest) in bcm2835_audio_update_controls() argument
378 if (volume > 99) in bcm2835_audio_update_controls()
379 volume = 99; in bcm2835_audio_update_controls()
380 db = db_levels[volume/5]; in bcm2835_audio_update_controls()
381 m.u.control.volume = VCHIQ_AUDIO_VOLUME(db); in bcm2835_audio_update_controls()
475 uint32_t volume, dest; in bcm2835_audio_worker() local
505 volume = sc->volume; in bcm2835_audio_worker()
510 bcm2835_audio_update_controls(sc, volume, dest); in bcm2835_audio_worker()
751 sc->volume = left; in bcmmix_set()
[all …]
/freebsd/sys/contrib/openzfs/etc/systemd/system/
H A Dzfs-volumes.target.in3 After=zfs-volume-wait.service
4 Requires=zfs-volume-wait.service
/freebsd/libexec/rc/rc.d/
H A Dzvol21 zfs list -H -o org.freebsd:swap,name -t volume |
34 zfs list -H -o org.freebsd:swap,name -t volume |
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/
H A Dmt8173-elm-hana-rev7.dts26 /delete-node/switch-volume-down;
27 /delete-node/switch-volume-up;
/freebsd/contrib/file/magic/Magdir/
H A Ddump18 >0 belong 5 end of volume,
37 >0 belong 5 end of volume,
56 >0 belong 5 end of volume,
94 >0 leshort 5 end of volume.
/freebsd/tests/sys/cddl/zfs/tests/rsend/
H A Drsend.kshlib116 typeset list=$($ZFS list -H -r -t filesystem,snapshot,volume -o name $pool)
153 $ZFS list -r -H -t filesystem,snapshot,volume -o name $src_fs > $BACKDIR/src1
154 $ZFS list -r -H -t filesystem,snapshot,volume -o name $dst_fs > $BACKDIR/dst1
320 typeset list=$($ZFS list -r -H -t filesystem,snapshot,volume -o name $ds \

1234567891011