/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_swap/ |
H A D | zvol_swap_004_pos.ksh | 59 ((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 D | zvol_swap_002_pos.ksh | 54 typeset -i count blks volsize=$(get_prop volsize $vol) 55 ((blks = (volsize / 512) * 80 / 100))
|
H A D | zvol_swap_005_pos.ksh | 58 ((volblocks = $(get_prop volsize $vol) / 512))
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/ |
H A D | zvol_misc_002_pos.ksh | 47 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 D | zvol_misc_001_neg.ksh | 48 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL) 57 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
|
H A D | zvol_misc_003_neg.ksh | 49 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL) 61 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
|
H A D | zvol_misc_005_neg.ksh | 48 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL) 61 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
|
H A D | zvol_misc_006_pos.ksh | 48 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL) 56 zfs set volsize=$volsize $TESTPOOL/$TESTVOL
|
H A D | zvol_misc_004_pos.ksh | 49 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 D | largest_pool_001_pos.ksh | 121 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 D | reservation.shlib | 111 # 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 D | reservation_017_pos.sh | 86 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 D | zvol.c | 169 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 D | refreserv_raidz.ksh | 49 volsize=100 105 log_must zfs create -V ${volsize}m \ 108 bs=1024k count=$volsize
|
H A D | refreserv_multi_raidz.ksh | 47 volsize=100 108 log_must zfs create -V ${volsize}m \ 155 log_must zfs create -V ${volsize}m -o volblocksize=$vbs "$vol"
|
H A D | refreserv_005_pos.ksh | 67 log_must zfs set volsize=15M $vol
|
/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/ |
H A D | labelit.c | 84 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 D | zpool_expand_003_neg.ksh | 85 log_must zfs set volsize=$exp_size $VFS/vol$i 110 log_must zfs set volsize=$org_size $VFS/vol$i
|
H A D | zpool_expand_001_pos.ksh | 88 log_must zfs set volsize=$exp_size $VFS/vol$i 142 log_must zfs set volsize=$org_size $VFS/vol$i
|
H A D | zpool_expand_002_pos.ksh | 88 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 D | fstyp.c | 402 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 D | zfs_create_dryrun.ksh | 157 expect=([volblocksize]=4096 [volsize]=$((1024 * 1024 * 10))) 163 [volsize]=$((1024 * 1024 * 10))
|
H A D | zfs_create_verbose.ksh | 154 expect=([volblocksize]=4096 [volsize]=$((1024 * 1024 * 10))) 160 [volsize]=$((1024 * 1024 * 10))
|
H A D | zfs_create_002_pos.ksh | 89 volsize=${expected_rounded_size[j]} || \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/ |
H A D | zfs_allow_012_neg.ksh | 60 devices exec volsize setuid readonly snapdir userprop \
|