| /linux/lib/ |
| H A D | decompress_unlz4.c | 38 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/drivers/md/ |
| H A D | md-llbitmap.c | 267 unsigned long chunksize; member 779 unsigned long chunksize = MIN_CHUNK_SIZE; in llbitmap_init() local 780 unsigned long chunks = DIV_ROUND_UP(blocks, chunksize); in llbitmap_init() 785 chunksize = chunksize << 1; in llbitmap_init() 786 chunks = DIV_ROUND_UP_SECTOR_T(blocks, chunksize); in llbitmap_init() 790 llbitmap->chunkshift = ffz(~chunksize); in llbitmap_init() 791 llbitmap->chunksize = chunksize; in llbitmap_init() 811 unsigned long chunksize; in llbitmap_read_sb() local 862 chunksize = le32_to_cpu(sb->chunksize); in llbitmap_read_sb() 863 if (!is_power_of_2(chunksize)) { in llbitmap_read_sb() [all …]
|
| H A D | md-bitmap.c | 221 int chunksize, bool init); 706 sb->chunksize = cpu_to_le32(bitmap->mddev->bitmap_info.chunksize); in bitmap_update_sb() 739 pr_debug(" chunksize: %u B\n", le32_to_cpu(sb->chunksize)); in bitmap_print_sb() 761 unsigned long chunksize, daemon_sleep, write_behind; in md_bitmap_new_disk_sb() local 773 chunksize = bitmap->mddev->bitmap_info.chunksize; in md_bitmap_new_disk_sb() 774 BUG_ON(!chunksize); in md_bitmap_new_disk_sb() 775 if (!is_power_of_2(chunksize)) { in md_bitmap_new_disk_sb() 780 sb->chunksize = cpu_to_le32(chunksize); in md_bitmap_new_disk_sb() 821 unsigned long chunksize, daemon_sleep, write_behind; in md_bitmap_read_sb() local 830 chunksize = 128 * 1024 * 1024; in md_bitmap_read_sb() [all …]
|
| H A D | md-bitmap.h | 44 __le32 chunksize; /* 52 the bitmap chunk size in bytes */ member 88 int (*resize)(struct mddev *mddev, sector_t blocks, int chunksize);
|
| /linux/drivers/crypto/bcm/ |
| H A D | cipher.c | 137 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 224 rctx->src_nents, chunksize); in spu_skcipher_tx_sg_create() 225 if (unlikely(datalen < chunksize)) { in spu_skcipher_tx_sg_create() 307 unsigned int chunksize; /* Num bytes of request to submit */ in handle_skcipher_req() local 338 chunksize = ctx->max_payload; in handle_skcipher_req() 340 chunksize = remaining; in handle_skcipher_req() [all …]
|
| H A D | spu.c | 425 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() 1139 unsigned int chunksize, in spum_ccm_update_iv() argument 1193 chunksize -= digestsize; in spum_ccm_update_iv() 1196 format_value_ccm(chunksize, &cipher_parms->iv_buf[15 - L + 1], L); in spum_ccm_update_iv()
|
| H A D | spu2.h | 181 u32 chunksize, u16 hash_block_size); 213 unsigned int assoclen, unsigned int chunksize,
|
| H A D | spu.h | 230 u32 chunksize, u16 hash_block_size); 272 unsigned int chunksize,
|
| H A D | cipher.h | 365 enum hash_mode hash_mode, u32 chunksize, 400 unsigned int assoclen, unsigned int chunksize,
|
| /linux/fs/ocfs2/ |
| H A D | ioctl.c | 399 unsigned int chunksize) in o2ffg_update_histogram() argument 403 index = __ilog2_u32(chunksize); in o2ffg_update_histogram() 408 hist->fc_clusters[index] += chunksize; in o2ffg_update_histogram() 412 unsigned int chunksize) in o2ffg_update_stats() argument 414 if (chunksize > stats->ffs_max) in o2ffg_update_stats() 415 stats->ffs_max = chunksize; in o2ffg_update_stats() 417 if (chunksize < stats->ffs_min) in o2ffg_update_stats() 418 stats->ffs_min = chunksize; in o2ffg_update_stats() 420 stats->ffs_avg += chunksize; in o2ffg_update_stats() 425 unsigned int chunksize) in ocfs2_info_update_ffg() argument [all …]
|
| /linux/scripts/dtc/ |
| H A D | data.c | 85 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/drivers/firmware/efi/libstub/ |
| H A D | file.c | 298 unsigned long chunksize = min(size, efi_chunk_size); in handle_cmdline_files() local 300 status = efi_call_proto(file, read, &chunksize, addr); in handle_cmdline_files() 305 addr += chunksize; in handle_cmdline_files() 306 size -= chunksize; in handle_cmdline_files()
|
| /linux/crypto/ |
| H A D | chacha.c | 115 .chunksize = CHACHA_BLOCK_SIZE, 131 .chunksize = CHACHA_BLOCK_SIZE, 147 .chunksize = CHACHA_BLOCK_SIZE,
|
| H A D | aead.c | 236 if (max3(alg->maxauthsize, alg->ivsize, alg->chunksize) > in aead_prepare_alg() 240 if (!alg->chunksize) in aead_prepare_alg() 241 alg->chunksize = base->cra_blocksize; in aead_prepare_alg()
|
| H A D | simd.c | 175 alg->chunksize = ialg->chunksize; in simd_skcipher_create_compat() 401 alg->chunksize = ialg->chunksize; in simd_aead_create_compat()
|
| H A D | skcipher.c | 313 walk->stride = alg->co.chunksize; in skcipher_walk_virt() 585 seq_printf(m, "chunksize : %u\n", skcipher->chunksize); in crypto_skcipher_show() 678 if (alg->ivsize > PAGE_SIZE / 8 || alg->chunksize > PAGE_SIZE / 8 || in skcipher_prepare_alg_common() 683 if (!alg->chunksize) in skcipher_prepare_alg_common() 684 alg->chunksize = base->cra_blocksize; in skcipher_prepare_alg_common() 704 alg->walksize = alg->chunksize; in skcipher_prepare_alg()
|
| H A D | ctr.c | 155 inst->alg.chunksize = alg->cra_blocksize; in crypto_ctr_create() 306 inst->alg.chunksize = alg->chunksize; in crypto_rfc3686_create()
|
| H A D | lskcipher.c | 259 seq_printf(m, "chunksize : %u\n", skcipher->co.chunksize); in crypto_lskcipher_show() 353 if (alg->co.chunksize & (alg->co.chunksize - 1)) in lskcipher_prepare_alg()
|
| H A D | essiv.c | 584 skcipher_inst->alg.chunksize = skcipher_alg->chunksize; in essiv_create() 599 aead_inst->alg.chunksize = crypto_aead_alg_chunksize(aead_alg); in essiv_create()
|
| /linux/net/sctp/ |
| H A D | sm_make_chunk.c | 214 size_t chunksize; in sctp_make_init() local 237 chunksize = sizeof(init) + addrs_len; in sctp_make_init() 238 chunksize += SCTP_PAD4(SCTP_SAT_LEN(num_types)); in sctp_make_init() 241 chunksize += sizeof(ecap_param); in sctp_make_init() 244 chunksize += sizeof(prsctp_param); in sctp_make_init() 263 chunksize += sizeof(aiparam); in sctp_make_init() 270 chunksize += vparam_len; in sctp_make_init() 275 chunksize += sizeof(asoc->c.auth_random); in sctp_make_init() 280 chunksize += SCTP_PAD4(ntohs(auth_hmacs->length)); in sctp_make_init() 287 chunksize += SCTP_PAD4(ntohs(auth_chunks->length)); in sctp_make_init() [all …]
|
| /linux/include/crypto/ |
| H A D | skcipher.h | 90 unsigned int chunksize; \ 474 return crypto_skcipher_alg_common(tfm)->chunksize; in crypto_skcipher_chunksize() 491 return crypto_lskcipher_alg(tfm)->co.chunksize; in crypto_lskcipher_chunksize()
|
| /linux/drivers/crypto/qce/ |
| H A D | skcipher.c | 354 unsigned int chunksize; member 384 .chunksize = AES_BLOCK_SIZE, 454 alg->chunksize = def->chunksize; in qce_skcipher_register_one()
|
| /linux/drivers/tty/hvc/ |
| H A D | hvsi.c | 931 size_t chunksize = min_t(size_t, count, hvsi_write_room(tty)); in hvsi_write() local 934 memcpy(hp->outbuf + hp->n_outbuf, source, chunksize); in hvsi_write() 935 hp->n_outbuf += chunksize; in hvsi_write() 937 total += chunksize; in hvsi_write() 938 source += chunksize; in hvsi_write() 939 count -= chunksize; in hvsi_write()
|
| /linux/arch/x86/crypto/ |
| H A D | sm4_aesni_avx2_glue.c | 91 .chunksize = SM4_BLOCK_SIZE,
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | snapshot.rst | 34 - snapshot <origin> <COW device> <persistent?> <chunksize> 38 <chunksize> sectors will be stored on the <COW device>. Writes will 73 - snapshot-merge <origin> <COW device> <persistent> <chunksize>
|