Home
last modified time | relevance | path

Searched refs:blocks (Results 1 – 25 of 719) sorted by relevance

12345678910>>...29

/freebsd/contrib/xz/src/liblzma/common/
H A Dindex_hash.c48 lzma_index_hash_info blocks; member
82 index_hash->blocks.blocks_size = 0; in lzma_index_hash_init()
83 index_hash->blocks.uncompressed_size = 0; in lzma_index_hash_init()
84 index_hash->blocks.count = 0; in lzma_index_hash_init()
85 index_hash->blocks.index_list_size = 0; in lzma_index_hash_init()
119 index_hash->blocks.index_list_size); in lzma_index_hash_size()
160 index_hash->blocks.index_list_size) in lzma_index_hash_append()
163 index_hash->blocks.count, in lzma_index_hash_append()
164 index_hash->blocks.index_list_size) in lzma_index_hash_append()
250 if (index_hash->blocks.blocks_size in lzma_index_hash_decode()
[all …]
/freebsd/crypto/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha1.c146 int blocks; member
154 int blocks; member
172 } blocks[8]; in tls1_1_multi_block_encrypt() local
251 edges[i].blocks = 1; in tls1_1_multi_block_encrypt()
293 memset(blocks, 0, sizeof(blocks)); in tls1_1_multi_block_encrypt()
325 memset(blocks, 0, sizeof(blocks)); in tls1_1_multi_block_encrypt()
338 blocks[i].c[20] = 0x80; in tls1_1_multi_block_encrypt()
355 edges[i].blocks = 1; in tls1_1_multi_block_encrypt()
401 OPENSSL_cleanse(blocks, sizeof(blocks)); in tls1_1_multi_block_encrypt()
445 aes_off += blocks; in aesni_cbc_hmac_sha1_cipher()
[all …]
H A De_aes_cbc_hmac_sha256.c141 int blocks; member
149 int blocks; member
167 } blocks[8]; in tls1_1_multi_block_encrypt() local
250 edges[i].blocks = 1; in tls1_1_multi_block_encrypt()
292 memset(blocks, 0, sizeof(blocks)); in tls1_1_multi_block_encrypt()
324 memset(blocks, 0, sizeof(blocks)); in tls1_1_multi_block_encrypt()
343 blocks[i].c[32] = 0x80; in tls1_1_multi_block_encrypt()
366 edges[i].blocks = 1; in tls1_1_multi_block_encrypt()
415 OPENSSL_cleanse(blocks, sizeof(blocks)); in tls1_1_multi_block_encrypt()
474 aes_off += blocks; in aesni_cbc_hmac_sha256_cipher()
[all …]
H A De_rc4_hmac_md5.c83 md5_off = MD5_CBLOCK - key->md.num, blocks; in rc4_hmac_md5_cipher() local
106 blocks *= MD5_CBLOCK; in rc4_hmac_md5_cipher()
107 rc4_off += blocks; in rc4_hmac_md5_cipher()
108 md5_off += blocks; in rc4_hmac_md5_cipher()
109 key->md.Nh += blocks >> 29; in rc4_hmac_md5_cipher()
110 key->md.Nl += blocks <<= 3; in rc4_hmac_md5_cipher()
111 if (key->md.Nl < (unsigned int)blocks) in rc4_hmac_md5_cipher()
150 blocks *= MD5_CBLOCK; in rc4_hmac_md5_cipher()
151 rc4_off += blocks; in rc4_hmac_md5_cipher()
152 md5_off += blocks; in rc4_hmac_md5_cipher()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_property/
H A Dzfs_written_property_001_pos.ksh74 count=$blocks
81 ((blocks = blocks + 50))
85 blocks=0
98 ((blocks = blocks + 50))
106 blocks=50
113 ((blocks = blocks + 50))
138 blocks=20
140 count=$blocks
197 blocks=10
209 ((blocks = blocks + 10))
[all …]
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha1_hw.c108 int blocks; member
114 int blocks; member
135 } blocks[8]; in tls1_multi_block_encrypt() local
214 edges[i].blocks = 1; in tls1_multi_block_encrypt()
256 memset(blocks, 0, sizeof(blocks)); in tls1_multi_block_encrypt()
288 memset(blocks, 0, sizeof(blocks)); in tls1_multi_block_encrypt()
301 blocks[i].c[20] = 0x80; in tls1_multi_block_encrypt()
318 edges[i].blocks = 1; in tls1_multi_block_encrypt()
364 OPENSSL_cleanse(blocks, sizeof(blocks)); in tls1_multi_block_encrypt()
406 aes_off += blocks; in aesni_cbc_hmac_sha1_cipher()
[all …]
H A Dcipher_aes_cbc_hmac_sha256_hw.c112 int blocks; member
118 int blocks; member
139 } blocks[8]; in tls1_multi_block_encrypt() local
222 edges[i].blocks = 1; in tls1_multi_block_encrypt()
264 memset(blocks, 0, sizeof(blocks)); in tls1_multi_block_encrypt()
296 memset(blocks, 0, sizeof(blocks)); in tls1_multi_block_encrypt()
315 blocks[i].c[32] = 0x80; in tls1_multi_block_encrypt()
338 edges[i].blocks = 1; in tls1_multi_block_encrypt()
387 OPENSSL_cleanse(blocks, sizeof(blocks)); in tls1_multi_block_encrypt()
444 aes_off += blocks; in aesni_cbc_hmac_sha256_cipher()
[all …]
H A Dcipher_chacha20_hw.c70 size_t blocks = inl / CHACHA_BLK_SIZE; in chacha20_cipher() local
77 if (sizeof(size_t) > sizeof(unsigned int) && blocks > (1U << 28)) in chacha20_cipher()
78 blocks = (1U << 28); in chacha20_cipher()
86 ctr32 += (unsigned int)blocks; in chacha20_cipher()
87 if (ctr32 < blocks) { in chacha20_cipher()
88 blocks -= ctr32; in chacha20_cipher()
91 blocks *= CHACHA_BLK_SIZE; in chacha20_cipher()
92 ChaCha20_ctr32(out, in, blocks, ctx->key.d, ctx->counter); in chacha20_cipher()
93 inl -= blocks; in chacha20_cipher()
94 in += blocks; in chacha20_cipher()
[all …]
H A Dcipher_rc4_hmac_md5_hw.c58 size_t md5_off = MD5_CBLOCK - ctx->md.num, blocks; in cipher_hw_rc4_hmac_md5_cipher() local
82 blocks *= MD5_CBLOCK; in cipher_hw_rc4_hmac_md5_cipher()
83 rc4_off += blocks; in cipher_hw_rc4_hmac_md5_cipher()
84 md5_off += blocks; in cipher_hw_rc4_hmac_md5_cipher()
85 ctx->md.Nh += blocks >> 29; in cipher_hw_rc4_hmac_md5_cipher()
86 ctx->md.Nl += blocks <<= 3; in cipher_hw_rc4_hmac_md5_cipher()
87 if (ctx->md.Nl < (unsigned int)blocks) in cipher_hw_rc4_hmac_md5_cipher()
128 blocks *= MD5_CBLOCK; in cipher_hw_rc4_hmac_md5_cipher()
129 rc4_off += blocks; in cipher_hw_rc4_hmac_md5_cipher()
130 md5_off += blocks; in cipher_hw_rc4_hmac_md5_cipher()
[all …]
/freebsd/crypto/openssl/crypto/modes/
H A Dctr128.c168 size_t blocks = len / 16; in CRYPTO_ctr128_encrypt_ctr32() local
174 if (sizeof(size_t) > sizeof(unsigned int) && blocks > (1U << 28)) in CRYPTO_ctr128_encrypt_ctr32()
175 blocks = (1U << 28); in CRYPTO_ctr128_encrypt_ctr32()
182 ctr32 += (u32)blocks; in CRYPTO_ctr128_encrypt_ctr32()
183 if (ctr32 < blocks) { in CRYPTO_ctr128_encrypt_ctr32()
184 blocks -= ctr32; in CRYPTO_ctr128_encrypt_ctr32()
187 (*func) (in, out, blocks, key, ivec); in CRYPTO_ctr128_encrypt_ctr32()
193 blocks *= 16; in CRYPTO_ctr128_encrypt_ctr32()
194 len -= blocks; in CRYPTO_ctr128_encrypt_ctr32()
195 out += blocks; in CRYPTO_ctr128_encrypt_ctr32()
[all …]
/freebsd/sys/net/route/
H A Dnhop_utils.c57 bh->blocks = _ITEMS_TO_BLOCKS(num_items); in bitmask_init()
64 if ((bh->items_count * 2 > _BLOCKS_TO_ITEMS(bh->blocks)) && bh->items_count < 65536) in bitmask_get_resize_items()
65 return (_BLOCKS_TO_ITEMS(bh->blocks) * 2); in bitmask_get_resize_items()
121 if (bi->blocks < new_blocks) { in bitmask_copy()
123 if (bi->blocks > 0) in bitmask_copy()
124 memcpy(new_idx, bi->idx, _BLOCKS_TO_SZ(bi->blocks)); in bitmask_copy()
128 for (int i = new_blocks; i < bi->blocks; i++) { in bitmask_copy()
143 bh->blocks = _ITEMS_TO_BLOCKS(new_items); in bitmask_swap()
162 for (i = off; i < bi->blocks; i++, mask++) { in bitmask_alloc_idx()
197 if (i >= bi->blocks) in bitmask_free_idx()
/freebsd/sys/contrib/device-tree/Bindings/sifive/
H A Dsifive-blocks-ip-versioning.txt1 DT compatible string versioning for SiFive open-source IP blocks
4 strings for open-source SiFive IP blocks. HDL for these IP blocks
7 https://github.com/sifive/sifive-blocks
14 https://github.com/sifive/sifive-blocks/blob/v1.0/src/main/scala/devices/uart/UART.scala#L43
16 Until these IP blocks (or IP integration) support version
17 auto-discovery, the maintainers of these IP blocks intend to increment
19 interface to these IP blocks changes, or when the functionality of the
20 underlying IP blocks changes in a way that software should be aware of.
25 upstream sifive-blocks commits. It is expected that most drivers will
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_internal-cipher.c106 size_t i, j, blocks; in crypto_cipher_encrypt() local
119 blocks = len / AES_BLOCK_SIZE; in crypto_cipher_encrypt()
120 for (i = 0; i < blocks; i++) { in crypto_cipher_encrypt()
133 blocks = len / 8; in crypto_cipher_encrypt()
134 for (i = 0; i < blocks; i++) { in crypto_cipher_encrypt()
147 blocks = len / 8; in crypto_cipher_encrypt()
148 for (i = 0; i < blocks; i++) { in crypto_cipher_encrypt()
169 size_t i, j, blocks; in crypto_cipher_decrypt() local
183 blocks = len / AES_BLOCK_SIZE; in crypto_cipher_decrypt()
197 blocks = len / 8; in crypto_cipher_decrypt()
[all …]
H A Daes-cbc.c29 int i, j, blocks; in aes_128_cbc_encrypt() local
39 blocks = data_len / AES_BLOCK_SIZE; in aes_128_cbc_encrypt()
40 for (i = 0; i < blocks; i++) { in aes_128_cbc_encrypt()
65 int i, j, blocks; in aes_128_cbc_decrypt() local
75 blocks = data_len / AES_BLOCK_SIZE; in aes_128_cbc_decrypt()
76 for (i = 0; i < blocks; i++) { in aes_128_cbc_decrypt()
/freebsd/tools/diag/prtblknos/
H A DREADME3 of blocks used by a requested list of inodes.
5 For example, to list the blocks referenced by your kernel:
8 Filesystem 1K-blocks Used Avail Capacity Mounted on
24 Each contiguous range of blocks is printed on a line.
26 previous set of blocks to the beginning of the next set of blocks.
30 size blocks which by today's default is 32Kb.
35 physical block numbers reference 4Kb blocks. The distances listed
43 half the block size (say 32Kb blocks with 16Kb fragments) then the
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/block_cloning/
H A Dblock_cloning_copyfilerange_fallback.ksh61 typeset blocks=$(get_same_blocks $TESTPOOL file $TESTPOOL clone)
62 log_must [ "$blocks" = "0 1 2 3" ]
72 typeset blocks=$(get_same_blocks $TESTPOOL file $TESTPOOL clone)
73 log_must [ "$blocks" = "1 2 3" ]
83 typeset blocks=$(get_same_blocks $TESTPOOL file $TESTPOOL clone)
84 log_must [ "$blocks" = "1" ]
H A Dblock_cloning_ficlonerange_partial.ksh53 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2)
54 log_must [ "$blocks" = "" ]
61 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2)
62 log_must [ "$blocks" = "1 2" ]
H A Dblock_cloning_copyfilerange_partial.ksh57 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2)
58 log_must [ "$blocks" = "" ]
65 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2)
66 log_must [ "$blocks" = "1 2" ]
/freebsd/crypto/openssl/include/crypto/
H A Daes_platform.h49 size_t blocks, const AES_KEY *key,
175 size_t blocks, const void *key,
181 size_t blocks, const void *key,
190 size_t blocks,
207 size_t blocks,
214 size_t blocks,
292 size_t blocks, const AES_KEY *key1,
295 size_t blocks, const AES_KEY *key1,
298 size_t blocks, const AES_KEY *key1,
428 size_t blocks, const void *key,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DGCOV.cpp158 if (srcNo >= fn->blocks.size()) { in readGCNO()
179 if (srcNo >= fn->blocks.size()) { in readGCNO()
283 if (fn->blocks.size() >= 2) { in readGCDA()
286 version < GCOV::V408 ? *fn->blocks.back() : *fn->blocks[1]; in readGCDA()
358 return blocks.front()->getCount(); in getEntryCount()
362 return file.getVersion() < GCOV::V408 ? *blocks.back() : *blocks[1]; in getExitBlock()
427 for (const auto &Block : blocks) in print()
529 for (const auto *b : blocks) { in getCyclesCount()
545 for (const auto *b : blocks) { in getCyclesCount()
717 line.blocks.push_back(&b); in collectFunction()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dwrite.sh104 off_t blocks;
139 for (i = 0; i < t[indx].blocks; i++) {
183 t[i].blocks = 2LL << (arc4random() % 18);
184 if (t[i].blocks * t[i].blocksize > MAXSIZ)
185 t[i].blocks = MAXSIZ / t[i].blocksize;
190 t[i].maxdelay, (long long)t[i].blocks,
191 (long long)t[i].blocksize * t[i].blocks / 1024 / 1024);
H A Dsplit.sh63 local blocks md5 md5a orig s spmax spmin
67 blocks=`jot -r 1 1 $mx`
68 dd if=/dev/random of=file.$1 bs=1023 count=$blocks status=none
72 spmax=$((1023 * blocks / 2))
/freebsd/contrib/libxo/doc/
H A Dformatting.rst92 xo_emit("{:blocks/%d}\t{:path/%s}\n", num_blocks, path);
107 <blocks>36</blocks>
111 <blocks>40</blocks>
115 <blocks>90</blocks>
133 { "blocks": 36, "path" : "./src" },
134 { "blocks": 40, "path" : "./bin" },
135 { "blocks": 90, "path" : "./" }
152 <div class="data" data-tag="blocks">36</div>
157 <div class="data" data-tag="blocks">40</div>
162 <div class="data" data-tag="blocks">90</div>
/freebsd/sys/contrib/openzfs/module/icp/algs/blake3/
H A Dblake3_impl.c49 size_t num_inputs, size_t blocks, const uint32_t key[8],
72 size_t num_inputs, size_t blocks, const uint32_t key[8], in blake3_hash_many_sse2() argument
76 zfs_blake3_hash_many_sse2(inputs, num_inputs, blocks, key, counter, in blake3_hash_many_sse2()
113 size_t num_inputs, size_t blocks, const uint32_t key[8],
136 size_t num_inputs, size_t blocks, const uint32_t key[8], in blake3_hash_many_sse41() argument
140 zfs_blake3_hash_many_sse41(inputs, num_inputs, blocks, key, counter, in blake3_hash_many_sse41()
168 size_t num_inputs, size_t blocks, const uint32_t key[8],
173 size_t num_inputs, size_t blocks, const uint32_t key[8], in blake3_hash_many_avx2() argument
177 zfs_blake3_hash_many_avx2(inputs, num_inputs, blocks, key, counter, in blake3_hash_many_avx2()
209 size_t num_inputs, size_t blocks, const uint32_t key[8],
[all …]
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dhash.h84 const uint32_t *blocks = (const uint32_t *) (data + nblocks*4); in hash_x86_32() local
88 uint32_t k1 = hash_get_block_32(blocks, i); in hash_x86_32()
140 const uint32_t *blocks = (const uint32_t *) (data + nblocks*16); in hash_x86_128() local
144 uint32_t k1 = hash_get_block_32(blocks, i*4 + 0); in hash_x86_128()
145 uint32_t k2 = hash_get_block_32(blocks, i*4 + 1); in hash_x86_128()
146 uint32_t k3 = hash_get_block_32(blocks, i*4 + 2); in hash_x86_128()
147 uint32_t k4 = hash_get_block_32(blocks, i*4 + 3); in hash_x86_128()
238 const uint64_t *blocks = (const uint64_t *) (data); in hash_x64_128() local
242 uint64_t k1 = hash_get_block_64(blocks, i*2 + 0); in hash_x64_128()
243 uint64_t k2 = hash_get_block_64(blocks, i*2 + 1); in hash_x64_128()

12345678910>>...29