Home
last modified time | relevance | path

Searched refs:vol (Results 1 – 25 of 223) sorted by relevance

123456789

/freebsd-14.2/usr.sbin/mixer/tests/
H A Dmixer_test.sh127 mixer vol.volume=0
130 mixer vol.volume=-2
140 mixer vol.volume=1
146 mixer vol.volume=2
152 mixer vol.volume=2:2
155 mixer vol.volume=100%
158 mixer vol.volume=110%
165 mixer vol.volume=1
167 mixer vol.volume=-10%
170 mixer vol.volume=+5%
[all …]
/freebsd-14.2/sys/geom/raid/
H A Dtr_raid1e.c196 sc = vol->v_softc; in g_raid_tr_update_state_raid1e_even()
249 sc = vol->v_softc; in g_raid_tr_update_state_raid1e_odd()
271 sd = &vol->v_subdisks[(i + j) % vol->v_disks_count]; in g_raid_tr_update_state_raid1e_odd()
304 sc = vol->v_softc; in g_raid_tr_update_state_raid1e()
336 vol = sd->sd_volume; in g_raid_tr_raid1e_fail_disk()
364 g_raid_write_metadata(vol->v_softc, vol, sd, sd->sd_disk); in g_raid_tr_raid1e_rebuild_done()
437 sc = vol->v_softc; in g_raid_tr_raid1e_rebuild_some()
474 ((disk + best >= vol->v_disks_count) ? vol->v_strip_size : 0); in g_raid_tr_raid1e_rebuild_some()
521 g_raid_write_metadata(vol->v_softc, vol, sd, NULL); in g_raid_tr_raid1e_rebuild_start()
643 sd = &vol->v_subdisks[(no + i) % vol->v_disks_count]; in g_raid_tr_raid1e_select_read_disk()
[all …]
H A Dtr_concat.c106 sc = vol->v_softc; in g_raid_tr_update_state_concat()
123 if (s != vol->v_state) { in g_raid_tr_update_state_concat()
137 vol->v_mediasize = size; in g_raid_tr_update_state_concat()
156 struct g_raid_volume *vol; in g_raid_tr_event_concat() local
160 vol = tr->tro_volume; in g_raid_tr_event_concat()
161 sc = vol->v_softc; in g_raid_tr_event_concat()
184 struct g_raid_volume *vol; in g_raid_tr_start_concat() local
187 vol = tr->tro_volume; in g_raid_tr_start_concat()
200 vol = tr->tro_volume; in g_raid_tr_stop_concat()
218 vol = tr->tro_volume; in g_raid_tr_iostart_concat()
[all …]
H A Dg_raid.c595 vol->v_name, in g_raid_change_volume_state()
929 vol->v_provider != NULL && vol->v_provider->acw > 0)) { in g_raid_clean()
1514 vol = NULL; in g_raid_worker()
1750 if (vol->v_stopping && vol->v_provider_open == 0) in g_raid_update_volume()
1772 if (vol->v_tr) in g_raid_update_subdisk()
1860 if (vol->v_stopping && vol->v_provider_open == 0) in g_raid_access()
1918 vol = malloc(sizeof(*vol), M_RAID, M_WAITOK | M_ZERO); in g_raid_create_volume()
1930 vol->v_subdisks[i].sd_volume = vol; in g_raid_create_volume()
1937 vol1 = vol; in g_raid_create_volume()
1963 return (vol); in g_raid_create_volume()
[all …]
H A Dtr_raid5.c138 sc = vol->v_softc; in g_raid_tr_update_state_raid5()
161 if (s != vol->v_state) { in g_raid_tr_update_state_raid5()
185 struct g_raid_volume *vol; in g_raid_tr_start_raid5() local
189 vol = tr->tro_volume; in g_raid_tr_start_raid5()
190 vol->v_read_only = 1; in g_raid_tr_start_raid5()
199 struct g_raid_volume *vol; in g_raid_tr_stop_raid5() local
202 vol = tr->tro_volume; in g_raid_tr_stop_raid5()
212 struct g_raid_volume *vol; in g_raid_tr_iostart_raid5_read() local
221 vol = tr->tro_volume; in g_raid_tr_iostart_raid5_read()
344 struct g_raid_volume *vol; in g_raid_tr_iostart_raid5() local
[all …]
H A Dtr_raid0.c103 sc = vol->v_softc; in g_raid_tr_update_state_raid0()
120 if (s != vol->v_state) { in g_raid_tr_update_state_raid0()
137 struct g_raid_volume *vol; in g_raid_tr_event_raid0() local
141 vol = tr->tro_volume; in g_raid_tr_event_raid0()
142 sc = vol->v_softc; in g_raid_tr_event_raid0()
165 struct g_raid_volume *vol; in g_raid_tr_start_raid0() local
168 vol = tr->tro_volume; in g_raid_tr_start_raid0()
178 struct g_raid_volume *vol; in g_raid_tr_stop_raid0() local
181 vol = tr->tro_volume; in g_raid_tr_stop_raid0()
199 vol = tr->tro_volume; in g_raid_tr_iostart_raid0()
[all …]
H A Dtr_raid1.c158 sc = vol->v_softc; in g_raid_tr_update_state_raid1()
278 g_raid_write_metadata(vol->v_softc, vol, sd, sd->sd_disk); in g_raid_tr_raid1_rebuild_done()
313 vol = tr->tro_volume; in g_raid_tr_raid1_rebuild_abort()
346 vol = tr->tro_volume; in g_raid_tr_raid1_rebuild_start()
369 g_raid_write_metadata(vol->v_softc, vol, fsd, NULL); in g_raid_tr_raid1_rebuild_start()
416 vol = tr->tro_volume; in g_raid_tr_raid1_maybe_rebuild()
461 vol = tr->tro_volume; in g_raid_tr_start_raid1()
474 vol = tr->tro_volume; in g_raid_tr_stop_raid1()
551 vol = tr->tro_volume; in g_raid_tr_iostart_raid1_write()
610 vol = tr->tro_volume; in g_raid_tr_iostart_raid1()
[all …]
H A Dmd_promise.c548 return (vol); in g_raid_md_promise_get_volume()
593 if (vol != NULL && !vol->v_stopping) { in g_raid_md_promise_purge_disks()
679 pv = vol->v_md_data; in g_raid_md_promise_start_disk()
905 sc = vol->v_softc; in g_raid_md_promise_start()
972 vol = arg; in g_raid_promise_go()
974 sc = vol->v_softc; in g_raid_promise_go()
1009 if (vol == NULL) { in g_raid_md_promise_new_disk()
1048 if (vol == NULL) in g_raid_md_promise_new_disk()
1555 if (vol == NULL) { in g_raid_md_ctl_promise()
1564 if (vol == NULL) { in g_raid_md_ctl_promise()
[all …]
H A Dmd_nvidia.c656 struct g_raid_volume *vol; in g_raid_md_nvidia_start() local
677 size = vol->v_mediasize; in g_raid_md_nvidia_start()
703 sd = &vol->v_subdisks[j]; in g_raid_md_nvidia_start()
707 g_raid_start_volume(vol); in g_raid_md_nvidia_start()
1028 struct g_raid_volume *vol; in g_raid_md_ctl_nvidia() local
1209 g_raid_start_volume(vol); in g_raid_md_ctl_nvidia()
1394 struct g_raid_volume *vol; in g_raid_md_write_nvidia() local
1418 meta->total_sectors = vol->v_mediasize / vol->v_sectorsize; in g_raid_md_write_nvidia()
1447 meta->strip_sectors = vol->v_strip_size / vol->v_sectorsize; in g_raid_md_write_nvidia()
1459 sd = &vol->v_subdisks[i]; in g_raid_md_write_nvidia()
[all …]
H A Dmd_intel.c1257 struct g_raid_volume *vol; in g_raid_md_intel_start() local
1277 vol->v_md_data = pv; in g_raid_md_intel_start()
1867 vol->v_md_data = pv; in g_raid_md_ctl_intel()
1946 vol1 = vol; in g_raid_md_ctl_intel()
2061 vol->v_md_data = pv; in g_raid_md_ctl_intel()
2145 pp = vol->v_provider; in g_raid_md_ctl_intel()
2154 if (vol == NULL) { in g_raid_md_ctl_intel()
2163 if (vol == NULL) { in g_raid_md_ctl_intel()
2420 pv = vol->v_md_data; in g_raid_md_write_intel()
2421 if (vol->v_stopping) in g_raid_md_write_intel()
[all …]
H A Dmd_sii.c712 struct g_raid_volume *vol; in g_raid_md_sii_start() local
734 size = vol->v_mediasize; in g_raid_md_sii_start()
759 sd = &vol->v_subdisks[j]; in g_raid_md_sii_start()
763 g_raid_start_volume(vol); in g_raid_md_sii_start()
1112 struct g_raid_volume *vol; in g_raid_md_ctl_sii() local
1283 vol->v_mediasize = size; in g_raid_md_ctl_sii()
1291 g_raid_start_volume(vol); in g_raid_md_ctl_sii()
1478 struct g_raid_volume *vol; in g_raid_md_write_sii() local
1502 meta->total_sectors = vol->v_mediasize / vol->v_sectorsize; in g_raid_md_write_sii()
1507 meta->strip_sectors = vol->v_strip_size / vol->v_sectorsize; in g_raid_md_write_sii()
[all …]
H A Dmd_ddf.c1400 return (vol); in g_raid_md_ddf_get_volume()
1465 if (vol != NULL && !vol->v_stopping) { in g_raid_md_ddf_purge_disks()
1868 sc = vol->v_softc; in g_raid_md_ddf_start()
1893 vol->v_mediasize = GET64(vmeta, vdc->VD_Size) * vol->v_sectorsize; in g_raid_md_ddf_start()
1940 vol = arg; in g_raid_ddf_go()
1942 sc = vol->v_softc; in g_raid_ddf_go()
1997 if (vol == NULL) { in g_raid_md_ddf_new_disk()
2476 vol->v_mediasize = size * (numdisks - vol->v_mdf_pdisks); in g_raid_md_ctl_ddf()
2566 if (vol == NULL) { in g_raid_md_ctl_ddf()
2781 ffs(vol->v_strip_size / vol->v_sectorsize) - 1); in g_raid_md_write_ddf()
[all …]
/freebsd-14.2/usr.sbin/mptutil/
H A Dmpt_config.c256 if (mpt_lock_volume(vol->VolumeBus, vol->VolumeID) < 0) { in clear_config()
258 mpt_volume_name(vol->VolumeBus, vol->VolumeID)); in clear_config()
280 vol->VolumeBus, vol->VolumeID, 0, in clear_config()
286 mpt_volume_name(vol->VolumeBus, vol->VolumeID)); in clear_config()
532 if (vol == NULL) in build_volume()
618 return (vol); in build_volume()
775 mpt_rescan_bus(vol->VolumeBus, vol->VolumeID); in create_volume()
778 free(vol); in create_volume()
1196 vol->Header.PageType, vol->Header.PageNumber, in dump_config()
1197 vol->Header.PageLength, vol->Header.PageLength * 4, in dump_config()
[all …]
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_006_pos.ksh57 vol=$TESTPOOL/$TESTVOL
61 if ! snapexists $vol@$snap; then
62 log_must zfs snapshot $vol@$snap
65 rename_dataset $vol@$snap $vol@${snap}-new
66 rename_dataset $vol ${vol}-new
67 rename_dataset ${vol}-new@${snap}-new ${vol}-new@$snap
68 rename_dataset ${vol}-new $vol
71 create_clone $vol@$snap $clone
83 log_must zfs destroy $vol@$snap
/freebsd-14.2/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/
H A Dzfs_rename_006_pos.ksh67 vol=$TESTPOOL/$TESTVOL
71 if ! snapexists $vol@$snap; then
72 log_must $ZFS snapshot $vol@$snap
75 rename_dataset $vol@$snap $vol@${snap}-new
76 rename_dataset $vol ${vol}-new
77 rename_dataset ${vol}-new@${snap}-new ${vol}-new@$snap
78 rename_dataset ${vol}-new $vol
88 log_must $ZFS destroy $vol@$snap
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refreserv/
H A Drefreserv_005_pos.ksh57 vol=$fs/vol
58 log_must zfs create -V 10M $vol
59 refreserv=`get_prop refreservation $vol`
64 log_must zfs set reservation=10M $vol
65 log_must zfs set refreservation=10M $vol
68 log_must zfs set reservation=$(($refreserv + $fudge)) $vol
69 log_must zfs set reservation=$(($refreserv - $fudge)) $vol
70 log_must zfs set refreservation=$(($refreserv + $fudge)) $vol
71 log_must zfs set refreservation=$(($refreserv - $fudge)) $vol
/freebsd-14.2/tests/sys/cddl/zfs/tests/refreserv/
H A Drefreserv_005_pos.ksh69 fs=$TESTPOOL/$TESTFS; vol=$fs/vol
70 log_must $ZFS create -V 10M $vol
74 log_must $ZFS set refreservation=10M $vol
75 avail=$(get_prop mountpoint $vol)
76 log_mustnot $ZFS set refreservation=$avail $vol
79 log_must $ZFS set volsize=15M $vol
80 log_must $ZFS set refreservation=15M $vol
81 log_mustnot $ZFS set refreservation=16M $vol
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/
H A Ddelegate_common.kshlib269 typeset vol=$3
1303 typeset vol=$3
1324 typeset vol=$3
1327 typeset basevol=${vol%/*}
1349 typeset vol=$3
1352 typeset basevol=${vol%/*}
1384 typeset vol=$3
1387 typeset basevol=${vol%/*}
1430 typeset vol=$3
1477 typeset vol=$3
[all …]
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend-c_volume.ksh33 log_must_busy zfs destroy -r $vol
42 typeset vol="$POOL/newvol"
50 log_must zfs create -V 256m -o compress=lz4 $vol
57 log_must zfs snapshot $vol@snap
59 log_must eval "zfs send -c $vol@snap >$BACKDIR/full"
62 verify_stream_size $BACKDIR/full $vol
71 log_must zfs snapshot $vol@snap2
73 log_must eval "zfs send -c -i snap $vol@snap2 >$BACKDIR/inc"
76 verify_stream_size $BACKDIR/inc $vol 90 $vol@snap
H A Dsend-c_incremental.ksh38 typeset final dstlist list vol
73 vol=$POOL2/$FS/vol
74 final=$(getds_with_suffix $vol @final)
75 log_must eval "zfs send -c -R $opt @init $vol@final >$BACKDIR/vol"
76 log_must destroy_tree $vol@snapB $vol@snapC $vol@final
79 dstlist=$(getds_with_suffix $POOL2/$FS/vol @final)
/freebsd-14.2/tests/sys/cddl/zfs/tests/cli_root/zfs_create/
H A Dzfs_create_003_pos.ksh59 datasetexists $vol && \
60 log_must $ZFS destroy -f $vol
67 vol=$TESTPOOL/$TESTVOL
71 log_must $ZFS create ${options[i]} -V $VOLSIZE $vol
72 datasetexists $vol || \
73 log_fail "zfs create ${options[i]} -V $VOLSIZE $vol fail."
75 log_must $ZFS destroy -f $vol
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_003_pos.ksh49 datasetexists $vol && destroy_dataset $vol -f
56 vol=$TESTPOOL/$TESTVOL
60 log_must zfs create ${options[i]} -V $VOLSIZE $vol
61 datasetexists $vol || \
62 log_fail "zfs create ${options[i]} -V $VOLSIZE $vol fail."
64 log_must_busy zfs destroy -f $vol
/freebsd-14.2/tests/sys/cddl/zfs/tests/zvol/zvol_misc/
H A Dzvol_misc_009_pos.ksh87 for vol in $VOLS; do
88 log_must $ZFS create -V 100M $rootds/$vol
89 log_must test -c /dev/zvol/$rootds/$vol
101 for vol in $VOLS; do
102 log_must test -c /dev/zvol/${received}/${vol}
103 log_must test -c /dev/zvol/${received}/${vol}@snap
111 for vol in $VOLS; do
112 log_must test -c /dev/zvol/${received}/${vol}
113 log_must test -c /dev/zvol/${received}/${vol}@snap
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_swap/
H A Dzvol_swap_004_pos.ksh50 datasetexists $vol && destroy_dataset $vol
60 vol="$TESTPOOL/vol_$volsize"
61 swapname="${ZVOL_DEVDIR}/$vol"
64 log_must zfs create -s -b $vbs -V $volsize $vol
68 new_volsize=$(get_prop volsize $vol)
72 log_must_busy zfs destroy $vol
/freebsd-14.2/contrib/smbfs/examples/
H A Dsmbfs.sh.sample20 for vol in ${vols}; do
21 $mount $vol
22 echo -n "$vol "
27 for vol in ${vols}; do
28 $umount $vol
29 echo -n "$vol "

123456789