Home
last modified time | relevance | path

Searched refs:dst_len (Results 1 – 14 of 14) sorted by relevance

/openbmc/u-boot/cmd/
H A Dzip.c13 unsigned long src_len, dst_len = ~0UL; in do_zip() local
17 dst_len = simple_strtoul(argv[4], NULL, 16); in do_zip()
28 if (gzip((void *) dst, &dst_len, (void *) src, src_len) != 0) in do_zip()
31 printf("Compressed size: %lu = 0x%lX\n", dst_len, dst_len); in do_zip()
32 env_set_hex("filesize", dst_len); in do_zip()
H A Dlzmadec.c22 SizeT src_len = ~0UL, dst_len = ~0UL; in do_lzmadec() local
27 dst_len = simple_strtoul(argv[3], NULL, 16); in do_lzmadec()
37 ret = lzmaBuffToBuffDecompress(map_sysmem(dst, dst_len), &src_len, in do_lzmadec()
38 map_sysmem(src, 0), dst_len); in do_lzmadec()
H A Dunzip.c13 unsigned long src_len = ~0UL, dst_len = ~0UL; in do_unzip() local
17 dst_len = simple_strtoul(argv[3], NULL, 16); in do_unzip()
27 if (gunzip((void *) dst, dst_len, (void *) src, &src_len) != 0) in do_unzip()
/openbmc/u-boot/include/linux/
H A Dlzo.h24 unsigned char *dst, size_t *dst_len, void *wrkmem);
28 unsigned char *dst, size_t *dst_len);
32 unsigned char *dst, size_t *dst_len);
/openbmc/qemu/migration/
H A Dmultifd-uadk.c172 .dst_len = page_size * 2, in multifd_uadk_send_prepare()
182 if (creq.dst_len < page_size) { in multifd_uadk_send_prepare()
183 uadk_data->buf_hdr[i] = cpu_to_be32(creq.dst_len); in multifd_uadk_send_prepare()
184 prepare_next_iov(p, buf, creq.dst_len); in multifd_uadk_send_prepare()
185 buf += creq.dst_len; in multifd_uadk_send_prepare()
194 if (!uadk_data->handle || creq.dst_len >= page_size) { in multifd_uadk_send_prepare()
279 .dst_len = page_size, in multifd_uadk_recv()
300 if (creq.dst_len != page_size) { in multifd_uadk_recv()
/openbmc/qemu/hw/virtio/
H A Dvirtio-crypto.c482 op_info->dst_len + in virtio_crypto_free_request()
550 len = asym_op_info->dst_len; in virtio_crypto_akcipher_input_data_helper()
564 req->in_len = sizeof(struct virtio_crypto_inhdr) + asym_op_info->dst_len; in virtio_crypto_akcipher_input_data_helper()
606 uint32_t src_len = 0, dst_len = 0; in virtio_crypto_sym_op_helper() local
619 dst_len = ldl_le_p(&cipher_para->dst_data_len); in virtio_crypto_sym_op_helper()
623 dst_len = ldl_le_p(&alg_chain_para->dst_data_len); in virtio_crypto_sym_op_helper()
637 if (unlikely(src_len != dst_len)) { in virtio_crypto_sym_op_helper()
642 max_len = (uint64_t)iv_len + aad_len + src_len + dst_len + hash_result_len; in virtio_crypto_sym_op_helper()
651 op_info->dst_len = dst_len; in virtio_crypto_sym_op_helper()
704 curr_size += op_info->dst_len; in virtio_crypto_sym_op_helper()
[all …]
/openbmc/u-boot/lib/lzo/
H A Dlzo1x_decompress.c79 unsigned char *dst, size_t *dst_len) in lzop_decompress() argument
91 remaining = *dst_len; in lzop_decompress()
99 *dst_len = dst - start; in lzop_decompress()
125 *dst_len = dst - start; in lzop_decompress()
/openbmc/qemu/backends/
H A Dcryptodev-builtin.c494 op_info->dst, op_info->dst_len, errp); in cryptodev_builtin_asym_operation()
500 op_info->dst, op_info->dst_len, errp); in cryptodev_builtin_asym_operation()
506 op_info->dst, op_info->dst_len, errp); in cryptodev_builtin_asym_operation()
512 op_info->dst, op_info->dst_len, errp); in cryptodev_builtin_asym_operation()
527 if (unlikely(ret > op_info->dst_len)) { in cryptodev_builtin_asym_operation()
535 op_info->dst_len = ret; in cryptodev_builtin_asym_operation()
/openbmc/qemu/crypto/
H A Dakcipher.c114 uint8_t **dst, size_t *dst_len, in qcrypto_akcipher_export_p8info() argument
119 qcrypto_akcipher_rsakey_export_p8info(key, keylen, dst, dst_len); in qcrypto_akcipher_export_p8info()
H A Dder.c86 uint8_t *dst, size_t *dst_len) in qcrypto_der_encode_length() argument
93 *dst_len = 1; in qcrypto_der_encode_length()
100 *dst_len = length_bytes + 1; in qcrypto_der_encode_length()
/openbmc/qemu/include/crypto/
H A Dakcipher.h174 uint8_t **dst, size_t *dst_len,
/openbmc/qemu/include/system/
H A Dcryptodev.h146 uint32_t dst_len; member
173 uint32_t dst_len; member
/openbmc/qemu/hw/s390x/
H A Devent-facility.c238 static void copy_mask(uint8_t *dst, uint8_t *src, uint16_t dst_len, in copy_mask() argument
243 for (i = 0; i < dst_len; i++) { in copy_mask()
/openbmc/qemu/hw/display/
H A Dsm501.c934 int dst_len = MIN(fb_len, ((dst_y + height - 1) * dst_pitch + in sm501_2d_operation() local
936 if (dst_len) { in sm501_2d_operation()
937 memory_region_set_dirty(&s->local_mem_region, dst_base, dst_len); in sm501_2d_operation()