Home
last modified time | relevance | path

Searched refs:blksize (Results 1 – 25 of 67) sorted by relevance

123

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/compression/
H A Dcompress_003_pos.ksh59 typeset -i blksize=512
75 (( blksize = 512 ))
76 while (( blksize <= 131072 )); do
77 log_must zfs set recordsize=$blksize $fs
79 if (( offset > blksize )); then
80 (( offset = offset % blksize ))
88 (( fsize = blksize + offset ))
91 (( blksize = blksize * 2 ))
H A Dcompress_004_pos.ksh89 typeset -i blksize=512
106 (( blksize = 512 ))
107 while (( blksize <= 131072 )); do
108 log_must zfs set recordsize=$blksize $fs
112 if (( fsize > blksize )); then
113 (( fsize = fsize % blksize ))
123 (( blknum = avail / blksize ))
132 (( fsize = blknum * blksize ))
135 (( blksize = blksize * 2 ))
/freebsd/tests/sys/cddl/zfs/tests/compression/
H A Dcompress_003_pos.ksh67 typeset -i blksize=512
83 (( blksize = 512 ))
84 while (( blksize <= 131072 )); do
85 log_must $ZFS set recordsize=$blksize $fs
87 if (( offset > blksize )); then
88 (( offset = offset % blksize ))
96 (( fsize = blksize + offset ))
99 (( blksize = blksize * 2 ))
H A Dcompress_004_pos.ksh90 typeset -i blksize=512
107 (( blksize = 512 ))
108 while (( blksize <= 131072 )); do
109 log_must $ZFS set recordsize=$blksize $fs
113 if (( fsize > blksize )); then
114 (( fsize = fsize % blksize ))
124 (( blknum = avail / blksize ))
133 (( fsize = blknum * blksize ))
136 (( blksize = blksize * 2 ))
/freebsd/sys/fs/ext2fs/
H A Dext2_htree.c430 newsize = cursize + blksize; in ext2_htree_append_block()
433 auio.uio_resid = blksize; in ext2_htree_append_block()
434 aiov.iov_len = blksize; in ext2_htree_append_block()
554 ((char *)block2 + blksize); in ext2_htree_split_dirblock()
686 blksize = m_fs->e2fs_bsize; in ext2_htree_create_index()
788 uint32_t blksize, blknum; in ext2_htree_add_entry() local
803 blksize = m_fs->e2fs_bsize; in ext2_htree_add_entry()
827 dirsize = cursize + blksize; in ext2_htree_add_entry()
831 cnp, blksize); in ext2_htree_add_entry()
923 dirsize = cursize + blksize; in ext2_htree_add_entry()
[all …]
H A Dext2_inode.c300 size = blksize(fs, oip, lbn); in ext2_ind_truncate()
402 bsize = blksize(fs, oip, i); in ext2_ind_truncate()
421 oldspace = blksize(fs, oip, lastblock); in ext2_ind_truncate()
423 newspace = blksize(fs, oip, lastblock); in ext2_ind_truncate()
523 size = blksize(fs, oip, lbn); in ext2_ext_truncate()
/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Ddigestcommon.h26 #define PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \ argument
30 return ossl_digest_default_get_params(params, blksize, dgstsize, flags); \
51 name, CTX, blksize, dgstsize, flags, upd, fin) \ argument
74 PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \
88 name, CTX, blksize, dgstsize, flags, init, upd, fin) \ argument
95 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \
101 name, CTX, blksize, dgstsize, flags, init, upd, fin, \ argument
110 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_block_size_histogram.ksh191 blksize=$(echo "2^$rb"|bc)
192 if [ $blksize -le $max_pool_record_size ]; then
193 ((recordcounts[$blksize]+=thiscount))
217 while read -r blksize pc pl pm lc ll lm ac al am
219 if [ $blksize -gt $max_pool_record_size ]; then
223 "$blksize\t${recordcounts[${blksize}]}\t$pc\t$lc\t$ac"
229 rc=${recordcounts[${blksize}]}
H A Dzdb_decompress.ksh45 blksize=4096
51 log_must zfs set recordsize=$blksize $TESTPOOL/$TESTFS
93 (( $result != $blksize)) && log_fail \
100 (( $result != $blksize)) && log_fail \
101 "zdb -R failed to decompress the data (length ${#output} != $blksize)"
H A Dzdb_display_block.ksh49 blksize=4096
59 log_must zfs set recordsize=$blksize $TESTPOOL/$TESTFS
62 file_write -d R -o create -w -f $init_data -b $blksize -c $write_count
H A Dzdb_recover.ksh44 blksize=131072
49 file_write -o create -w -f $init_data -b $blksize -c $write_count
H A Dzdb_recover_2.ksh45 blksize=131072
50 file_write -o create -w -f $init_data -b $blksize -c $write_count
H A Dzdb_backup.ksh21 blksize=131072
39 file_write -o create -w -f $TESTDIR/file -b $blksize -c $write_count
H A Dzdb_checksum.ksh41 blksize=131072
46 file_write -o create -w -f $init_data -b $blksize -c $write_count
H A Dzdb_decompress_zstd.ksh48 blksize=131072
54 log_must zfs set recordsize=$blksize $TESTPOOL/$TESTFS
H A Dzdb_objset_id.ksh54 blksize=131072
61 file_write -o create -w -f $init_data -b $blksize -c $write_count
/freebsd/contrib/arm-optimized-routines/networking/test/
H A Dchksum.c134 uint32_t blksize, in benchmark() argument
138 printf("%11u ", (unsigned int) blksize); fflush(stdout); in benchmark()
146 const void *data = &base[random % (poolsize - blksize)]; in benchmark()
147 SINK = CKSUM_FP(data, blksize); in benchmark()
155 uint64_t accbytes = (uint64_t) numops * blksize; in benchmark()
159 if (blksize != 0) in benchmark()
161 unsigned int cyc_per_byte = 1000 * cyc_per_blk / blksize; in benchmark()
185 int blksize = atoi(optarg); in main() local
186 if (blksize < 1 || blksize > POOLSIZE / 2) in main()
188 fprintf(stderr, "Invalid block size %d\n", blksize); in main()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/zvol/zvol_misc/
H A Dzvol_misc_006_pos.ksh81 typeset blksize=$($ZFS get -H -o value volblocksize $TESTPOOL/$TESTVOL)
83 if [[ $blksize != "128K" ]]; then
84 log_fail "ZFS volume $TESTPOOL/$TESTVOL volblocksize=$blksize"
/freebsd/crypto/heimdal/appl/rcp/
H A Dutil.c146 allocbuf(bp, fd, blksize) in allocbuf() argument
148 int fd, blksize;
158 size = roundup(stb.st_blksize, blksize);
160 size = blksize;
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_006_pos.ksh74 typeset blksize=$(zfs get -H -o value volblocksize $TESTPOOL/$TESTVOL)
76 if [[ $blksize != "128K" ]]; then
77 log_fail "ZFS volume $TESTPOOL/$TESTVOL volblocksize=$blksize"
/freebsd/crypto/openssl/providers/implementations/digests/
H A Dsha3_prov.c231 #define PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags) \ argument
232 PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \
241 #define PROV_FUNC_SHA3_DIGEST(name, bitlen, blksize, dgstsize, flags) \ argument
242 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \
246 #define PROV_FUNC_SHAKE_DIGEST(name, bitlen, blksize, dgstsize, flags) \ argument
247 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_copies/
H A Dzfs_copies_002_pos.ksh84 blksize=1024
86 blksize=512
90 (( used = blks * $blksize )) # bytes
/freebsd/sys/dev/sound/pci/
H A Dneomagic.c55 u_int32_t blksize, wmark; member
359 ch->blksize = 0; in nmchan_init()
401 ch->blksize = blocksize; in nmchan_setblocksize()
423 ch->wmark = ch->blksize; in nmchan_trigger()
439 ch->wmark = ch->blksize; in nmchan_trigger()
498 sc->pch.wmark += sc->pch.blksize; in nm_intr()
507 sc->rch.wmark += sc->rch.blksize; in nm_intr()
/freebsd/contrib/tcpdump/
H A Dprint-decnet.c586 u_int info, blksize, eco, ueco, hello, other, vers; in print_decnet_ctlmsg() local
598 blksize = GET_LE_U_2(cmp->cm_init.in_blksize); in print_decnet_ctlmsg()
605 dnaddr_string(ndo, src), blksize, vers, eco, ueco, in print_decnet_ctlmsg()
655 blksize = GET_LE_U_2(cmp->cm_rhello.rh_blksize); in print_decnet_ctlmsg()
661 blksize, priority, hello); in print_decnet_ctlmsg()
675 blksize = GET_LE_U_2(cmp->cm_ehello.eh_blksize); in print_decnet_ctlmsg()
684 blksize, dnaddr_string(ndo, dst), hello, other); in print_decnet_ctlmsg()
/freebsd/sys/dev/cxgb/
H A Dbin2h.pl58 $atime,$mtime,$ctime,$blksize,$blocks)

123