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

  /src/sys/fs/v7fs/
v7fs_io_user.c 61 size_t blksz; member in struct:local_io
85 local.blksz = block_size;
124 size_t blksz = lio->blksz; local
127 if ((lseek(fd, (off_t)sector * blksz, SEEK_SET) < 0) ||
128 (read(fd, buf, blksz) < (ssize_t)blksz)) {
140 size_t blksz = lio->blksz; local
143 if ((lseek(fd, (off_t)sector * blksz, SEEK_SET) < 0) |
156 size_t blksz = lio->blksz; local
167 size_t blksz = lio->blksz; local
    [all...]
  /src/tests/lib/libc/sys/
t_aio_cancel.c 110 const size_t blksz = 0x1000; local
117 wbuf = malloc(blksz);
119 fill_pattern(wbuf, blksz, 0x33);
124 cb.aio_nbytes = blksz;
144 ATF_REQUIRE_EQ((ssize_t)blksz, aio_return(&cb));
150 ATF_REQUIRE_EQ((ssize_t)blksz, aio_return(&cb));
166 const size_t blksz = 4096; local
173 wbuf = malloc(blksz);
175 memset(wbuf, 0x7E, blksz);
180 cb.aio_nbytes = blksz;
    [all...]
t_aio_rw.c 112 const size_t blksz = 0x2000; local
119 wbuf = malloc(blksz);
120 rbuf = calloc(1, blksz);
123 fill_pattern(wbuf, blksz, 0xA0);
128 wcb.aio_nbytes = blksz;
137 ATF_REQUIRE_EQ((ssize_t)blksz, aio_return(&wcb));
142 rcb.aio_nbytes = blksz;
151 ATF_REQUIRE_EQ((ssize_t)blksz, aio_return(&rcb));
152 ATF_REQUIRE_EQ(0, memcmp(wbuf, rbuf, blksz));
t_aio_suspend.c 94 const size_t blksz = 4096; local
102 buf0 = malloc(blksz);
103 buf1 = malloc(blksz);
105 fill_pattern(buf0, blksz, 0x20);
106 fill_pattern(buf1, blksz, 0x40);
111 cb0.aio_nbytes = blksz;
117 cb1.aio_nbytes = blksz;
118 cb1.aio_offset = blksz;
133 ATF_REQUIRE_EQ((ssize_t)blksz, aio_return(&cb0));
142 ATF_REQUIRE_EQ((ssize_t)blksz, aio_return(&cb1))
    [all...]
  /src/crypto/external/apache2/openssl/dist/providers/implementations/ciphers/
ciphercommon.c 276 size_t blksz = ctx->blocksize; local
305 padnum = blksz - (inl % blksz);
329 if ((inl % blksz) != 0) {
351 blksz, &ctx->tlsmac, &ctx->alloced,
360 nextblocks = ossl_cipher_fillblock(ctx->buf, &ctx->bufsz, blksz,
363 nextblocks = inl & ~(blksz - 1);
370 if (ctx->bufsz == blksz && (ctx->enc || inl > 0 || !ctx->pad)) {
371 if (outsize < blksz) {
375 if (!ctx->hw->cipher(ctx, out, ctx->buf, blksz)) {
419 size_t blksz = ctx->blocksize; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/providers/implementations/ciphers/
ciphercommon.c 253 size_t blksz = ctx->blocksize; local
282 padnum = blksz - (inl % blksz);
306 if ((inl % blksz) != 0) {
329 blksz, &ctx->tlsmac, &ctx->alloced,
338 nextblocks = ossl_cipher_fillblock(ctx->buf, &ctx->bufsz, blksz,
341 nextblocks = inl & ~(blksz-1);
348 if (ctx->bufsz == blksz && (ctx->enc || inl > 0 || !ctx->pad)) {
349 if (outsize < blksz) {
353 if (!ctx->hw->cipher(ctx, out, ctx->buf, blksz)) {
397 size_t blksz = ctx->blocksize; local
    [all...]
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
dmu_diff.c 174 int blksz = BP_GET_LSIZE(bp); local
183 for (i = 0; i < blksz >> DNODE_SHIFT; i++) {
dmu.c 1583 uint32_t blksz = (uint32_t)arc_buf_size(buf); local
1600 if (offset == db->db.db_offset && blksz == db->db.db_size &&
1607 racct_add_force(curproc, RACCT_WRITEBPS, blksz);
1626 dmu_write(os, object, offset, blksz, buf->b_data, tx);
dnode.c 1536 int blksz, blkshift, head, tail; local
1541 blksz = dn->dn_datablksz;
1553 if (ISP2(blksz)) {
1554 head = P2NPHASE(off, blksz);
1555 blkoff = P2PHASE(off, blksz);
1560 if (off == 0 && len >= blksz) {
1571 } else if (off >= blksz) {
1576 head = blksz - off;
1583 ASSERT3U(blkoff + head, ==, blksz);
1613 ASSERT(ISP2(blksz));
    [all...]
zfs_znode.c 621 zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_buf_t *db, int blksz,
624 zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_buf_t *db, int blksz,
664 zp->z_blksz = blksz;
825 int err, blksz; local
858 blksz = doi.doi_data_block_size;
868 zp = zfs_znode_alloc(zfsvfs, db, blksz, obj_type, hdl, vp);
dbuf.c 850 int blksz = db->db.db_size; local
854 abuf = arc_loan_buf(spa, blksz);
855 bcopy(db->db.db_data, abuf->b_data, blksz);
2640 dbuf_spill_set_blksz(dmu_buf_t *db_fake, uint64_t blksz, dmu_tx_t *tx)
2647 if (blksz == 0)
2648 blksz = SPA_MINBLOCKSIZE;
2649 ASSERT3U(blksz, <=, spa_maxblocksize(dmu_objset_spa(db->db_objset)));
2650 blksz = P2ROUNDUP(blksz, SPA_MINBLOCKSIZE);
2655 dbuf_new_size(db, blksz, tx)
3137 int blksz = arc_buf_size(*datap); local
    [all...]
dmu_send.c 311 uint64_t object, uint64_t offset, int blksz, const blkptr_t *bp, void *data)
323 dsp->dsa_last_data_offset = offset + blksz - 1;
342 drrw->drr_length = blksz;
363 if (dump_record(dsp, data, blksz) != 0)
370 int blksz, const blkptr_t *bp)
388 drrw->drr_length = blksz;
403 dump_spill(dmu_sendarg_t *dsp, uint64_t object, int blksz, void *data)
417 drrs->drr_length = blksz;
420 if (dump_record(dsp, data, blksz) != 0)
658 int blksz = BP_GET_LSIZE(bp) local
680 int blksz = BP_GET_LSIZE(bp); local
691 int blksz = dblkszsec << SPA_MINBLOCKSHIFT; local
699 int blksz = dblkszsec << SPA_MINBLOCKSHIFT; local
    [all...]
zfs_vnops.c 941 int blksz = zp->z_blksz;
945 if ((ISP2(blksz))) {
946 nblk = (P2ROUNDUP(offset + n, blksz) - P2ALIGN(offset,
947 blksz)) / blksz;
949 ASSERT(offset + n <= blksz);
962 blksz), 0, blksz);
928 int blksz = zp->z_blksz; local
  /src/bin/pax/
buf_subs.c 78 int blksz = MAXBLK; /* block input/output size in bytes */ variable
120 blksz = rdblksz = wrblksz;
180 rdblksz = blksz = MAXBLK;
231 wrblksz = blksz = rdblksz;
233 blksz = rdblksz;
248 if ((cnt = (skcnt/blksz) * blksz) < skcnt)
249 cnt += blksz;
262 * the old rdblksz (now in blksz). If ar_rev() fouls up the
266 bufend = buf + blksz;
    [all...]
  /src/sys/opencrypto/
cryptosoft.c 576 int i, blksz = 0, ivlen = 0, len; local
603 blksz = axf->auth_hash->blocksize;
647 for (i = 0; i < crda->crd_len; i += blksz) {
648 len = MIN(crda->crd_len - i, blksz);
654 for (i = 0; i < crde->crd_len; i += blksz) {
655 len = MIN(crde->crd_len - i, blksz);
656 if (len < blksz)
657 memset(blk, 0, blksz);
675 memset(blk, 0, blksz);
680 axf->Update(&ctx, blk, blksz);
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/evp/
digest.c 985 size_t blksz = 0; local
994 params[0] = OSSL_PARAM_construct_size_t(OSSL_DIGEST_PARAM_BLOCK_SIZE, &blksz);
1001 if (mdsize > INT_MAX || blksz > INT_MAX)
1004 md->block_size = (int)blksz;
evp_lib.c 323 size_t blksz = 0; local
328 params[0] = OSSL_PARAM_construct_size_t(OSSL_CIPHER_PARAM_BLOCK_SIZE, &blksz);
343 cipher->block_size = blksz;
  /src/crypto/external/bsd/openssl/dist/crypto/evp/
digest.c 910 size_t blksz = 0; local
914 params[0] = OSSL_PARAM_construct_size_t(OSSL_DIGEST_PARAM_BLOCK_SIZE, &blksz);
921 if (mdsize > INT_MAX || blksz > INT_MAX)
924 md->block_size = (int)blksz;
evp_lib.c 345 size_t blksz = 0; local
350 params[0] = OSSL_PARAM_construct_size_t(OSSL_CIPHER_PARAM_BLOCK_SIZE, &blksz);
365 cipher->block_size = blksz;
  /src/external/gpl3/binutils/dist/gprofng/libcollector/
iolib.c 89 static long blksz; /* Block size. Multiple of page size. Power of two to make (x%blksz)==(x&(blksz-1)) fast. */ variable
90 static long log2blksz; /* log2(blksz) to make (x/blksz)==(x>>log2blksz) fast. */
119 blksz = pgsz;
121 while ((1 << log2blksz) < blksz)
123 blksz = 1L << log2blksz; /* ensure that blksz is a power of two */
124 TprintfT (DBG_LT1, "iolib init: page size=%ld (0x%lx) blksz=%ld (0x%lx) log2blksz=%ld\n"
    [all...]
  /src/external/gpl3/binutils.old/dist/gprofng/libcollector/
iolib.c 89 static long blksz; /* Block size. Multiple of page size. Power of two to make (x%blksz)==(x&(blksz-1)) fast. */ variable
90 static long log2blksz; /* log2(blksz) to make (x/blksz)==(x>>log2blksz) fast. */
119 blksz = pgsz;
121 while ((1 << log2blksz) < blksz)
123 blksz = 1L << log2blksz; /* ensure that blksz is a power of two */
124 TprintfT (DBG_LT1, "iolib init: page size=%ld (0x%lx) blksz=%ld (0x%lx) log2blksz=%ld\n"
    [all...]
  /src/sys/arch/i386/pci/
elan520.c 791 uint32_t addr_field, blksz, par, size_field; local
803 blksz = 64 * 1024;
807 blksz = 4 * 1024;
810 KASSERT(sz / blksz - 1 <= __SHIFTOUT_MASK(size_field));
811 KASSERT(addr / blksz <= __SHIFTOUT_MASK(addr_field));
814 par |= __SHIFTIN(sz / blksz - 1, size_field);
815 par |= __SHIFTIN(addr / blksz, addr_field);
  /src/external/gpl3/binutils/dist/gprofng/src/
Experiment.h 555 long blksz; // binary data file block size member in class:Experiment
  /src/external/gpl3/binutils.old/dist/gprofng/src/
Experiment.h 555 long blksz; // binary data file block size member in class:Experiment
  /src/sys/dev/ic/
cissreg.h 266 u_int16_t blksz; member in struct:ciss_pdid

Completed in 67 milliseconds