Home
last modified time | relevance | path

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

123

/linux/lib/
A 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()
131 if (!fill && chunksize == 0) { in unlz4()
147 size = fill(inp, chunksize); in unlz4()
148 if (size < chunksize) { in unlz4()
161 chunksize = ret; in unlz4()
179 *posp += chunksize; in unlz4()
182 size -= chunksize; in unlz4()
[all …]
/linux/crypto/
A 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()
A Dchacha_generic.c81 .chunksize = CHACHA_BLOCK_SIZE,
96 .chunksize = CHACHA_BLOCK_SIZE,
111 .chunksize = CHACHA_BLOCK_SIZE,
A 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()
A Dsimd.c183 alg->chunksize = ialg->chunksize; in simd_skcipher_create_compat()
431 alg->chunksize = ialg->chunksize; in simd_aead_create_compat()
/linux/drivers/crypto/bcm/
A Dcipher.c163 if (datalen < chunksize) { in spu_skcipher_rx_sg_create()
342 chunksize = remaining; in handle_skcipher_req()
344 rctx->src_sent += chunksize; in handle_skcipher_req()
727 chunksize = nbytes_to_hash; in handle_ahash_req()
744 chunksize -= rem; in handle_ahash_req()
745 if (chunksize == 0) { in handle_ahash_req()
790 chunksize, in handle_ahash_req()
1212 datalen = chunksize; in spu_aead_tx_sg_create()
1267 unsigned int chunksize; in handle_aead_req() local
1372 chunksize); in handle_aead_req()
[all …]
A Dspu2.h181 u32 chunksize, u16 hash_block_size);
213 unsigned int assoclen, unsigned int chunksize,
A 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()
A Dspu.h230 u32 chunksize, u16 hash_block_size);
272 unsigned int chunksize,
A Dcipher.h368 enum hash_mode hash_mode, u32 chunksize,
403 unsigned int assoclen, unsigned int chunksize,
/linux/drivers/md/
A Dmd-bitmap.c470 sb->chunksize = cpu_to_le32(bitmap->mddev->bitmap_info.chunksize); in md_bitmap_update_sb()
534 chunksize = bitmap->mddev->bitmap_info.chunksize; in md_bitmap_new_disk_sb()
535 BUG_ON(!chunksize); in md_bitmap_new_disk_sb()
541 sb->chunksize = cpu_to_le32(chunksize); in md_bitmap_new_disk_sb()
591 chunksize = 128 * 1024 * 1024; in md_bitmap_read_sb()
638 chunksize = le32_to_cpu(sb->chunksize); in md_bitmap_read_sb()
657 else if (chunksize < 512) in md_bitmap_read_sb()
704 bitmap->mddev->bitmap_info.chunksize = chunksize; in md_bitmap_read_sb()
720 bitmap->mddev->bitmap_info.chunksize = chunksize; in md_bitmap_read_sb()
2054 int chunksize, int init) in md_bitmap_resize() argument
[all …]
A Dmd-bitmap.h131 __le32 chunksize; /* 52 the bitmap chunk size in bytes */ member
270 int chunksize, int init);
/linux/fs/ocfs2/
A 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/scripts/dtc/
A 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/arch/arm/crypto/
A 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/drivers/firmware/efi/libstub/
A Dfile.c223 unsigned long chunksize = min(size, efi_chunk_size); in handle_cmdline_files() local
225 status = file->read(file, &chunksize, addr); in handle_cmdline_files()
230 addr += chunksize; in handle_cmdline_files()
231 size -= chunksize; in handle_cmdline_files()
/linux/arch/mips/crypto/
A Dchacha-glue.c92 .chunksize = CHACHA_BLOCK_SIZE,
107 .chunksize = CHACHA_BLOCK_SIZE,
122 .chunksize = CHACHA_BLOCK_SIZE,
/linux/arch/arm64/crypto/
A Dchacha-neon-glue.c175 .chunksize = CHACHA_BLOCK_SIZE,
191 .chunksize = CHACHA_BLOCK_SIZE,
207 .chunksize = CHACHA_BLOCK_SIZE,
/linux/net/sctp/
A Dsm_make_chunk.c222 size_t chunksize; in sctp_make_init() local
245 chunksize = sizeof(init) + addrs_len; 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()
394 size_t chunksize; in sctp_make_init_ack() local
424 chunksize += sizeof(ecap_param); in sctp_make_init_ack()
427 chunksize += sizeof(prsctp_param); in sctp_make_init_ack()
441 chunksize += sizeof(aiparam); in sctp_make_init_ack()
[all …]
/linux/arch/x86/crypto/
A Dsm4_aesni_avx2_glue.c103 .chunksize = SM4_BLOCK_SIZE,
121 .chunksize = SM4_BLOCK_SIZE,
A Dchacha_glue.c242 .chunksize = CHACHA_BLOCK_SIZE,
257 .chunksize = CHACHA_BLOCK_SIZE,
272 .chunksize = CHACHA_BLOCK_SIZE,
/linux/drivers/crypto/qce/
A Dskcipher.c354 unsigned int chunksize; member
384 .chunksize = AES_BLOCK_SIZE,
454 alg->chunksize = def->chunksize; in qce_skcipher_register_one()
/linux/fs/hugetlbfs/
A Dinode.c292 int i, chunksize; in hugetlbfs_read_actor() local
300 chunksize = PAGE_SIZE; in hugetlbfs_read_actor()
302 chunksize -= offset; in hugetlbfs_read_actor()
303 if (chunksize > size) in hugetlbfs_read_actor()
304 chunksize = size; in hugetlbfs_read_actor()
305 n = copy_page_to_iter(&page[i], offset, chunksize, to); in hugetlbfs_read_actor()
307 if (n != chunksize) in hugetlbfs_read_actor()
310 size -= chunksize; in hugetlbfs_read_actor()
/linux/include/crypto/
A Dskcipher.h115 unsigned int chunksize; member
281 return alg->chunksize; in crypto_skcipher_alg_chunksize()
/linux/drivers/tty/hvc/
A 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()

Completed in 52 milliseconds

123