| /linux/lib/ |
| H A D | decompress_unlzo.c | 105 u32 src_len, dst_len; in unlzo() local 181 dst_len = get_unaligned_be32(in_buf); in unlzo() 186 if (dst_len == 0) { in unlzo() 192 if (dst_len > LZO_BLOCK_SIZE) { in unlzo() 211 if (src_len <= 0 || src_len > dst_len) { in unlzo() 226 tmp = dst_len; in unlzo() 231 if (unlikely(dst_len == src_len)) in unlzo() 237 if (r != LZO_E_OK || dst_len != tmp) { in unlzo() 243 if (flush && flush(out_buf, dst_len) != dst_len) in unlzo() 246 out_buf += dst_len; in unlzo()
|
| /linux/drivers/block/zram/ |
| H A D | backend_lz4hc.c | 78 req->dst_len, params->level, in lz4hc_compress() 88 req->src_len, req->dst_len); in lz4hc_compress() 92 req->dst_len = ret; in lz4hc_compress() 104 req->dst_len); in lz4hc_decompress() 113 req->dst_len); in lz4hc_decompress()
|
| H A D | backend_842.c | 35 unsigned int dlen = req->dst_len; in compress_842() 41 req->dst_len = dlen; in compress_842() 48 unsigned int dlen = req->dst_len; in decompress_842()
|
| H A D | backend_zstd.c | 177 ret = zstd_compress_cctx(zctx->cctx, req->dst, req->dst_len, in zstd_compress() 181 req->dst_len, req->src, in zstd_compress() 186 req->dst_len = ret; in zstd_compress() 198 ret = zstd_decompress_dctx(zctx->dctx, req->dst, req->dst_len, in zstd_decompress() 202 req->dst_len, req->src, in zstd_decompress()
|
| H A D | backend_deflate.c | 104 deflate->avail_out = req->dst_len; in deflate_compress() 110 req->dst_len = deflate->total_out; in deflate_compress() 131 inflate->avail_out = req->dst_len; in deflate_decompress()
|
| H A D | backend_lzorle.c | 37 &req->dst_len, ctx->context); in lzorle_compress() 47 req->dst, &req->dst_len); in lzorle_decompress()
|
| H A D | backend_lzo.c | 37 &req->dst_len, ctx->context); in lzo_compress() 47 req->dst, &req->dst_len); in lzo_decompress()
|
| /linux/kernel/bpf/ |
| H A D | crypto.c | 276 u32 src_len, dst_len, siv_len; in bpf_crypto_crypt() local 286 dst_len = __bpf_dynptr_size(dst); in bpf_crypto_crypt() 287 if (!src_len || !dst_len || src_len > dst_len) in bpf_crypto_crypt() 296 pdst = __bpf_dynptr_data_rw(dst, dst_len); in bpf_crypto_crypt()
|
| /linux/drivers/crypto/virtio/ |
| H A D | virtio_crypto_skcipher_algs.c | 335 u64 dst_len; in __virtio_crypto_skcipher_do_req() local 385 dst_len = virtio_crypto_alg_sg_nents_length(req->dst); in __virtio_crypto_skcipher_do_req() 386 if (unlikely(dst_len > U32_MAX)) { in __virtio_crypto_skcipher_do_req() 392 dst_len = min_t(unsigned int, req->cryptlen, dst_len); in __virtio_crypto_skcipher_do_req() 394 req->cryptlen, dst_len); in __virtio_crypto_skcipher_do_req() 396 if (unlikely(req->cryptlen + dst_len + ivsize + in __virtio_crypto_skcipher_do_req() 404 cpu_to_le32((uint32_t)dst_len); in __virtio_crypto_skcipher_do_req()
|
| H A D | virtio_crypto_akcipher_algs.c | 91 akcipher_req->dst_len = len - sizeof(vc_req->status); in virtio_crypto_dataq_akcipher_callback() 93 vc_akcipher_req->dst_buf, akcipher_req->dst_len); in virtio_crypto_dataq_akcipher_callback() 240 dst_buf = kcalloc_node(req->dst_len, 1, GFP_KERNEL, node); in __virtio_crypto_akcipher_do_req() 244 sg_init_one(&dstdata_sg, dst_buf, req->dst_len); in __virtio_crypto_akcipher_do_req() 298 akcipher_req->para.dst_data_len = cpu_to_le32(req->dst_len); in virtio_crypto_rsa_do_req()
|
| /linux/security/keys/ |
| H A D | dh.c | 271 if (copy_from_user(outbuf + req->dst_len, kdfcopy->otherinfo, in __keyctl_dh_compute() 278 req->dst_len + kdfcopy->otherinfolen); in __keyctl_dh_compute() 279 } else if (copy_to_user(buffer, outbuf, req->dst_len) == 0) { in __keyctl_dh_compute() 280 ret = req->dst_len; in __keyctl_dh_compute()
|
| /linux/drivers/misc/mei/ |
| H A D | vsc-tp.c | 168 int ret, offset = 0, cpy_len, src_len, dst_len = sizeof(struct vsc_tp_packet_hdr); in vsc_tp_xfer_helper() local 196 cpy_len = min(src_len, dst_len); in vsc_tp_xfer_helper() 202 dst_len -= cpy_len; in vsc_tp_xfer_helper() 213 dst_len = min(ilen, le16_to_cpu(ack.len)); in vsc_tp_xfer_helper() 216 dst_len = sizeof(recv_crc); in vsc_tp_xfer_helper() 232 dst_len = sizeof(recv_crc); in vsc_tp_xfer_helper()
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-dmaengine.c | 367 unsigned int dst_offset, dst_len; in ccp_create_desc() local 387 dst_len = sg_dma_len(dst_sg); in ccp_create_desc() 405 if (!dst_len) { in ccp_create_desc() 414 dst_len = sg_dma_len(dst_sg); in ccp_create_desc() 419 len = min(dst_len, src_len); in ccp_create_desc() 452 dst_len -= len; in ccp_create_desc()
|
| /linux/kernel/ |
| H A D | kcov.c | 957 u64 dst_len, src_len; in kcov_move_area() local 966 dst_len = READ_ONCE(*(unsigned long *)dst_area); in kcov_move_area() 972 dst_len = READ_ONCE(*(u64 *)dst_area); in kcov_move_area() 984 if (dst_len > ((dst_area_size * word_size - count_size) >> in kcov_move_area() 987 dst_occupied = count_size + (dst_len << entry_size_log); in kcov_move_area() 1006 WRITE_ONCE(*(unsigned long *)dst_area, dst_len + entries_moved); in kcov_move_area() 1009 WRITE_ONCE(*(u64 *)dst_area, dst_len + entries_moved); in kcov_move_area()
|
| /linux/include/crypto/ |
| H A D | kpp.h | 36 unsigned int dst_len; member 254 req->dst_len = output_len; in kpp_request_set_output()
|
| /linux/drivers/media/usb/msi2500/ |
| H A D | msi2500.c | 245 unsigned int i, j, transactions, dst_len = 0; in msi2500_convert_stream() local 281 dst_len += 1008; in msi2500_convert_stream() 303 dst_len += 1008; in msi2500_convert_stream() 313 dst_len += 984; in msi2500_convert_stream() 320 dst_len += 1008; in msi2500_convert_stream() 327 dst_len += 1008; in msi2500_convert_stream() 334 dst_len += 1008; in msi2500_convert_stream() 356 return dst_len; in msi2500_convert_stream()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| H A D | mp.h | 22 int dst_len; member
|
| /linux/arch/sh/kernel/ |
| H A D | io_trapped.c | 184 unsigned long dst_addr, int dst_len) in copy_word() argument 203 switch (dst_len) { in copy_word()
|
| /linux/include/uapi/linux/ |
| H A D | fib_rules.h | 21 __u8 dst_len; member
|
| /linux/samples/bpf/ |
| H A D | xdp_router_ipv4_user.c | 101 int dst_len, iface, metric; in read_route() member 149 route.dst_len = atoi(dsts_len); in read_route() 169 prefix_key->prefixlen = route.dst_len; in read_route() 174 if (route.dst_len == 32) { in read_route()
|
| /linux/drivers/net/netdevsim/ |
| H A D | fib.c | 285 fen_info->dst_len, AF_INET, fen_info->tb_id); in nsim_fib4_rt_create() 309 fen_info->dst_len, AF_INET, in nsim_fib4_rt_lookup() 327 fri.dst_len = fen_info->dst_len; in nsim_fib4_rt_offload_failed_flag_set() 341 int dst_len = fib4_rt->common.key.prefix_len; in nsim_fib4_rt_hw_flags_set() local 347 fri.dst_len = dst_len; in nsim_fib4_rt_hw_flags_set()
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_hw.h | 266 __be32 dst, u32 dst_len, u32 grp_id); 268 __be32 dst, u32 dst_len);
|
| /linux/drivers/crypto/aspeed/ |
| H A D | aspeed-acry.c | 331 result_nbytes, req->dst_len); in aspeed_acry_rsa_transfer() 333 if (result_nbytes <= req->dst_len) { in aspeed_acry_rsa_transfer() 336 req->dst_len = result_nbytes; in aspeed_acry_rsa_transfer()
|
| /linux/drivers/media/usb/airspy/ |
| H A D | airspy.c | 234 unsigned int dst_len; in airspy_convert_stream() local 238 dst_len = src_len; in airspy_convert_stream() 240 dst_len = 0; in airspy_convert_stream() 260 return dst_len; in airspy_convert_stream()
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | omapdss-boot-init.c | 60 static void __init omapdss_prefix_strcpy(char *dst, int dst_len, in omapdss_prefix_strcpy() argument
|