Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.c71 inst->alg.chunksize = alg->cra_blocksize; in crypto_ofb_create()
/kernel/linux/linux-5.10/drivers/md/
Dmd-bitmap.c470 sb->chunksize = cpu_to_le32(bitmap->mddev->bitmap_info.chunksize); in md_bitmap_update_sb()
500 pr_debug(" chunksize: %u 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);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
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()
/kernel/linux/linux-5.10/drivers/crypto/bcm/
Dcipher.c136 unsigned int chunksize, u32 stat_pad_len) in spu_skcipher_rx_sg_create() argument
161 rctx->dst_nents, chunksize); in spu_skcipher_rx_sg_create()
162 if (datalen < chunksize) { in spu_skcipher_rx_sg_create()
164 __func__, chunksize, datalen); in spu_skcipher_rx_sg_create()
199 u8 tx_frag_num, unsigned int chunksize, u32 pad_len) in spu_skcipher_tx_sg_create() argument
225 rctx->src_nents, chunksize); in spu_skcipher_tx_sg_create()
226 if (unlikely(datalen < chunksize)) { in spu_skcipher_tx_sg_create()
308 unsigned int chunksize; /* Num bytes of request to submit */ in handle_skcipher_req() local
339 chunksize = ctx->max_payload; in handle_skcipher_req()
341 chunksize = remaining; in handle_skcipher_req()
[all …]
Dspu2.h181 u32 chunksize, u16 hash_block_size);
213 unsigned int assoclen, unsigned int chunksize,
Dspu.h229 u32 chunksize, u16 hash_block_size);
271 unsigned int chunksize,
Dspu.c427 u32 chunksize, u16 hash_block_size) in spum_hash_pad_len() argument
435 used_space_last_block = chunksize % hash_block_size; in spum_hash_pad_len()
442 used_space_last_block = chunksize % hash_block_size + 1; in spum_hash_pad_len()
1146 unsigned int chunksize, in spum_ccm_update_iv() argument
1200 chunksize -= digestsize; in spum_ccm_update_iv()
1203 format_value_ccm(chunksize, &cipher_parms->iv_buf[15 - L + 1], L); in spum_ccm_update_iv()
Dcipher.h367 enum hash_mode hash_mode, u32 chunksize,
402 unsigned int assoclen, unsigned int chunksize,
/kernel/linux/linux-5.10/arch/arm/crypto/
Dchacha-glue.c206 .chunksize = CHACHA_BLOCK_SIZE,
221 .chunksize = CHACHA_BLOCK_SIZE,
236 .chunksize = CHACHA_BLOCK_SIZE,
255 .chunksize = CHACHA_BLOCK_SIZE,
271 .chunksize = CHACHA_BLOCK_SIZE,
287 .chunksize = CHACHA_BLOCK_SIZE,
/kernel/linux/linux-5.10/fs/ocfs2/
Dioctl.c396 unsigned int chunksize) in o2ffg_update_histogram() argument
400 index = __ilog2_u32(chunksize); in o2ffg_update_histogram()
405 hist->fc_clusters[index] += chunksize; in o2ffg_update_histogram()
409 unsigned int chunksize) in o2ffg_update_stats() argument
411 if (chunksize > stats->ffs_max) in o2ffg_update_stats()
412 stats->ffs_max = chunksize; in o2ffg_update_stats()
414 if (chunksize < stats->ffs_min) in o2ffg_update_stats()
415 stats->ffs_min = chunksize; in o2ffg_update_stats()
417 stats->ffs_avg += chunksize; in o2ffg_update_stats()
422 unsigned int chunksize) in ocfs2_info_update_ffg() argument
[all …]
/kernel/linux/linux-5.10/arch/mips/crypto/
Dchacha-glue.c92 .chunksize = CHACHA_BLOCK_SIZE,
107 .chunksize = CHACHA_BLOCK_SIZE,
122 .chunksize = CHACHA_BLOCK_SIZE,
/kernel/linux/linux-5.10/arch/arm64/crypto/
Dchacha-neon-glue.c175 .chunksize = CHACHA_BLOCK_SIZE,
191 .chunksize = CHACHA_BLOCK_SIZE,
207 .chunksize = CHACHA_BLOCK_SIZE,
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/crypto/qce/
Dskcipher.c303 unsigned int chunksize; member
333 .chunksize = AES_BLOCK_SIZE,
403 alg->chunksize = def->chunksize; in qce_skcipher_register_one()
/kernel/linux/linux-5.10/arch/x86/crypto/
Dchacha_glue.c242 .chunksize = CHACHA_BLOCK_SIZE,
257 .chunksize = CHACHA_BLOCK_SIZE,
272 .chunksize = CHACHA_BLOCK_SIZE,
/kernel/linux/linux-5.10/include/crypto/
Dskcipher.h115 unsigned int chunksize; member
281 return alg->chunksize; in crypto_skcipher_alg_chunksize()
/kernel/linux/linux-5.10/drivers/tty/hvc/
Dhvsi.c932 int chunksize = min(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()
/kernel/linux/linux-5.10/fs/hugetlbfs/
Dinode.c293 int i, chunksize; in hugetlbfs_read_actor() local
301 chunksize = PAGE_SIZE; in hugetlbfs_read_actor()
303 chunksize -= offset; in hugetlbfs_read_actor()
304 if (chunksize > size) in hugetlbfs_read_actor()
305 chunksize = size; in hugetlbfs_read_actor()
306 n = copy_page_to_iter(&page[i], offset, chunksize, to); in hugetlbfs_read_actor()
308 if (n != chunksize) in hugetlbfs_read_actor()
311 size -= chunksize; in hugetlbfs_read_actor()

1234