Searched refs:blks (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_swap/
H A Dzvol_swap_002_pos.ksh66 typeset -i count blks volsize=$(get_prop volsize $vol)
67 ((blks = (volsize / 512) * 80 / 100))
68 # Use 'blks' to determine a count for dd based on a 1M block size.
69 ((count = blks / 2048))
/freebsd-current/sys/crypto/aesni/
H A Daesni_wrap.c77 struct blocks8 *blks; local
84 blks = (struct blocks8 *)buf;
85 aesni_dec8(rounds - 1, key_schedule, blks->blk[0], blks->blk[1],
86 blks->blk[2], blks->blk[3], blks->blk[4], blks->blk[5],
87 blks->blk[6], blks
113 const struct blocks8 *blks; local
151 const struct blocks8 *blks; local
215 const struct blocks8 *blks; local
[all...]
/freebsd-current/sys/contrib/openzfs/module/icp/include/sha2/
H A Dsha2_impl.h37 typedef void (*sha256_f)(uint32_t state[8], const void *data, size_t blks);
38 typedef void (*sha512_f)(uint64_t state[8], const void *data, size_t blks);
/freebsd-current/stand/libsa/geli/
H A Dgeliboot_crypto.c43 int err, blks; local
62 blks = rijndael_blockDecrypt(&cipher, &aeskey, data,
66 blks = rijndael_blockEncrypt(&cipher, &aeskey, data,
70 if (datasize != (blks / 8)) {
73 blks, datasize);
/freebsd-current/stand/efi/include/
H A Defifs.h104 #define EFI_LBAL_ARRAY_SIZE(lbal,offs,blks) \
105 (((blks) - (offs) - (lbal)->Hdr.HeaderSize) / sizeof(EFI_RL))
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_copies/
H A Dzfs_copies_002_pos.ksh94 blks=`$LS -lsk /$TESTPOOL/fs_$val/$FILE | $AWK '{print $1}'`
95 (( used = blks / 1024 ))
/freebsd-current/sbin/dump/
H A Dtraverse.c620 int i, j, count, blks, tbperdb; local
622 blks = howmany(frags * sblock->fs_fsize, TP_BSIZE);
624 for (i = 0; i < blks; i += TP_NINDIR) {
625 if (i + TP_NINDIR > blks)
626 count = blks;
657 int i, j, count, resid, blks, tbperdb, added; local
665 blks = howmany(frags * sblock->fs_fsize, TP_BSIZE);
674 blks -= howmany(sblock->fs_fsize, TP_BSIZE) - resid;
677 for (i = 0; i < blks; i += TP_NINDIR) {
678 if (i + TP_NINDIR > blks)
722 int i, blks, tbperdb; local
766 int i, frags, blks, tbperdb, last; local
[all...]
H A Dtape.c225 int i, blks, got; local
276 blks = 0;
282 blks++;
284 wp->count = lastspclrec + blks + 1 - spcl.c_tapea;
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_copies/
H A Dzfs_copies_002_pos.ksh89 blks=`ls -ls /$TESTPOOL/fs_$val/$FILE | awk '{print $1}'`
90 (( used = blks * $blksize )) # bytes
/freebsd-current/stand/i386/libi386/
H A Dbiosdisk.c972 size_t blks, blkoff, bsize, bio_size, rest; local
1009 blks = size / bd->bd_sectorsize;
1010 if (blks == 0 || (size % bd->bd_sectorsize) != 0)
1011 blks++;
1013 if (dblk > dblk + blks)
1043 if (dblk + blks >= d_offset + disk_blocks) {
1044 blks = d_offset + disk_blocks - dblk;
1045 size = blks * bd->bd_sectorsize;
1046 DPRINTF("short I/O %d", blks);
1066 while (blks >
1139 bd_edd_io(bdinfo_t *bd, daddr_t dblk, int blks, caddr_t dest, int dowrite) argument
1169 bd_chs_io(bdinfo_t *bd, daddr_t dblk, int blks, caddr_t dest, int dowrite) argument
1217 bd_io(struct disk_devdesc *dev, bdinfo_t *bd, daddr_t dblk, int blks, caddr_t dest, int dowrite) argument
[all...]
/freebsd-current/sbin/fsck_ffs/
H A Dmain.c230 intmax_t blks, files; local
503 blks = n_blks +
505 blks += cgsblock(&sblock, 0) - cgbase(&sblock, 0);
506 blks += howmany(sblock.fs_cssize, sblock.fs_fsize);
507 blks = maxfsblock - (n_ffree + sblock.fs_frag * n_bfree) - blks;
508 if (bkgrdflag && (files > 0 || blks > 0)) {
511 countdirs, files - countdirs, blks);
522 if (blks < 0)
523 printf("%jd blocks missing\n", -blks);
[all...]
H A Dinode.c1122 int i, blks; local
1128 blks = UFS_NDADDR + UFS_NIADDR;
1130 blks = howmany(DIP(dp, di_size), sblock.fs_bsize);
1132 blks = 1;
1134 Malloc(sizeof(*inp) + (blks - 1) * sizeof(ufs2_daddr_t));
1144 inp->i_numblks = blks;
1145 for (i = 0; i < MIN(blks, UFS_NDADDR); i++)
1147 if (blks > UFS_NDADDR)
/freebsd-current/crypto/openssl/crypto/
H A Dparams_dup.c66 size_t param_sz, blks; local
87 blks = ossl_param_bytes_to_blocks(param_sz);
91 buf[is_secure].cur += blks;
93 buf[is_secure].blocks += blks;
/freebsd-current/tools/test/stress2/lib/
H A Dresources.c212 reservedf(int64_t blks, int64_t inos) argument
230 getprogname(), blks/1024, inos, blocks/1024,
232 blocks -= blks;
/freebsd-current/sys/netinet/tcp_stacks/
H A Dsack_filter.c692 struct sackblk blks[TCP_MAX_SACK]; local
746 memset(blks, 0, sizeof(blks));
767 nn = sack_filter_blks(&tp, &sf, blks, numblks, th_ack);
771 szof = blks[ii].end - blks[ii].start;
774 blks[ii].start,
775 blks[ii].end, szof);
784 memset(blks, 0, sizeof(blks));
[all...]
/freebsd-current/sys/fs/ext2fs/
H A Dext2_balloc.c63 int blks, error, allocated; local
66 blks = howmany(size, fs->e2fs_bsize);
68 error = ext4_ext_get_blocks(ip, lbn, blks, cred, NULL, &allocated, &newblk);
/freebsd-current/sys/contrib/zlib/
H A Dcrc32.c710 z_size_t blks; local
722 blks = len / (N * W);
723 len -= blks * N * W;
776 Process the first blks-1 blocks, computing the CRCs on each braid
779 while (--blks) {
898 Process the first blks-1 blocks, computing the CRCs on each braid
901 while (--blks) {
/freebsd-current/usr.sbin/quot/
H A Dquot.c325 uses(uid_t uid, daddr_t blks, time_t act) argument
335 usr->space += blks;
338 usr->spc90 += blks;
340 usr->spc60 += blks;
342 usr->spc30 += blks;
/freebsd-current/sys/ufs/ffs/
H A Dffs_subr.c156 uint64_t size, blks; local
195 blks = howmany(size, fs->fs_fsize);
211 for (i = 0; i < blks; i += fs->fs_frag) {
213 if (i + fs->fs_frag > blks)
214 size = (blks - i) * fs->fs_fsize;
794 int i, error, blks, size; local
802 blks = howmany(fs->fs_cssize, fs->fs_fsize);
804 for (i = 0; i < blks; i += fs->fs_frag) {
806 if (i + fs->fs_frag > blks)
807 size = (blks
[all...]
H A Dfs.h366 int32_t fs_maxcontig; /* max number of contiguous blks */
367 int32_t fs_maxbpg; /* max number of blks per cyl group */
715 #define blkstofrags(fs, blks) /* calculates (blks * fs->fs_frag) */ \
716 ((blks) << (fs)->fs_fragshift)
/freebsd-current/usr.bin/mkimg/
H A Dgpt.c156 gpt_write_pmbr(lba_t blks, void *bootcode) argument
162 secs = (blks > UINT32_MAX) ? UINT32_MAX : (uint32_t)blks - 1;
/freebsd-current/sys/netipsec/
H A Dxform_esp.c708 int hlen, rlen, padding, blks, alen, i, roff; local
734 blks = MAX(4, espx->native_blocksize); /* Cipher blocksize */
736 blks = MAX(4, espx->blocksize);
739 padding = ((blks - ((rlen + 2) % blks)) % blks) + 2;
769 __func__, skip, hlen, rlen, padding, alen, blks)); */
/freebsd-current/sbin/tunefs/
H A Dtunefs.c914 int blks; local
1014 blks = indir_fill(blk, i, &resid) + 1;
1015 if (blks <= 0) {
1021 dp.dp1->di_blocks += blks;
1024 dp.dp2->di_blocks += blks;
/freebsd-current/usr.sbin/makefs/ffs/
H A Dmkfs.c511 printf("\tusing %d cylinder groups of %.2fMB, %d blks, "
580 int size, blks, i, saveflag; local
600 blks = howmany(size, fs->fs_fsize);
603 for (i = 0; i < blks; i+= fs->fs_frag) {
605 if (i + fs->fs_frag > blks)
606 size = (blks - i) * fs->fs_fsize;
/freebsd-current/sbin/restore/
H A Dtape.c1408 long blks, i; local
1444 blks = 0;
1448 blks++;
1449 predict = blks;

Completed in 260 milliseconds

12