Searched refs:volblocksize (Results 1 – 13 of 13) sorted by relevance
/illumos-gate/usr/src/test/zfs-tests/tests/functional/reservation/ |
H A D | reservation_017_pos.sh | 77 typeset -i volblocksize=$(get_prop volblocksize $regvol) 80 ((blknum = vsize / volblocksize)) 85 ((vsize = randomblknum * volblocksize))
|
H A D | reservation.shlib | 157 typeset -i volblocksize=$(get_prop volblocksize $vol) 160 typeset -i volblocksize=8192 162 typeset -i nblocks=$((volsize / volblocksize))
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/ |
H A D | zvol_misc_006_pos.ksh | 65 typeset oblksize=$(zfs get -H -o value volblocksize $TESTPOOL/$TESTVOL) 70 typeset blksize=$(zfs get -H -o value volblocksize $TESTPOOL/$TESTVOL)
|
/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))) 162 [volblocksize]=4096
|
H A D | zfs_create_verbose.ksh | 154 expect=([volblocksize]=4096 [volsize]=$((1024 * 1024 * 10))) 159 [volblocksize]=4096
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/refreserv/ |
H A D | refreserv_multi_raidz.ksh | 109 -o volblocksize=$vbs "$vol" 155 log_must zfs create -V ${volsize}m -o volblocksize=$vbs "$vol"
|
H A D | refreserv_raidz.ksh | 106 -o volblocksize=$vbs "$vol"
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zvol.h | 40 extern int zvol_check_volblocksize(uint64_t volblocksize);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zvol.c | 201 zvol_check_volblocksize(uint64_t volblocksize) in zvol_check_volblocksize() argument 203 if (volblocksize < SPA_MINBLOCKSIZE || in zvol_check_volblocksize() 204 volblocksize > SPA_OLD_MAXBLOCKSIZE || in zvol_check_volblocksize() 205 !ISP2(volblocksize)) in zvol_check_volblocksize() 344 uint64_t volblocksize, volsize; in zvol_create_cb() local 349 zfs_prop_to_name(ZFS_PROP_VOLBLOCKSIZE), &volblocksize) != 0) in zvol_create_cb() 350 volblocksize = zfs_prop_default_numeric(ZFS_PROP_VOLBLOCKSIZE); in zvol_create_cb() 361 error = dmu_object_claim(os, ZVOL_OBJ, DMU_OT_ZVOL, volblocksize, in zvol_create_cb()
|
H A D | zfs_ioctl.c | 3338 uint64_t volsize, volblocksize; in zfs_ioc_create() local 3348 &volblocksize)) != 0 && error != ENOENT) in zfs_ioc_create() 3352 volblocksize = zfs_prop_default_numeric( in zfs_ioc_create() 3356 volblocksize)) != 0 || in zfs_ioc_create() 3358 volblocksize)) != 0) in zfs_ioc_create()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/ |
H A D | tst.get_number_props.zcp | 33 props['volblocksize'] = {{nil, nil}, {nil, nil}, {true, nil}}
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_dataset.c | 5439 uint64_t nblocks, volblocksize; in zvol_volsize_to_reservation() local 5450 &volblocksize) != 0) in zvol_volsize_to_reservation() 5451 volblocksize = ZVOL_DEFAULT_BLOCKSIZE; in zvol_volsize_to_reservation() 5453 nblocks = volsize / volblocksize; in zvol_volsize_to_reservation() 5458 volsize = volsize_from_vdevs(zph, nblocks, volblocksize); in zvol_volsize_to_reservation()
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 999 uint64_t volblocksize; in zfs_do_create() local 1003 &volblocksize) != 0) in zfs_do_create() 1004 volblocksize = ZVOL_DEFAULT_BLOCKSIZE; in zfs_do_create() 1006 if (volsize % volblocksize) { in zfs_do_create() 1007 volsize = P2ROUNDUP_TYPED(volsize, volblocksize, in zfs_do_create()
|