/freebsd-11.0-release/sbin/swapon/ |
H A D | swapon.c | 764 long blocksize) 773 snprintf(buf, bufsize, "%*lld", hlen, val / blocksize); 782 long blocksize; local 792 blocksize = 1024 * 1024 * 1024; 797 blocksize = -1; 802 blocksize = 1024; 807 blocksize = 1024 * 1024; 812 getbsize(&hlen, &blocksize); 813 snprintf(buf, sizeof(buf), "%ld-blocks", blocksize); 842 blocksize); 763 sizetobuf(char *buf, size_t bufsize, int hflag, long long val, int hlen, long blocksize) argument [all...] |
/freebsd-11.0-release/sys/geom/eli/ |
H A D | g_eli_key_cache.c | 204 size_t blocksize; local 211 blocksize = pp->sectorsize; 214 blocksize = sc->sc_sectorsize; 217 ((mediasize - 1) >> G_ELI_KEY_SHIFT) / blocksize + 1; 260 g_eli_key_hold(struct g_eli_softc *sc, off_t offset, size_t blocksize) argument 269 keyno = (offset >> G_ELI_KEY_SHIFT) / blocksize;
|
/freebsd-11.0-release/crypto/heimdal/lib/krb5/ |
H A D | crypto.h | 88 size_t blocksize; member in struct:_krb5_checksum_type 106 size_t blocksize; member in struct:_krb5_encryption_type
|
H A D | mit_glue.c | 184 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
|
H A D | crypto.c | 196 ipad = malloc(cm->blocksize + len); 199 opad = malloc(cm->blocksize + cm->checksumsize); 204 memset(ipad, 0x36, cm->blocksize); 205 memset(opad, 0x5c, cm->blocksize); 207 if(keyblock->key->keyvalue.length > cm->blocksize){ 224 memcpy(ipad + cm->blocksize, data, len); 225 (*cm->checksum)(context, keyblock, ipad, cm->blocksize + len, 227 memcpy(opad + cm->blocksize, result->checksum.data, 230 cm->blocksize + cm->checksumsize, usage, result); 231 memset(ipad, 0, cm->blocksize 2130 krb5_crypto_getblocksize(krb5_context context, krb5_crypto crypto, size_t *blocksize) argument [all...] |
/freebsd-11.0-release/usr.sbin/ctld/ |
H A D | token.l | 54 blocksize { return BLOCKSIZE; }
|
/freebsd-11.0-release/usr.sbin/pstat/ |
H A D | pstat.c | 462 #define CONVERT(v) ((int64_t)(v) * pagesize / blocksize) 471 long blocksize; local 474 header = getbsize(&hlen, &blocksize); 488 long blocksize; local 491 getbsize(&hlen, &blocksize); 525 long blocksize; local 528 getbsize(&hlen, &blocksize); 530 blocksize = 1024 * 1024;
|
/freebsd-11.0-release/bin/df/ |
H A D | df.c | 138 * both -k and -P. It states that the blocksize should 140 * rather than clobbering the old blocksize. 427 static long blocksize; local 448 header = getbsize(&headerlen, &blocksize); 494 sfsp->f_bsize, blocksize), 495 mwp->used, fsbtoblk(used, sfsp->f_bsize, blocksize), 497 sfsp->f_bsize, blocksize)); 547 static long blocksize = 0; local 550 if (blocksize == 0) 551 getbsize(&dummy, &blocksize); [all...] |
/freebsd-11.0-release/sys/cam/ctl/ |
H A D | ctl_backend_ramdisk.c | 282 lbalen->len * cbe_lun->blocksize; 530 cbe_lun->blocksize = params->blocksize_bytes; 532 cbe_lun->blocksize = 2048; 534 cbe_lun->blocksize = 512; 535 if (params->lun_size_bytes < cbe_lun->blocksize) { 537 "%s: LUN size %ju < blocksize %u", __func__, 538 params->lun_size_bytes, cbe_lun->blocksize); 541 be_lun->size_blocks = params->lun_size_bytes / cbe_lun->blocksize; 542 be_lun->size_bytes = be_lun->size_blocks * cbe_lun->blocksize; 545 cbe_lun->opttxferlen = softc->rd_size / cbe_lun->blocksize; 700 uint32_t blocksize; local [all...] |
H A D | ctl_backend_block.c | 795 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.0-release/usr.bin/hexdump/ |
H A D | hexdump.h | 76 extern int blocksize; /* data block size */
|
/freebsd-11.0-release/sys/opencrypto/ |
H A D | xform_auth.h | 58 u_int16_t blocksize; member in struct:auth_hash
|
H A D | xform_enc.h | 54 u_int16_t blocksize; member in struct:enc_xform
|
/freebsd-11.0-release/usr.sbin/camdd/ |
H A D | camdd.c | 117 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. 676 data_ptr = malloc(dev->blocksize); 678 warn("unable to allocate %u bytes", dev->blocksize); 701 data->alloc_len = dev->blocksize; 1042 uint64_t blocksize = io_opts->blocksize; local [all...] |
/freebsd-11.0-release/sys/dev/sound/pci/ |
H A D | hdspe-pcm.c | 506 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 D | maestro.c | 1396 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.0-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | string.c | 344 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 D | config_win.c | 126 option_len = (DWORD)option->blocksize; 145 DWORD value_len = (DWORD)value->blocksize; 233 DWORD section_len = (DWORD)section->blocksize;
|
/freebsd-11.0-release/sys/dev/glxsb/ |
H A D | glxsb_hash.c | 65 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.0-release/contrib/unbound/util/ |
H A D | log.c | 350 char buf[1024+1]; /* alloc blocksize hex chars + \0 */ 351 const size_t blocksize = 512; local 359 for(i=0; i<length; i+=blocksize/2) { 360 len = blocksize/2; 361 if(length - i < blocksize/2)
|
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | zvol.h | 39 extern int zvol_check_volsize(uint64_t volsize, uint64_t blocksize);
|
/freebsd-11.0-release/sys/sys/ |
H A D | kerneldump.h | 80 uint32_t blocksize; member in struct:kerneldumpheader
|
/freebsd-11.0-release/contrib/subversion/subversion/include/private/ |
H A D | svn_subr_private.h | 46 * 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,
|
/freebsd-11.0-release/crypto/openssl/crypto/evp/ |
H A D | e_camellia.c | 208 # define BLOCK_CIPHER_generic(nid,keylen,blocksize,ivlen,nmode,mode,MODE,flags) \ 210 nid##_##keylen##_##nmode,blocksize,keylen/8,ivlen, \ 218 nid##_##keylen##_##nmode,blocksize, \ 231 # define BLOCK_CIPHER_generic(nid,keylen,blocksize,ivlen,nmode,mode,MODE,flags) \ 233 nid##_##keylen##_##nmode,blocksize,keylen/8,ivlen, \
|
/freebsd-11.0-release/sys/arm/allwinner/ |
H A D | a10_codec.c | 165 uint32_t blocksize; member in struct:a10codec_chinfo 347 ch->blocksize); 386 ch->pos += ch->blocksize; 648 a10codec_chan_setblocksize(kobj_t obj, void *data, uint32_t blocksize) argument 652 ch->blocksize = blocksize & ~3; 654 return (ch->blocksize);
|