| /drivers/block/zram/ |
| A D | backend_lz4.c | 78 req->dst_len, params->level, in lz4_compress() 87 req->dst_len, params->level); in lz4_compress() 91 req->dst_len = ret; in lz4_compress() 103 req->dst_len); in lz4_decompress() 112 req->dst_len); in lz4_decompress()
|
| 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()
|
| 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()
|
| A D | zcomp.c | 138 const void *src, unsigned int *dst_len) in zcomp_compress() argument 144 .dst_len = 2 * PAGE_SIZE, in zcomp_compress() 151 *dst_len = req.dst_len; in zcomp_compress() 162 .dst_len = PAGE_SIZE, in zcomp_decompress()
|
| 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()
|
| 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()
|
| A D | backend_lzo.c | 37 &req->dst_len, ctx->context); in lzo_compress() 47 req->dst, &req->dst_len); in lzo_decompress()
|
| A D | backend_lzorle.c | 37 &req->dst_len, ctx->context); in lzorle_compress() 47 req->dst, &req->dst_len); in lzorle_decompress()
|
| A D | zcomp.h | 54 size_t dst_len; member 92 const void *src, unsigned int *dst_len);
|
| /drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| A D | mp.c | 108 static void mlx5_lag_fib_set(struct lag_mp *mp, struct fib_info *fi, u32 dst, int dst_len) in mlx5_lag_fib_set() argument 113 mp->fib.dst_len = dst_len; in mlx5_lag_fib_set() 177 (mp->fib.dst != fen_info->dst || mp->fib.dst_len != fen_info->dst_len) && in mlx5_lag_fib_route_event() 186 if (mp->fib.dst == fen_info->dst && mp->fib.dst_len == fen_info->dst_len) in mlx5_lag_fib_route_event() 205 mlx5_lag_fib_set(mp, fi, fen_info->dst, fen_info->dst_len); in mlx5_lag_fib_route_event() 220 mlx5_lag_fib_set(mp, fi, fen_info->dst, fen_info->dst_len); in mlx5_lag_fib_route_event()
|
| A D | mp.h | 22 int dst_len; member
|
| /drivers/crypto/virtio/ |
| 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()
|
| 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()
|
| /drivers/misc/mei/ |
| 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()
|
| /drivers/crypto/intel/qat/qat_common/ |
| A D | qat_asym_algs.c | 174 areq->dst_len = req->ctx.dh->p_size; in qat_dh_cb() 179 areq->dst_len, 1); in qat_dh_cb() 236 if (req->dst_len < ctx->p_size) { in qat_dh_compute_value() 237 req->dst_len = ctx->p_size; in qat_dh_compute_value() 318 if (sg_is_last(req->dst) && req->dst_len == ctx->p_size) { in qat_dh_compute_value() 581 areq->dst_len = req->ctx.rsa->key_sz; in qat_rsa_cb() 586 areq->dst_len, 1); in qat_rsa_cb() 714 if (req->dst_len < ctx->key_sz) { in qat_rsa_enc() 715 req->dst_len = ctx->key_sz; in qat_rsa_enc() 848 if (req->dst_len < ctx->key_sz) { in qat_rsa_dec() [all …]
|
| /drivers/crypto/hisilicon/hpre/ |
| A D | hpre_crypto.c | 449 areq->dst_len = ctx->key_sz; in hpre_dh_cb() 475 areq->dst_len = ctx->key_sz; in hpre_rsa_cb() 531 if (akreq->dst_len < ctx->key_sz) { in hpre_msg_request_set() 532 akreq->dst_len = ctx->key_sz; in hpre_msg_request_set() 545 if (kreq->dst_len < ctx->key_sz) { in hpre_msg_request_set() 546 kreq->dst_len = ctx->key_sz; in hpre_msg_request_set() 1488 areq->dst_len = ctx->key_sz << 1; in hpre_ecdh_cb() 1514 if (req->dst_len < ctx->key_sz << 1) { in hpre_ecdh_msg_request_set() 1515 req->dst_len = ctx->key_sz << 1; in hpre_ecdh_msg_request_set() 1807 areq->dst_len = ctx->key_sz; in hpre_curve25519_cb() [all …]
|
| /drivers/crypto/ccp/ |
| 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()
|
| /drivers/media/usb/msi2500/ |
| 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()
|
| /drivers/net/netdevsim/ |
| 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()
|
| /drivers/crypto/caam/ |
| A D | caampkc.c | 292 dst_nents = sg_nents_for_len(req->dst, req->dst_len); in rsa_edesc_alloc() 335 sg_to_sec4_sg_last(req->dst, req->dst_len, in rsa_edesc_alloc() 726 if (req->dst_len < key->n_sz) { in caam_rsa_enc() 727 req->dst_len = key->n_sz; in caam_rsa_enc() 850 if (req->dst_len < key->n_sz) { in caam_rsa_dec() 851 req->dst_len = key->n_sz; in caam_rsa_dec()
|
| /drivers/crypto/ |
| A D | atmel-ecc.c | 59 n_sz = min_t(size_t, ATMEL_ECC_NIST_P256_N_SIZE, req->dst_len); in atmel_ecdh_done() 153 nbytes = min_t(size_t, ATMEL_ECC_PUBKEY_SIZE, req->dst_len); in atmel_ecdh_generate_public_key()
|
| /drivers/net/ethernet/marvell/prestera/ |
| A D | prestera_hw.h | 266 __be32 dst, u32 dst_len, u32 grp_id); 268 __be32 dst, u32 dst_len);
|
| /drivers/crypto/aspeed/ |
| 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()
|
| /drivers/media/usb/airspy/ |
| 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()
|
| /drivers/video/fbdev/omap2/omapfb/dss/ |
| A D | omapdss-boot-init.c | 60 static void __init omapdss_prefix_strcpy(char *dst, int dst_len, in omapdss_prefix_strcpy() argument
|