Home
last modified time | relevance | path

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

1234

/openbmc/qemu/tests/qemu-iotests/
H A D00346 chunksize=8k
64 $QEMU_IO -c "writev -P 0xb $offset $chunksize $chunksize \
65 $chunksize $chunksize $chunksize $chunksize $chunksize" \
70 $QEMU_IO -c "readv -P 0xb $offset $chunksize $chunksize \
71 $chunksize $chunksize $chunksize $chunksize $chunksize" \
/openbmc/linux/lib/
H 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 …]
/openbmc/u-boot/common/
H A Ddlmalloc.c1334 victim_size = chunksize(victim);
1397 victim_size = chunksize(victim);
1549 nextsz = chunksize(next);
1727 nextsize = chunksize(next);
1761 prevsize = chunksize(prev);
1821 newsize += chunksize(newp);
2103 csz = chunksize(p);
2176 top_size = chunksize(top);
2248 return chunksize(p) - SIZE_SZ;
2250 return chunksize(p) - 2*SIZE_SZ;
[all …]
/openbmc/linux/crypto/
H 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()
H A Dchacha_generic.c81 .chunksize = CHACHA_BLOCK_SIZE,
96 .chunksize = CHACHA_BLOCK_SIZE,
111 .chunksize = CHACHA_BLOCK_SIZE,
H A Dsimd.c183 alg->chunksize = ialg->chunksize; in simd_skcipher_create_compat()
431 alg->chunksize = ialg->chunksize; in simd_aead_create_compat()
H A Daead.c276 if (max3(alg->maxauthsize, alg->ivsize, alg->chunksize) > in aead_prepare_alg()
280 if (!alg->chunksize) in aead_prepare_alg()
281 alg->chunksize = base->cra_blocksize; in aead_prepare_alg()
/openbmc/linux/drivers/md/
H A Dmd-bitmap.c501 sb->chunksize = cpu_to_le32(bitmap->mddev->bitmap_info.chunksize); in md_bitmap_update_sb()
570 chunksize = bitmap->mddev->bitmap_info.chunksize; in md_bitmap_new_disk_sb()
571 BUG_ON(!chunksize); in md_bitmap_new_disk_sb()
577 sb->chunksize = cpu_to_le32(chunksize); in md_bitmap_new_disk_sb()
627 chunksize = 128 * 1024 * 1024; in md_bitmap_read_sb()
672 chunksize = le32_to_cpu(sb->chunksize); in md_bitmap_read_sb()
683 else if (chunksize < 512) in md_bitmap_read_sb()
740 bitmap->mddev->bitmap_info.chunksize = chunksize; in md_bitmap_read_sb()
755 bitmap->mddev->bitmap_info.chunksize = chunksize; in md_bitmap_read_sb()
2128 int chunksize, int init) in md_bitmap_resize() argument
[all …]
H A Dmd-bitmap.h131 __le32 chunksize; /* 52 the bitmap chunk size in bytes */ member
272 int chunksize, int init);
/openbmc/u-boot/scripts/dtc/
H A Ddata.c98 size_t chunksize, ret; in data_copy_file() local
101 chunksize = 4096; in data_copy_file()
103 chunksize = maxlen - d.len; in data_copy_file()
105 d = data_grow_for(d, chunksize); in data_copy_file()
106 ret = fread(d.val + d.len, 1, chunksize, f); in data_copy_file()
/openbmc/linux/scripts/dtc/
H 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()
/openbmc/linux/drivers/crypto/bcm/
H A Dcipher.c162 if (datalen < chunksize) { in spu_skcipher_rx_sg_create()
341 chunksize = remaining; in handle_skcipher_req()
343 rctx->src_sent += chunksize; in handle_skcipher_req()
726 chunksize = nbytes_to_hash; in handle_ahash_req()
743 chunksize -= rem; in handle_ahash_req()
744 if (chunksize == 0) { in handle_ahash_req()
789 chunksize, in handle_ahash_req()
1211 datalen = chunksize; in spu_aead_tx_sg_create()
1266 unsigned int chunksize; in handle_aead_req() local
1371 chunksize); in handle_aead_req()
[all …]
H A Dspu2.h181 u32 chunksize, u16 hash_block_size);
213 unsigned int assoclen, unsigned int chunksize,
H A Dspu.h230 u32 chunksize, u16 hash_block_size);
272 unsigned int chunksize,
H 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()
/openbmc/linux/arch/arm/crypto/
H 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,
/openbmc/linux/fs/ocfs2/
H 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 …]
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dfile.c279 unsigned long chunksize = min(size, efi_chunk_size); in handle_cmdline_files() local
281 status = efi_call_proto(file, read, &chunksize, addr); in handle_cmdline_files()
286 addr += chunksize; in handle_cmdline_files()
287 size -= chunksize; in handle_cmdline_files()
/openbmc/linux/arch/mips/crypto/
H A Dchacha-glue.c92 .chunksize = CHACHA_BLOCK_SIZE,
107 .chunksize = CHACHA_BLOCK_SIZE,
122 .chunksize = CHACHA_BLOCK_SIZE,
/openbmc/linux/arch/powerpc/crypto/
H A Dchacha-p10-glue.c161 .chunksize = CHACHA_BLOCK_SIZE,
176 .chunksize = CHACHA_BLOCK_SIZE,
191 .chunksize = CHACHA_BLOCK_SIZE,
/openbmc/linux/arch/arm64/crypto/
H A Dchacha-neon-glue.c175 .chunksize = CHACHA_BLOCK_SIZE,
191 .chunksize = CHACHA_BLOCK_SIZE,
207 .chunksize = CHACHA_BLOCK_SIZE,
/openbmc/linux/arch/x86/crypto/
H A Dsm4_aesni_avx2_glue.c103 .chunksize = SM4_BLOCK_SIZE,
121 .chunksize = SM4_BLOCK_SIZE,
H A Dchacha_glue.c242 .chunksize = CHACHA_BLOCK_SIZE,
257 .chunksize = CHACHA_BLOCK_SIZE,
272 .chunksize = CHACHA_BLOCK_SIZE,
/openbmc/qemu/ui/
H A Dvdagent.c45 uint32_t chunksize; member
803 vd->chunksize = 0; in vdagent_reset_bufs()
815 if (vd->chunksize < sizeof(vd->chunk)) { in vdagent_chr_write()
816 copy = sizeof(vd->chunk) - vd->chunksize; in vdagent_chr_write()
820 memcpy((void *)(&vd->chunk) + vd->chunksize, buf, copy); in vdagent_chr_write()
821 vd->chunksize += copy; in vdagent_chr_write()
824 if (vd->chunksize < sizeof(vd->chunk)) { in vdagent_chr_write()
/openbmc/linux/net/sctp/
H 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 …]

1234