HomeSort by: relevance | last modified time | path
    Searched defs:blks (Results 1 - 25 of 41) sorted by relevancy

1 2

  /src/usr.sbin/mdconfig/
mdconfig.c 62 size_t blks, bytes; local
76 blks = (size_t)num;
77 bytes = blks << DEV_BSHIFT;
78 if (num <= 0 || bytes >> DEV_BSHIFT != blks) {
  /src/external/gpl2/mkhybrid/dist/
desktop.c 51 unsigned short blks; /* blocks in a clump */ local
64 blks = hce->hfs_dt_size;
65 clps = blks*HFS_BLOCKSZ;
81 d_putl(blk+36, blks);
82 d_putl(blk+40, blks - 1);
  /src/sys/arch/landisk/stand/boot/
biosdisk.c 357 int blks; local
367 blks = size / BIOSDISK_SECSIZE;
368 if (blks && readsects(d->dev, dblk, buf, blks)) {
377 if (readsects(d->dev, dblk + blks, d->buf, 1)) {
379 *rsize = blks * BIOSDISK_SECSIZE;
382 memcpy(buf + blks * BIOSDISK_SECSIZE, d->buf, frag);
  /src/crypto/external/apache2/openssl/dist/crypto/
params_dup.c 63 size_t param_sz, blks; local
84 blks = ossl_param_bytes_to_blocks(param_sz);
88 buf[is_secure].cur += blks;
90 buf[is_secure].blocks += blks;
  /src/crypto/external/bsd/openssl/dist/crypto/
params_dup.c 66 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;
  /src/sbin/fsck_lfs/
inode.c 367 unsigned int blks, i; local
369 blks = howmany(lfs_dino_getsize(fs, dp), lfs_sb_getbsize(fs));
370 if (blks > ULFS_NDADDR)
371 blks = ULFS_NDADDR + ULFS_NIADDR;
372 inp = emalloc(sizeof(*inp) + (blks - 1) * sizeof(inp->i_blks[0]));
385 inp->i_numblks = blks * sizeof(inp->i_blks[0]);
386 for (i=0; i<blks && i<ULFS_NDADDR; i++) {
389 for (; i<blks; i++) {
  /src/sys/dev/ic/
cac.c 659 u_int32_t blks; local
672 blks = CAC_GET2(dinfo.ncylinders) * CAC_GET1(dinfo.nheads) *
674 bv->bv_size = (off_t)blks * CAC_GET2(dinfo.secsize);
684 bv->bv_percent = ((blks - CAC_GET4(dstatus.prog)) * 1000ULL) /
685 blks;
  /src/sys/dev/qbus/
rl.c 591 int bn, cn, sn, tn, blks, err; local
638 blks = sc->sc_bytecnt/DEV_BSIZE;
640 if (sn + blks > RL_SPT/2)
641 blks = RL_SPT/2 - sn;
642 RL_WREG(RL_MP, -(blks*DEV_BSIZE)/2);
644 (blks*DEV_BSIZE), (bp->b_flags & B_PHYS ? bp->b_proc : 0),
652 sc->sc_bufaddr = (char *)sc->sc_bufaddr + (blks*DEV_BSIZE);
653 sc->sc_diskblk += blks;
654 sc->sc_bytecnt -= (blks*DEV_BSIZE);
  /src/sys/fs/udf/
udf_readwrite.c 292 int blks = sector_size / DEV_BSIZE; local
308 buf->b_lblkno = buf->b_blkno = buf->b_rawblkno = start * blks;
327 nestbuf->b_blkno = rblkno * blks;
329 nestbuf->b_rawblkno = rblkno * blks;
433 int blks = sector_size / DEV_BSIZE; local
452 rblkno = buf->b_blkno / blks;
467 nestbuf->b_blkno = rblkno * blks;
469 nestbuf->b_rawblkno = rblkno * blks;
490 int blks = sector_size / DEV_BSIZE; local
505 buf->b_lblkno = buf->b_blkno = buf->b_rawblkno = start * blks;
525 int blks = sector_size \/ DEV_BSIZE; local
571 int blks = sector_size \/ DEV_BSIZE; local
    [all...]
udf_strat_direct.c 250 int blks = sector_size / DEV_BSIZE; local
277 __USE(blks);
282 buf, (uint32_t) buf->b_blkno / blks, buf->b_udf_c_type,
292 buf, (uint32_t) buf->b_blkno / blks, buf->b_udf_c_type,
udf_strat_sequential.c 386 int blks = sector_size / DEV_BSIZE; local
393 buf, (uint32_t) buf->b_blkno / blks, buf->b_udf_c_type,
402 buf, (uint32_t) buf->b_blkno / blks, buf->b_udf_c_type,
440 buf->b_blkno = (*lmapping + ptov) * blks;
  /src/sys/netipsec/
xform_esp.c 684 int hlen, rlen, tlen, padlen, blks, alen, i, roff; local
711 blks = espx->blocksize; /* IV blocksize */
717 padlen = ((blks - ((rlen + sizeof(struct esptail)) % blks)) % blks);
  /src/external/gpl2/mkhybrid/dist/libhfs_iso/
lvolume.c 616 unsigned int pt, blks; local
712 for (blks = 0, pt = vol->mdb.drNmAlBlks; pt--; )
715 ++blks;
718 if (vol->mdb.drFreeBks != blks)
720 vol->mdb.drFreeBks = blks;
  /src/sys/ufs/ffs/
ffs_inode.c 213 daddr_t blks[UFS_NDADDR + UFS_NIADDR], oldblks[UFS_NDADDR + UFS_NIADDR]; local
426 blks[UFS_NDADDR + level] = DIP(oip, ib[level]);
427 if (lastiblock[level] < 0 && blks[UFS_NDADDR + level] != 0) {
434 blks[i] = DIP(oip, db[i]);
435 if (i > lastblock && blks[i] != 0) {
455 DIP_ASSIGN(oip, db[i], blks[i]);
456 blks[i] = bn;
460 DIP_ASSIGN(oip, ib[i], blks[UFS_NDADDR + i]);
461 blks[UFS_NDADDR + i] = bn;
579 KASSERTMSG((blks[UFS_NDADDR + level] == DIP(oip, ib[level]))
    [all...]
  /src/sbin/dump/
traverse.c 658 int i, j, count, blks, tbperdb; local
660 blks = howmany(frags * ufsib->ufs_fsize, TP_BSIZE);
662 for (i = 0; i < blks; i += TP_NINDIR) {
663 if (i + TP_NINDIR > blks)
664 count = blks;
690 int i, j, count, blks, tbperdb, added = 0; local
693 blks = howmany(frags * ufsib->ufs_fsize, TP_BSIZE);
705 blks -= howmany(ufsib->ufs_fsize, TP_BSIZE) - resid;
709 for (i = 0; i < blks; i += TP_NINDIR) {
710 if (i + TP_NINDIR > blks)
754 int i, blks, tbperdb, count, extsize; local
800 int i, frags, blks, tbperdb, last, extsize; local
    [all...]
  /src/sbin/fsck_ext2fs/
inode.c 499 unsigned int blks; local
501 blks = howmany(inosize(dp), sblock.e2fs_bsize);
502 if (blks > EXT2FS_NDADDR)
503 blks = EXT2FS_NDADDR + EXT2FS_NIADDR;
505 inp = malloc(sizeof(*inp) + (blks - 1) * sizeof(int32_t));
520 inp->i_numblks = blks * sizeof(int32_t);
  /src/sys/ufs/lfs/
ulfs_lookup.c 1201 daddr_t *blks; local
1209 blks = kmem_alloc((1 + dirrablks) * sizeof(daddr_t), KM_SLEEP);
1224 blks[run] = lbn;
1233 error = breadn(vp, blks[0], blksizes[0], &blks[1], &blksizes[1],
1245 kmem_free(blks, (1 + dirrablks) * sizeof(daddr_t));
  /src/usr.sbin/makefs/ffs/
mkfs.c 502 printf("\tusing %d cylinder groups of %.2fMB, %d blks, "
568 int size, blks, i, saveflag; local
586 blks = howmany(size, fs->fs_fsize);
589 for (i = 0; i < blks; i+= fs->fs_frag) {
591 if (i + fs->fs_frag > blks)
592 size = (blks - i) * fs->fs_fsize;
  /src/usr.sbin/mmcformat/
mmcformat.c 470 uint8_t *allow, uint32_t *blks, uint32_t *params)
478 bzero(blks, 255*4);
499 blks[format_tp] = num_blks;
680 "-X format expert format selector form 'fmt:blks:param' with -c\n"
692 uint32_t blks[256], params[256]; local
890 process_format_caps(caps, caps_len, inquiry, allow, blks, params);
979 format_blks = blks[format_type];
984 blks, params);
1040 "format_type 0x%02x, blks %d, param %d, "
  /src/external/gpl3/binutils/dist/zlib/
crc32.c 710 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) {
  /src/external/gpl3/binutils.old/dist/zlib/
crc32.c 758 z_size_t blks; local
770 blks = len / (N * W);
771 len -= blks * N * W;
824 Process the first blks-1 blocks, computing the CRCs on each braid
827 while (--blks) {
946 Process the first blks-1 blocks, computing the CRCs on each braid
949 while (--blks) {
  /src/external/gpl3/gdb.old/dist/zlib/
crc32.c 758 z_size_t blks; local
770 blks = len / (N * W);
771 len -= blks * N * W;
824 Process the first blks-1 blocks, computing the CRCs on each braid
827 while (--blks) {
946 Process the first blks-1 blocks, computing the CRCs on each braid
949 while (--blks) {
  /src/external/gpl3/gdb/dist/zlib/
crc32.c 710 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) {
  /src/common/dist/zlib/
crc32.c 643 z_size_t blks; local
655 blks = len / (N * W);
656 len -= blks * N * W;
709 Process the first blks-1 blocks, computing the CRCs on each braid
712 while (--blks) {
831 Process the first blks-1 blocks, computing the CRCs on each braid
834 while (--blks) {
  /src/sys/opencrypto/
cryptosoft.c 94 int i, k, j, blks, ivlen; local
98 blks = exf->enc_xform->blocksize;
100 KASSERT(exf->reinit ? ivlen <= blks : ivlen == blks);
103 if (crd->crd_len % blks)
141 i < crd->crd_skip + crd->crd_len; i += blks) {
150 i < crd->crd_skip + crd->crd_len; i += blks) {
153 for (k = 0; k < blks; k++)
156 for (k = 0; k < blks; k++)
157 buf[i + k] ^= buf[i + k - blks];
    [all...]

Completed in 35 milliseconds

1 2