Searched refs:blocksize (Results 26 - 50 of 159) sorted by relevance

1234567

/freebsd-11-stable/sys/arm/allwinner/
H A Da10_hdmiaudio.c92 uint32_t blocksize; member in struct:a10hdmiaudio_chinfo
152 ch->physaddr + ch->pos, TX_FIFO, ch->blocksize);
185 ch->pos += ch->blocksize;
285 a10hdmiaudio_chan_setblocksize(kobj_t obj, void *data, uint32_t blocksize) argument
289 ch->blocksize = blocksize & ~3;
291 return (ch->blocksize);
/freebsd-11-stable/crypto/openssl/crypto/ec/
H A Dec_mult.c84 size_t blocksize; /* block size for wNAF splitting */ member in struct:ec_pre_comp_st
113 ret->blocksize = 8; /* default */
560 size_t blocksize = 0, numblocks = 0; /* for wNAF splitting */ local
647 blocksize = pre_comp->blocksize;
653 numblocks = (BN_num_bits(scalar) / blocksize) + 1;
768 if (tmp_len < numblocks * blocksize) {
772 numblocks = (tmp_len + blocksize - 1) / blocksize;
786 wNAF_len[i] = blocksize;
997 size_t i, bits, w, pre_points_per_block, blocksize, numblocks, num; local
[all...]
/freebsd-11-stable/sbin/swapon/
H A Dswapon.c770 long blocksize)
779 snprintf(buf, bufsize, "%*lld", hlen, val / blocksize);
788 long blocksize; local
798 blocksize = 1024 * 1024 * 1024;
803 blocksize = -1;
808 blocksize = 1024;
813 blocksize = 1024 * 1024;
818 getbsize(&hlen, &blocksize);
819 snprintf(buf, sizeof(buf), "%ld-blocks", blocksize);
848 blocksize);
769 sizetobuf(char *buf, size_t bufsize, int hflag, long long val, int hlen, long blocksize) argument
[all...]
/freebsd-11-stable/usr.bin/systat/
H A Dswap.c60 static long blocksize; variable
95 #define CONVERT(v) ((int)((int64_t)(v) * pagesize / blocksize))
124 header = getbsize(&hlen, &blocksize);
/freebsd-11-stable/sys/geom/eli/
H A Dg_eli_key_cache.c203 size_t blocksize; local
210 blocksize = pp->sectorsize;
213 blocksize = sc->sc_sectorsize;
216 ((mediasize - 1) >> G_ELI_KEY_SHIFT) / blocksize + 1;
259 g_eli_key_hold(struct g_eli_softc *sc, off_t offset, size_t blocksize) argument
268 keyno = (offset >> G_ELI_KEY_SHIFT) / blocksize;
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dcrypto.h88 size_t blocksize; member in struct:_krb5_checksum_type
106 size_t blocksize; member in struct:_krb5_encryption_type
H A Dmit_glue.c184 size_t *blocksize)
198 ret = krb5_crypto_getblocksize(context, crypto, blocksize);
220 size_t blocksize; local
222 ret = krb5_crypto_getblocksize(context, crypto, &blocksize);
228 if (blocksize > ivec->length) {
260 size_t blocksize; local
262 ret = krb5_crypto_getblocksize(context, crypto, &blocksize);
268 if (blocksize > ivec->length) {
182 krb5_c_block_size(krb5_context context, krb5_enctype enctype, size_t *blocksize) argument
/freebsd-11-stable/usr.sbin/pstat/
H A Dpstat.c460 #define CONVERT(v) ((int64_t)(v) * pagesize / blocksize)
469 long blocksize; local
472 header = getbsize(&hlen, &blocksize);
486 long blocksize; local
489 getbsize(&hlen, &blocksize);
523 long blocksize; local
526 getbsize(&hlen, &blocksize);
528 blocksize = 1024 * 1024;
/freebsd-11-stable/usr.sbin/ctld/
H A Dtoken.l57 blocksize { return BLOCKSIZE; }
/freebsd-11-stable/bin/df/
H A Ddf.c163 * both -k and -P. It states that the blocksize should
165 * rather than clobbering the old blocksize.
477 static long blocksize; local
498 header = getbsize(&headerlen, &blocksize);
544 sfsp->f_bsize, blocksize),
545 mwp->used, fsbtoblk(used, sfsp->f_bsize, blocksize),
547 sfsp->f_bsize, blocksize));
597 static long blocksize = 0; local
600 if (blocksize == 0)
601 getbsize(&dummy, &blocksize);
[all...]
/freebsd-11-stable/sys/cam/ctl/
H A Dctl_backend_block.c795 off = roff = ((off_t)lbalen->lba) * be_lun->cbe_lun.blocksize;
815 scsi_ulto4b(MIN(UINT32_MAX, off / be_lun->cbe_lun.blocksize -
837 val = vattr.va_bytes / be_lun->cbe_lun.blocksize;
844 be_lun->cbe_lun.blocksize;
974 off = roff = ((off_t)lbalen->lba) * be_lun->cbe_lun.blocksize;
994 scsi_ulto4b(MIN(UINT32_MAX, off / be_lun->cbe_lun.blocksize -
1058 maxlen = LONG_MAX - (LONG_MAX % be_lun->cbe_lun.blocksize);
1068 bio->bio_pblkno = off / be_lun->cbe_lun.blocksize;
1115 be_lun->cbe_lun.blocksize;
1118 scsi_8btou64(buf->lba) * be_lun->cbe_lun.blocksize,
[all...]
/freebsd-11-stable/sys/opencrypto/
H A Dxform_auth.h58 u_int16_t blocksize; member in struct:auth_hash
H A Dxform_enc.h54 u_int16_t blocksize; member in struct:enc_xform
/freebsd-11-stable/usr.bin/hexdump/
H A Dhexdump.h76 extern int blocksize; /* data block size */
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dstring.c344 strbuf->blocksize = strbuf->len + 1;
356 * However, since svn_string_t does not know about the blocksize
378 svn_stringbuf_create_ensure(apr_size_t blocksize, apr_pool_t *pool)
383 ++blocksize; /* + space for '\0' */
386 membuf_create(&mem, &blocksize, blocksize + sizeof(*new_string), pool);
393 new_string->blocksize = blocksize - sizeof(*new_string);
438 result->blocksize = result->len + 1;
453 new_string->blocksize
374 svn_stringbuf_create_ensure(apr_size_t blocksize, apr_pool_t *pool) argument
[all...]
H A Dconfig_win.c126 option_len = (DWORD)option->blocksize;
145 DWORD value_len = (DWORD)value->blocksize;
237 DWORD section_len = (DWORD)section->blocksize;
/freebsd-11-stable/usr.sbin/camdd/
H A Dcamdd.c117 uint64_t blocksize; member in struct:camdd_io_opts
155 * be the size of the blocksize for this device.
161 * will be the blocksize of the device.
320 uint32_t blocksize; member in struct:camdd_dev
379 * our blocksize, and so we have to split them into multiple pieces.
673 data_ptr = malloc(dev->blocksize);
675 warn("unable to allocate %u bytes", dev->blocksize);
697 data->alloc_len = dev->blocksize;
1033 uint64_t blocksize = io_opts->blocksize; local
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Dhdspe-pcm.c506 hdspechan_setblocksize(kobj_t obj, void *data, uint32_t blocksize) argument
516 device_printf(scp->dev, "hdspechan_setblocksize(%d)\n", blocksize);
522 if (blocksize > HDSPE_LAT_BYTES_MAX)
523 blocksize = HDSPE_LAT_BYTES_MAX;
524 else if (blocksize < HDSPE_LAT_BYTES_MIN)
525 blocksize = HDSPE_LAT_BYTES_MIN;
527 blocksize /= 4 /* samples */;
531 if (latency_map[i].period == blocksize) {
542 if (blocksize < threshold)
H A Dmaestro.c1396 aggpch_setblocksize(kobj_t obj, void *data, u_int32_t blocksize) argument
1402 blkcnt = (ch->speed << (ch->stereo + ch->qs16)) / (50 * blocksize);
1403 RANGE(blkcnt, 2, ch->parent->bufsz / blocksize);
1405 if (sndbuf_getsize(ch->buffer) != blkcnt * blocksize) {
1406 sndbuf_resize(ch->buffer, blkcnt, blocksize);
1408 blocksize = sndbuf_getblksz(ch->buffer);
1411 sndbuf_setblksz(ch->buffer, blocksize);
1414 ch->blklen = blocksize / 2;
1415 ch->buflen = blkcnt * blocksize / 2;
1416 return blocksize;
1544 aggrch_setblocksize(kobj_t obj, void *data, u_int32_t blocksize) argument
[all...]
/freebsd-11-stable/sys/dev/glxsb/
H A Dglxsb_hash.c65 axf->Update(ses->ses_ictx, hmac_ipad_buffer, axf->blocksize - klen);
72 axf->Update(ses->ses_octx, hmac_opad_buffer, axf->blocksize - klen);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dspace_map.h210 void space_map_truncate(space_map_t *sm, int blocksize, dmu_tx_t *tx);
211 uint64_t space_map_alloc(objset_t *os, int blocksize, dmu_tx_t *tx);
H A Dzvol.h39 extern int zvol_check_volsize(uint64_t volsize, uint64_t blocksize);
/freebsd-11-stable/sys/sys/
H A Dkerneldump.h80 uint32_t blocksize; member in struct:kerneldumpheader
/freebsd-11-stable/contrib/unbound/util/
H A Dlog.c377 char buf[1024+1]; /* alloc blocksize hex chars + \0 */
378 const size_t blocksize = 512; local
386 for(i=0; i<length; i+=blocksize/2) {
387 len = blocksize/2;
388 if(length - i < blocksize/2)
/freebsd-11-stable/contrib/subversion/subversion/include/private/
H A Dsvn_subr_private.h46 * blocks that will be written into the spill-buffer ("blocksize"), and
67 * as the caller desires. Generally, N will be the blocksize, and will be
94 svn_spillbuf__create(apr_size_t blocksize,
100 svn_spillbuf__create_extended(apr_size_t blocksize,
180 svn_spillbuf__reader_create(apr_size_t blocksize,

Completed in 247 milliseconds

1234567