| /freebsd/usr.sbin/mixer/tests/ |
| H A D | mixer_test.sh | 107 atf_test_case volume cleanup 110 atf_set "descr" "Test volume setting" 120 mixer vol.volume=0 121 atf_check -o match:"0.00:0.00" mixer vol.volume 123 mixer vol.volume=-2 124 atf_check -o match:"0.00:0.00" mixer vol.volume 126 mixer vol.volume=-1:-2 127 atf_check -o match:"0.00:0.00" mixer vol.volume 129 mixer vol.volume=-110% 130 atf_check -o match:"0.00:0.00" mixer vol.volume [all...] |
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zstream/ |
| H A D | zstream_raw_001_pos.ksh | 91 typeset volume=$POOL/zvol 101 block_device_wait $ZVOL_DEVDIR/$volume 102 log_must mount $mntopts $ZVOL_DEVDIR/$volume $TESTDIR 119 block_device_wait $ZVOL_DEVDIR/$volume 146 log_must zfs create -V $volsize -o snapdev=visible $volume 147 block_device_wait $ZVOL_DEVDIR/$volume 148 log_must new_fs $fsopts $ZVOL_DEVDIR/$volume 154 log_must zfs snapshot $volume@snapshot 155 log_must eval "guid=\$(zfs send -ceL $volume@snapshot | zstream raw $image)" 158 compare_files $ZVOL_DEVDIR/$volume [all...] |
| /freebsd/tests/sys/cddl/zfs/tests/zvol/zvol_misc/ |
| H A D | zvol_misc_004_pos.ksh | 78 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 D | befs.c | 50 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 D | cd9660.c | 47 char *sector, *volume; in fstyp_cd9660() local 56 volume = sector + 0x28; in fstyp_cd9660() 58 strlcpy(label, volume, MIN(size, VOLUME_LEN)); in fstyp_cd9660()
|
| H A D | hammer_disk.h | 821 #define hammer_xlate_to_phys(volume, zone2_offset) \ argument 822 ((volume)->vol_buf_beg + HAMMER_OFF_SHORT_ENCODE(zone2_offset)) 830 #define hammer_xlate_to_undo(volume, zone3_offset) \ argument 831 ((volume)->vol0_undo_array[HAMMER_UNDO_INDEX(zone3_offset)] + \ 837 #define HAMMER_VOL_BUF_SIZE(volume) \ argument 838 ((volume)->vol_buf_end - (volume)->vol_buf_beg)
|
| /freebsd/sys/contrib/openzfs/cmd/zstream/ |
| H A D | zstream_raw.c | 67 } volume; member 94 int fd = context->volume.fd; in write_zeros() 135 ssize_t res = pwritev(context->volume.fd, iov, buffer->iovcnt, in buffer_write() 163 if (fsync(context->volume.fd) != 0) in buffer_finish() 170 if (ftruncate(context->volume.fd, size) < 0) in resize() 179 * volume from the offset to the end. Truncating the file and extending in free_tail() 184 if (offset < context->volume.size) in free_tail() 185 resize(context, context->volume.size); in free_tail() 188 context->volume.size = offset; in free_tail() 194 int fd = context->volume in punch_hole() [all...] |
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/ |
| H A D | zvol_common.shlib | 26 # Create a simple zvol volume 29 # volume_size: is the size of the volume, e.g. 2G 30 # block_size: is the block size of the volume 70 typeset volume=$1 72 if [[ -z $volume ]] ; then 73 log_note "No volume specified." 77 log_must zfs set volsize=64m $volume 79 output=$(dumpadm -d /dev/zvol/dsk/$volume 2>&1 | awk 'END {print $3}') 84 log_must zfs set volsize=${output}m $volume 95 log_note "No dump device volume specified." [all …]
|
| /freebsd/tests/sys/cddl/zfs/tests/zvol/ |
| H A D | zvol_common.kshlib | 95 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/zvol_misc/ |
| H A D | zvol_misc_004_pos.ksh | 64 typeset volume=$1 66 log_must zfs snapshot $volume@snap0 67 log_must zfs snapshot $volume@snap1 68 log_must datasetexists $volume@snap0 $volume@snap1 70 log_must zfs destroy $volume@snap1 71 log_must zfs snapshot $volume@snap1 73 log_mustnot zfs rollback -r $volume@snap0 74 log_must datasetexists $volume@snap0 76 log_must zfs destroy -r $volume@snap0
|
| /freebsd/usr.sbin/mptutil/ |
| H A D | mpt_volume.c | 44 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/usr.sbin/virtual_oss/virtual_oss/ |
| H A D | virtual_oss.c | 144 int64_t volume, int shift, int shift_orig, bool pol, in virtual_oss_mixer_core_sub() argument 148 volume = -volume; in virtual_oss_mixer_core_sub() 154 *dst = (*src * volume) >> shift; in virtual_oss_mixer_core_sub() 156 *dst += (*src * volume) >> shift; in virtual_oss_mixer_core_sub() 158 *dst += vclient_noise(pnoise, volume, shift_orig); in virtual_oss_mixer_core_sub() 165 *dst = (*src * volume) << shift; in virtual_oss_mixer_core_sub() 167 *dst += (*src * volume) << shift; in virtual_oss_mixer_core_sub() 169 *dst += vclient_noise(pnoise, volume, shift_orig); in virtual_oss_mixer_core_sub() 179 int64_t volume, int shift, int shift_orig, bool pol, in virtual_oss_mixer_core() argument 188 num, volume, shift, shift_orig, pol, false); in virtual_oss_mixer_core() [all …]
|
| /freebsd/contrib/googletest/ci/ |
| H A D | linux-presubmit.sh | 48 --volume="${GTEST_ROOT}:/src:ro" \ 70 --volume="${GTEST_ROOT}:/src:ro" \ 91 --volume="${GTEST_ROOT}:/src:ro" \ 113 --volume="${GTEST_ROOT}:/src:ro" \ 137 --volume="${GTEST_ROOT}:/src:ro" \
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/ |
| H A D | reservation.shlib | 91 # This function compute the largest volume size which is multiple of volume 94 # $1 The largest expected volume size. 95 # $2 The volume block size 116 # Its purpose is to reserve additional space for volume metadata so volumes 119 # Note: This function can be used to do an estimate for a volume that has not 120 # yet been created. In this case, $vol is not a volume, but rather a pool in 121 # which a volume is going to be created. In this case, use default properties. 162 # or take some slop) -V value that can be used to create a volume in that pool. 163 # This is necessary because during volume creation, a reservation is created
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/ |
| H A D | zfs_create.cfg | 39 # a volume that great than 1TB on 32-bit 40 # - volume size exceeds limit for this system. (happy gate) 41 # - max volume size is 1TB on 32-bit systems (s10u2) 46 export VOL_LIMIT_KEYWORD3="volume size exceeds limit" 52 # If a datasize has a volume size that is not a multiple of the blocksize, 54 # The volume with the exact size must exist in the "size" array above
|
| /freebsd/tests/sys/cddl/zfs/tests/snapused/ |
| H A D | snapused.kshlib | 58 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 D | snapused.kshlib | 49 for child in $(zfs list -rH -t filesystem,volume -o name $dataset) 60 for child in $(zfs list -rH -t filesystem,volume -o name $dataset) 114 for child in $(zfs list -rH -t filesystem,volume -o name $dataset) 140 for child in $(zfs list -rH -t filesystem,volume -o name $dataset) 151 for child in $(zfs list -rH -t filesystem,volume,snapshot -o name $dataset)
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/largest_pool/ |
| H A D | largest_pool.cfg | 27 # a volume that great than 1TB on 32-bit 28 # - volume size exceeds limit for this system. (happy gate) 29 # - max volume size is 1TB on 32-bit systems (s10u2) 34 export VOL_LIMIT_KEYWORD3="volume size exceeds limit"
|
| /freebsd/sys/geom/label/ |
| H A D | g_label_iso9660.c | 46 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 D | largest_pool.cfg | 33 # 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/tests/sys/cddl/zfs/tests/cli_root/zfs_create/ |
| H A D | zfs_create.cfg | 40 # 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 D | funstack.in | 197 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/contrib/openzfs/etc/systemd/system/ |
| H A D | zfs-volumes.target.in | 3 After=zfs-volume-wait.service 4 Requires=zfs-volume-wait.service
|
| /freebsd/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_audio.c | 69 /* volume in terms of 0.01dB */ 73 /* dB levels with 5% volume step */ 128 uint32_t dest, volume; member 453 bcm2835_audio_update_controls(struct bcm2835_audio_info *sc, uint32_t volume, uint32_t dest) in bcm2835_audio_update_controls() argument 461 if (volume > 99) in bcm2835_audio_update_controls() 462 volume = 99; in bcm2835_audio_update_controls() 463 db = db_levels[volume/5]; in bcm2835_audio_update_controls() 464 m.u.control.volume = VCHIQ_AUDIO_VOLUME(db); in bcm2835_audio_update_controls() 575 uint32_t volume, dest; in bcm2835_audio_worker() local 610 volume in bcm2835_audio_worker() [all...] |
| /freebsd/libexec/rc/rc.d/ |
| H A D | zvol | 21 zfs list -H -o org.freebsd:swap,name -t volume | 34 zfs list -H -o org.freebsd:swap,name -t volume |
|