Home
last modified time | relevance | path

Searched refs:chunksize (Results 1 – 25 of 78) sorted by relevance

1234

/Linux-v6.1/lib/
Ddecompress_unlz4.c38 size_t chunksize = 0; in unlz4() local
91 chunksize = get_unaligned_le32(inp); in unlz4()
92 if (chunksize == ARCHIVE_MAGICNUMBER) { in unlz4()
120 chunksize = get_unaligned_le32(inp); in unlz4()
121 if (chunksize == ARCHIVE_MAGICNUMBER) { in unlz4()
131 if (!fill && chunksize == 0) { in unlz4()
143 if (chunksize > LZ4_compressBound(uncomp_chunksize)) { in unlz4()
147 size = fill(inp, chunksize); in unlz4()
148 if (size < chunksize) { in unlz4()
161 chunksize = ret; in unlz4()
[all …]
/Linux-v6.1/crypto/
Dstreebog_generic.c1006 size_t chunksize; in streebog_update() local
1009 chunksize = STREEBOG_BLOCK_SIZE - ctx->fillsize; in streebog_update()
1010 if (chunksize > len) in streebog_update()
1011 chunksize = len; in streebog_update()
1012 memcpy(&ctx->buffer[ctx->fillsize], data, chunksize); in streebog_update()
1013 ctx->fillsize += chunksize; in streebog_update()
1014 len -= chunksize; in streebog_update()
1015 data += chunksize; in streebog_update()
Dchacha_generic.c81 .chunksize = CHACHA_BLOCK_SIZE,
96 .chunksize = CHACHA_BLOCK_SIZE,
111 .chunksize = CHACHA_BLOCK_SIZE,
Daead.c224 if (max3(alg->maxauthsize, alg->ivsize, alg->chunksize) > in aead_prepare_alg()
228 if (!alg->chunksize) in aead_prepare_alg()
229 alg->chunksize = base->cra_blocksize; in aead_prepare_alg()
Dsimd.c183 alg->chunksize = ialg->chunksize; in simd_skcipher_create_compat()
431 alg->chunksize = ialg->chunksize; in simd_aead_create_compat()
Dofb.c72 inst->alg.chunksize = alg->cra_blocksize; in crypto_ofb_create()
/Linux-v6.1/drivers/md/
Dmd-bitmap.c470 sb->chunksize = cpu_to_le32(bitmap->mddev->bitmap_info.chunksize); in md_bitmap_update_sb()
500 pr_debug(" chunksize: %d B\n", le32_to_cpu(sb->chunksize)); in md_bitmap_print_sb()
522 unsigned long chunksize, daemon_sleep, write_behind; in md_bitmap_new_disk_sb() local
534 chunksize = bitmap->mddev->bitmap_info.chunksize; in md_bitmap_new_disk_sb()
535 BUG_ON(!chunksize); in md_bitmap_new_disk_sb()
536 if (!is_power_of_2(chunksize)) { in md_bitmap_new_disk_sb()
541 sb->chunksize = cpu_to_le32(chunksize); in md_bitmap_new_disk_sb()
582 unsigned long chunksize, daemon_sleep, write_behind; in md_bitmap_read_sb() local
591 chunksize = 128 * 1024 * 1024; in md_bitmap_read_sb()
610 (bitmap->mddev->bitmap_info.chunksize >> 9)); in md_bitmap_read_sb()
[all …]
Dmd-bitmap.h131 __le32 chunksize; /* 52 the bitmap chunk size in bytes */ member
270 int chunksize, int init);
/Linux-v6.1/drivers/crypto/bcm/
Dcipher.c137 unsigned int chunksize, u32 stat_pad_len) in spu_skcipher_rx_sg_create() argument
162 rctx->dst_nents, chunksize); in spu_skcipher_rx_sg_create()
163 if (datalen < chunksize) { in spu_skcipher_rx_sg_create()
165 __func__, chunksize, datalen); in spu_skcipher_rx_sg_create()
200 u8 tx_frag_num, unsigned int chunksize, u32 pad_len) in spu_skcipher_tx_sg_create() argument
226 rctx->src_nents, chunksize); in spu_skcipher_tx_sg_create()
227 if (unlikely(datalen < chunksize)) { in spu_skcipher_tx_sg_create()
309 unsigned int chunksize; /* Num bytes of request to submit */ in handle_skcipher_req() local
340 chunksize = ctx->max_payload; in handle_skcipher_req()
342 chunksize = remaining; in handle_skcipher_req()
[all …]
Dspu2.h181 u32 chunksize, u16 hash_block_size);
213 unsigned int assoclen, unsigned int chunksize,
Dspu.h230 u32 chunksize, u16 hash_block_size);
272 unsigned int chunksize,
Dspu.c425 u32 chunksize, u16 hash_block_size) in spum_hash_pad_len() argument
433 used_space_last_block = chunksize % hash_block_size; in spum_hash_pad_len()
440 used_space_last_block = chunksize % hash_block_size + 1; in spum_hash_pad_len()
1144 unsigned int chunksize, in spum_ccm_update_iv() argument
1198 chunksize -= digestsize; in spum_ccm_update_iv()
1201 format_value_ccm(chunksize, &cipher_parms->iv_buf[15 - L + 1], L); in spum_ccm_update_iv()
Dcipher.h368 enum hash_mode hash_mode, u32 chunksize,
403 unsigned int assoclen, unsigned int chunksize,
/Linux-v6.1/scripts/dtc/
Ddata.c85 size_t chunksize, ret; in data_copy_file() local
88 chunksize = 4096; in data_copy_file()
90 chunksize = maxlen - d.len; in data_copy_file()
92 d = data_grow_for(d, chunksize); in data_copy_file()
93 ret = fread(d.val + d.len, 1, chunksize, f); in data_copy_file()
/Linux-v6.1/arch/arm/crypto/
Dchacha-glue.c207 .chunksize = CHACHA_BLOCK_SIZE,
222 .chunksize = CHACHA_BLOCK_SIZE,
237 .chunksize = CHACHA_BLOCK_SIZE,
256 .chunksize = CHACHA_BLOCK_SIZE,
272 .chunksize = CHACHA_BLOCK_SIZE,
288 .chunksize = CHACHA_BLOCK_SIZE,
/Linux-v6.1/fs/ocfs2/
Dioctl.c400 unsigned int chunksize) in o2ffg_update_histogram() argument
404 index = __ilog2_u32(chunksize); in o2ffg_update_histogram()
409 hist->fc_clusters[index] += chunksize; in o2ffg_update_histogram()
413 unsigned int chunksize) in o2ffg_update_stats() argument
415 if (chunksize > stats->ffs_max) in o2ffg_update_stats()
416 stats->ffs_max = chunksize; in o2ffg_update_stats()
418 if (chunksize < stats->ffs_min) in o2ffg_update_stats()
419 stats->ffs_min = chunksize; in o2ffg_update_stats()
421 stats->ffs_avg += chunksize; in o2ffg_update_stats()
426 unsigned int chunksize) in ocfs2_info_update_ffg() argument
[all …]
/Linux-v6.1/drivers/firmware/efi/libstub/
Dfile.c241 unsigned long chunksize = min(size, efi_chunk_size); in handle_cmdline_files() local
243 status = file->read(file, &chunksize, addr); in handle_cmdline_files()
248 addr += chunksize; in handle_cmdline_files()
249 size -= chunksize; in handle_cmdline_files()
/Linux-v6.1/arch/mips/crypto/
Dchacha-glue.c92 .chunksize = CHACHA_BLOCK_SIZE,
107 .chunksize = CHACHA_BLOCK_SIZE,
122 .chunksize = CHACHA_BLOCK_SIZE,
/Linux-v6.1/arch/arm64/crypto/
Dchacha-neon-glue.c175 .chunksize = CHACHA_BLOCK_SIZE,
191 .chunksize = CHACHA_BLOCK_SIZE,
207 .chunksize = CHACHA_BLOCK_SIZE,
/Linux-v6.1/arch/x86/crypto/
Dsm4_aesni_avx2_glue.c103 .chunksize = SM4_BLOCK_SIZE,
121 .chunksize = SM4_BLOCK_SIZE,
Dchacha_glue.c242 .chunksize = CHACHA_BLOCK_SIZE,
257 .chunksize = CHACHA_BLOCK_SIZE,
272 .chunksize = CHACHA_BLOCK_SIZE,
/Linux-v6.1/net/sctp/
Dsm_make_chunk.c222 size_t chunksize; in sctp_make_init() local
245 chunksize = sizeof(init) + addrs_len; in sctp_make_init()
246 chunksize += SCTP_PAD4(SCTP_SAT_LEN(num_types)); in sctp_make_init()
249 chunksize += sizeof(ecap_param); in sctp_make_init()
252 chunksize += sizeof(prsctp_param); in sctp_make_init()
271 chunksize += sizeof(aiparam); in sctp_make_init()
278 chunksize += vparam_len; in sctp_make_init()
283 chunksize += sizeof(asoc->c.auth_random); in sctp_make_init()
288 chunksize += SCTP_PAD4(ntohs(auth_hmacs->length)); in sctp_make_init()
295 chunksize += SCTP_PAD4(ntohs(auth_chunks->length)); in sctp_make_init()
[all …]
/Linux-v6.1/drivers/crypto/qce/
Dskcipher.c354 unsigned int chunksize; member
384 .chunksize = AES_BLOCK_SIZE,
454 alg->chunksize = def->chunksize; in qce_skcipher_register_one()
/Linux-v6.1/include/crypto/
Dskcipher.h119 unsigned int chunksize; member
285 return alg->chunksize; in crypto_skcipher_alg_chunksize()
/Linux-v6.1/drivers/tty/hvc/
Dhvsi.c932 int chunksize = min_t(int, count, hvsi_write_room(tty)); in hvsi_write() local
935 memcpy(hp->outbuf + hp->n_outbuf, source, chunksize); in hvsi_write()
936 hp->n_outbuf += chunksize; in hvsi_write()
938 total += chunksize; in hvsi_write()
939 source += chunksize; in hvsi_write()
940 count -= chunksize; in hvsi_write()

1234