/freebsd/tests/sys/cddl/zfs/tests/compression/ |
H A D | compress_003_pos.ksh | 67 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 D | compress_004_pos.ksh | 90 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/contrib/openzfs/tests/zfs-tests/tests/functional/compression/ |
H A D | compress_003_pos.ksh | 59 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 D | compress_004_pos.ksh | 89 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/sys/fs/ext2fs/ |
H A D | ext2_htree.c | 64 static void ext2_append_entry(char *block, uint32_t blksize, 68 struct componentname *cnp, uint32_t blksize); 93 char *block1, char *block2, uint32_t blksize, 421 struct componentname *cnp, uint32_t blksize) in ext2_htree_append_block() argument 429 cursize = roundup(dp->i_size, blksize); in ext2_htree_append_block() 430 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() 517 ext2_append_entry(char *block, uint32_t blksize, in ext2_append_entry() argument 526 new_entry->e2d_reclen = htole16(block + blksize - (char *)last_entry - in ext2_append_entry() [all …]
|
H A D | ext2_inode.c | 300 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 D | digestcommon.h | 26 #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 D | zdb_block_size_histogram.ksh | 191 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 D | zdb_decompress.ksh | 45 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 D | zdb_display_block.ksh | 49 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 D | zdb_recover.ksh | 44 blksize=131072 49 file_write -o create -w -f $init_data -b $blksize -c $write_count
|
H A D | zdb_recover_2.ksh | 45 blksize=131072 50 file_write -o create -w -f $init_data -b $blksize -c $write_count
|
H A D | zdb_backup.ksh | 21 blksize=131072 39 file_write -o create -w -f $TESTDIR/file -b $blksize -c $write_count
|
H A D | zdb_checksum.ksh | 41 blksize=131072 46 file_write -o create -w -f $init_data -b $blksize -c $write_count
|
H A D | zdb_decompress_zstd.ksh | 48 blksize=131072 54 log_must zfs set recordsize=$blksize $TESTPOOL/$TESTFS
|
H A D | zdb_objset_id.ksh | 53 blksize=131072 60 file_write -o create -w -f $init_data -b $blksize -c $write_count
|
/freebsd/contrib/arm-optimized-routines/networking/test/ |
H A D | chksum.c | 134 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 D | zvol_misc_006_pos.ksh | 81 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 D | util.c | 146 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 D | zvol_misc_006_pos.ksh | 74 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 D | sha3_prov.c | 231 #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 D | zfs_copies_002_pos.ksh | 84 blksize=1024 86 blksize=512 90 (( used = blks * $blksize )) # bytes
|
/freebsd/sys/dev/sound/pci/ |
H A D | neomagic.c | 55 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 D | print-decnet.c | 584 u_int info, blksize, eco, ueco, hello, other, vers; in print_decnet_ctlmsg() local 596 blksize = GET_LE_U_2(cmp->cm_init.in_blksize); in print_decnet_ctlmsg() 603 dnaddr_string(ndo, src), blksize, vers, eco, ueco, in print_decnet_ctlmsg() 653 blksize = GET_LE_U_2(cmp->cm_rhello.rh_blksize); in print_decnet_ctlmsg() 659 blksize, priority, hello); in print_decnet_ctlmsg() 673 blksize = GET_LE_U_2(cmp->cm_ehello.eh_blksize); in print_decnet_ctlmsg() 682 blksize, dnaddr_string(ndo, dst), hello, other); in print_decnet_ctlmsg()
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_cd.c | 83 uint32_t blksize; member 930 softc->params.blksize, in cdstart() 931 bp->bio_bcount / softc->params.blksize, in cdstart() 938 if (softc->params.blksize == 2352) { in cdstart() 1206 cdp->blksize = scsi_4btoul (rdcap->length); in cddone() 1217 ((uintmax_t)cdp->disksize * cdp->blksize) / in cddone() 1219 (uintmax_t)cdp->disksize, cdp->blksize); in cddone() 1466 softc->params.blksize = scsi_4btoul(rdcap->length); in cddone() 1469 if (softc->params.blksize == 0) in cddone() 1481 if (softc->params.blksize > 2048 in cddone() [all …]
|