Home
last modified time | relevance | path

Searched refs:volsize (Results 1 – 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_swap/
H A Dzvol_swap_004_pos.ksh59 ((volsize = vbs * multiplier))
60 vol="$TESTPOOL/vol_$volsize"
64 log_must zfs create -s -b $vbs -V $volsize $vol
67 new_volsize=$(get_prop volsize $vol)
68 [[ $volsize -eq $new_volsize ]] || log_fail "$volsize $new_volsize"
H A Dzvol_swap_002_pos.ksh54 typeset -i count blks volsize=$(get_prop volsize $vol)
55 ((blks = (volsize / 512) * 80 / 100))
H A Dzvol_swap_005_pos.ksh58 ((volblocks = $(get_prop volsize $vol) / 512))
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_002_pos.ksh47 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL)
58 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
68 log_must zfs set volsize=128m $TESTPOOL/$TESTVOL
H A Dzvol_misc_001_neg.ksh48 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL)
57 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
H A Dzvol_misc_003_neg.ksh49 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL)
61 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
H A Dzvol_misc_005_neg.ksh48 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL)
61 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
H A Dzvol_misc_006_pos.ksh48 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL)
56 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
H A Dzvol_misc_004_pos.ksh49 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL)
70 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/largest_pool/
H A Dlargest_pool_001_pos.ksh121 for volsize in $VOLSIZES; do
125 log_note "Create a volume device of desired sizes: $volsize"
126 str=$(zfs create -sV $volsize $TESTPOOL2/$TESTVOL 2>&1)
137 log_fail "zfs create -sV $volsize $TESTPOOL2/$TESTVOL"
148 parse_expected_output $volsize
/illumos-gate/usr/src/test/zfs-tests/tests/functional/reservation/
H A Dreservation.shlib111 # block size (default 8K) and not greater than the largest expected volsize.
145 typeset -i volsize=$2
162 typeset -i nblocks=$((volsize / volblocksize))
173 ((volsize *= ncopies))
175 ((volsize += numdb))
176 echo $volsize
190 typeset -i volsize=$poolsize
194 # knock 50M off the volsize each time through
195 ((volsize -= 50 * 1024 * 1024))
196 nvolsize=$(volsize_to_reservation $pool $volsize)
[all …]
H A Dreservation_017_pos.sh86 log_must zfs set volsize=$vsize $regvol
87 log_must zfs set volsize=$vsize $sparsevol
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzvol.c169 zvol_size_changed(zvol_state_t *zv, uint64_t volsize) in zvol_size_changed() argument
173 zv->zv_volsize = volsize; in zvol_size_changed()
175 "Size", volsize) == DDI_SUCCESS); in zvol_size_changed()
177 "Nblocks", lbtodb(volsize)) == DDI_SUCCESS); in zvol_size_changed()
185 zvol_check_volsize(uint64_t volsize, uint64_t blocksize) in zvol_check_volsize() argument
187 if (volsize == 0) in zvol_check_volsize()
190 if (volsize % blocksize != 0) in zvol_check_volsize()
194 if (volsize - 1 > SPEC_MAXOFFSET_T) in zvol_check_volsize()
344 uint64_t volblocksize, volsize; in zvol_create_cb() local
347 zfs_prop_to_name(ZFS_PROP_VOLSIZE), &volsize) == 0); in zvol_create_cb()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/refreserv/
H A Drefreserv_raidz.ksh49 volsize=100
105 log_must zfs create -V ${volsize}m \
108 bs=1024k count=$volsize
H A Drefreserv_multi_raidz.ksh47 volsize=100
108 log_must zfs create -V ${volsize}m \
155 log_must zfs create -V ${volsize}m -o volblocksize=$vbs "$vol"
H A Drefreserv_005_pos.ksh67 log_must zfs set volsize=15M $vol
/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/
H A Dlabelit.c84 int volsize; variable
372 volsize = HSV_VOL_SIZE(hs_buf); in prntlabel()
388 volsize = ISO_VOL_SIZE(iso_buf); in prntlabel()
404 volsize = ISO_VOL_SIZE(unix_buf); in prntlabel()
434 printf("Volume size is %d\n", volsize); in prntlabel()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_expand/
H A Dzpool_expand_003_neg.ksh85 log_must zfs set volsize=$exp_size $VFS/vol$i
110 log_must zfs set volsize=$org_size $VFS/vol$i
H A Dzpool_expand_001_pos.ksh88 log_must zfs set volsize=$exp_size $VFS/vol$i
142 log_must zfs set volsize=$org_size $VFS/vol$i
H A Dzpool_expand_002_pos.ksh88 log_must zfs set volsize=$exp_size $VFS/vol$i
145 log_must zfs set volsize=$org_size $VFS/vol$i
/illumos-gate/usr/src/cmd/fs.d/hsfs/fstyp/
H A Dfstyp.c402 int volsize; in get_attr() local
421 volsize = HSV_VOL_SIZE(h->hs_buf); in get_attr()
438 volsize = ISO_VOL_SIZE(h->iso_buf); in get_attr()
455 volsize = ISO_VOL_SIZE(h->unix_buf); in get_attr()
483 ADD_UINT64(h, "volume_size", volsize); in get_attr()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_dryrun.ksh157 expect=([volblocksize]=4096 [volsize]=$((1024 * 1024 * 10)))
163 [volsize]=$((1024 * 1024 * 10))
H A Dzfs_create_verbose.ksh154 expect=([volblocksize]=4096 [volsize]=$((1024 * 1024 * 10)))
160 [volsize]=$((1024 * 1024 * 10))
H A Dzfs_create_002_pos.ksh89 volsize=${expected_rounded_size[j]} || \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_012_neg.ksh60 devices exec volsize setuid readonly snapdir userprop \

12