/drivers/base/regmap/ |
D | regcache-lzo.c | 21 size_t src_len; member 47 ret = lzo1x_1_compress(lzo_ctx->src, lzo_ctx->src_len, in regcache_lzo_compress() 61 ret = lzo1x_decompress_safe(lzo_ctx->src, lzo_ctx->src_len, in regcache_lzo_decompress() 181 lzo_blocks[i]->src_len = end - p; in regcache_lzo_init() 183 lzo_blocks[i]->src_len = blksize; in regcache_lzo_init() 189 lzo_blocks[i]->src_len; in regcache_lzo_init() 249 lzo_block->src_len = lzo_block->dst_len; in regcache_lzo_read() 286 lzo_block->src_len = lzo_block->dst_len; in regcache_lzo_write() 303 lzo_block->src_len = lzo_block->dst_len; in regcache_lzo_write()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | osdep_service.c | 65 void rtw_buf_update(u8 **buf, u32 *buf_len, u8 *src, u32 src_len) in rtw_buf_update() argument 74 if (!src || !src_len) in rtw_buf_update() 78 dup = rtw_malloc(src_len); in rtw_buf_update() 80 dup_len = src_len; in rtw_buf_update()
|
/drivers/crypto/virtio/ |
D | virtio_crypto_akcipher_algs.c | 231 unsigned int src_len = verify ? req->src_len + req->dst_len : req->src_len; in __virtio_crypto_akcipher_do_req() local 238 src_buf = kcalloc_node(src_len, 1, GFP_KERNEL, node); in __virtio_crypto_akcipher_do_req() 244 sg_copy_to_buffer(req->src, sg_nents(req->src), src_buf, src_len); in __virtio_crypto_akcipher_do_req() 245 sg_init_one(&srcdata_sg, src_buf, src_len); in __virtio_crypto_akcipher_do_req() 248 sg_copy_to_buffer(req->src, sg_nents(req->src), src_buf, src_len); in __virtio_crypto_akcipher_do_req() 249 sg_init_one(&srcdata_sg, src_buf, src_len); in __virtio_crypto_akcipher_do_req() 310 akcipher_req->para.src_data_len = cpu_to_le32(req->src_len); in virtio_crypto_rsa_do_req()
|
/drivers/staging/rtl8723bs/os_dep/ |
D | osdep_service.c | 186 void rtw_buf_update(u8 **buf, u32 *buf_len, u8 *src, u32 src_len) in rtw_buf_update() argument 195 if (!src || !src_len) in rtw_buf_update() 199 dup = rtw_malloc(src_len); in rtw_buf_update() 201 dup_len = src_len; in rtw_buf_update()
|
/drivers/crypto/ccp/ |
D | ccp-dmaengine.c | 367 unsigned int src_offset, src_len; in ccp_create_desc() local 385 src_len = sg_dma_len(src_sg); in ccp_create_desc() 392 if (!src_len) { in ccp_create_desc() 401 src_len = sg_dma_len(src_sg); in ccp_create_desc() 420 len = min(dst_len, src_len); in ccp_create_desc() 436 ccp_pt->src_len = len; in ccp_create_desc() 446 &ccp_pt->dst_dma, ccp_pt->src_len); in ccp_create_desc() 450 src_len -= len; in ccp_create_desc()
|
D | ccp-ops.c | 490 if (aes->src_len & (AES_BLOCK_SIZE - 1)) in ccp_run_aes_cmac_cmd() 565 ret = ccp_init_data(&src, cmd_q, aes->src, aes->src_len, in ccp_run_aes_cmac_cmd() 688 ilen = aes->src_len; in ccp_run_aes_gcm_cmd() 692 ilen = aes->src_len - authsize; in ccp_run_aes_gcm_cmd() 933 (aes->src_len & (AES_BLOCK_SIZE - 1))) in ccp_run_aes_cmd() 1022 ret = ccp_init_data(&src, cmd_q, aes->src, aes->src_len, in ccp_run_aes_cmd() 1031 ret = ccp_init_data(&dst, cmd_q, aes->dst, aes->src_len, in ccp_run_aes_cmd() 1133 if (!xts->final && (xts->src_len & (AES_BLOCK_SIZE - 1))) in ccp_run_xts_aes_cmd() 1232 ret = ccp_init_data(&src, cmd_q, xts->src, xts->src_len, in ccp_run_xts_aes_cmd() 1241 ret = ccp_init_data(&dst, cmd_q, xts->dst, xts->src_len, in ccp_run_xts_aes_cmd() [all …]
|
D | ccp-crypto-rsa.c | 86 rctx->cmd.u.rsa.src_len = req->src_len; in ccp_rsa_crypt()
|
/drivers/target/ |
D | target_core_rd.c | 428 u32 src_len; in rd_execute_rw() local 460 src_len = PAGE_SIZE - rd_offset; in rd_execute_rw() 475 len = min((u32)m.length, src_len); in rd_execute_rw() 495 src_len -= len; in rd_execute_rw() 496 if (src_len) { in rd_execute_rw() 504 src_len = PAGE_SIZE; in rd_execute_rw()
|
/drivers/net/wireguard/ |
D | noise.c | 432 static void mix_hash(u8 hash[NOISE_HASH_LEN], const u8 *src, size_t src_len) in mix_hash() argument 438 blake2s_update(&blake, src, src_len); in mix_hash() 464 size_t src_len, u8 key[NOISE_SYMMETRIC_KEY_LEN], in message_encrypt() argument 467 chacha20poly1305_encrypt(dst_ciphertext, src_plaintext, src_len, hash, in message_encrypt() 470 mix_hash(hash, dst_ciphertext, noise_encrypted_len(src_len)); in message_encrypt() 474 size_t src_len, u8 key[NOISE_SYMMETRIC_KEY_LEN], in message_decrypt() argument 477 if (!chacha20poly1305_decrypt(dst_plaintext, src_ciphertext, src_len, in message_decrypt() 481 mix_hash(hash, src_ciphertext, src_len); in message_decrypt()
|
/drivers/crypto/qat/qat_common/ |
D | qat_asym_algs.c | 277 if (sg_is_last(req->src) && req->src_len == ctx->p_size) { in qat_dh_compute_value() 281 req->src_len, in qat_dh_compute_value() 288 int shift = ctx->p_size - req->src_len; in qat_dh_compute_value() 298 req->src, 0, req->src_len, 0); in qat_dh_compute_value() 685 if (sg_is_last(req->src) && req->src_len == ctx->key_sz) { in qat_rsa_enc() 688 req->src_len, DMA_TO_DEVICE); in qat_rsa_enc() 693 int shift = ctx->key_sz - req->src_len; in qat_rsa_enc() 702 0, req->src_len, 0); in qat_rsa_enc() 829 if (sg_is_last(req->src) && req->src_len == ctx->key_sz) { in qat_rsa_dec() 837 int shift = ctx->key_sz - req->src_len; in qat_rsa_dec() [all …]
|
/drivers/gpu/drm/ |
D | drm_format_helper.c | 174 size_t src_len = linepixels * sizeof(u32); in drm_fb_xrgb8888_to_rgb565() local 183 sbuf = kmalloc(src_len, GFP_KERNEL); in drm_fb_xrgb8888_to_rgb565() 189 memcpy(sbuf, vaddr, src_len); in drm_fb_xrgb8888_to_rgb565()
|
/drivers/block/zram/ |
D | zcomp.c | 140 const void *src, unsigned int src_len, void *dst) in zcomp_decompress() argument 145 src, src_len, in zcomp_decompress()
|
D | zcomp.h | 40 const void *src, unsigned int src_len, void *dst);
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | omapdss-boot-init.c | 61 const char *src, int src_len) in omapdss_prefix_strcpy() argument 65 while (total < src_len) { in omapdss_prefix_strcpy()
|
/drivers/gpu/drm/omapdrm/dss/ |
D | omapdss-boot-init.c | 61 const char *src, int src_len) in omapdss_prefix_strcpy() argument 65 while (total < src_len) { in omapdss_prefix_strcpy()
|
/drivers/staging/rtl8188eu/include/ |
D | osdep_service.h | 93 void rtw_buf_update(u8 **buf, u32 *buf_len, u8 *src, u32 src_len);
|
/drivers/media/usb/airspy/ |
D | airspy.c | 232 void *dst, void *src, unsigned int src_len) in airspy_convert_stream() argument 237 memcpy(dst, src, src_len); in airspy_convert_stream() 238 dst_len = src_len; in airspy_convert_stream() 253 src_len, samples, msecs, in airspy_convert_stream() 258 s->sample += src_len / 2; in airspy_convert_stream()
|
/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 172 void *dst, const u8 *src, unsigned int src_len) in rtl2832_sdr_convert_stream() argument 179 memcpy(dst, src, src_len); in rtl2832_sdr_convert_stream() 180 dst_len = src_len; in rtl2832_sdr_convert_stream() 186 for (i = 0; i < src_len; i++) in rtl2832_sdr_convert_stream() 188 dst_len = 2 * src_len; in rtl2832_sdr_convert_stream() 204 src_len, samples, msecs, samples * 1000UL / msecs); in rtl2832_sdr_convert_stream() 208 dev->sample += src_len / 2; in rtl2832_sdr_convert_stream()
|
/drivers/crypto/caam/ |
D | caampkc.c | 260 if (req->src_len > key->n_sz) { in rsa_edesc_alloc() 265 lzeros = caam_rsa_count_leading_zeros(req->src, req->src_len - in rsa_edesc_alloc() 272 req_ctx->fixup_src_len = req->src_len - lzeros; in rsa_edesc_alloc() 278 diff_size = key->n_sz - req->src_len; in rsa_edesc_alloc() 280 req_ctx->fixup_src_len = req->src_len; in rsa_edesc_alloc()
|
D | caamalg_qi.c | 947 int src_len, dst_len = 0; in aead_edesc_alloc() local 969 src_len = req->assoclen + req->cryptlen + in aead_edesc_alloc() 972 src_nents = sg_nents_for_len(req->src, src_len); in aead_edesc_alloc() 975 src_len); in aead_edesc_alloc() 988 src_len = req->assoclen + req->cryptlen; in aead_edesc_alloc() 989 dst_len = src_len + (encrypt ? authsize : (-authsize)); in aead_edesc_alloc() 991 src_nents = sg_nents_for_len(req->src, src_len); in aead_edesc_alloc() 994 src_len); in aead_edesc_alloc() 1111 sg_to_qm_sg_last(req->src, src_len, sg_table + qm_sg_index, 0); in aead_edesc_alloc()
|
D | caamalg_qi2.c | 360 int src_len, dst_len = 0; in aead_edesc_alloc() local 377 src_len = req->assoclen + req->cryptlen; in aead_edesc_alloc() 378 dst_len = src_len + (encrypt ? authsize : (-authsize)); in aead_edesc_alloc() 380 src_nents = sg_nents_for_len(req->src, src_len); in aead_edesc_alloc() 383 src_len); in aead_edesc_alloc() 422 src_len = req->assoclen + req->cryptlen + in aead_edesc_alloc() 425 src_nents = sg_nents_for_len(req->src, src_len); in aead_edesc_alloc() 428 src_len); in aead_edesc_alloc() 524 sg_to_qm_sg_last(req->src, src_len, sg_table + qm_sg_index, 0); in aead_edesc_alloc() 3539 int src_len = req->nbytes - *next_buflen; in ahash_update_ctx() local [all …]
|
/drivers/crypto/nx/ |
D | nx.c | 152 unsigned int *src_len) in nx_walk_and_build() argument 156 unsigned int n, offset = 0, len = *src_len; in nx_walk_and_build() 192 *src_len -= len; in nx_walk_and_build()
|
/drivers/staging/rtl8723bs/include/ |
D | osdep_service.h | 154 void rtw_buf_update(u8 **buf, u32 *buf_len, u8 *src, u32 src_len);
|
/drivers/media/usb/msi2500/ |
D | msi2500.c | 243 unsigned int src_len) in msi2500_convert_stream() argument 249 transactions = src_len / 1024; in msi2500_convert_stream() 258 src_len, dev->next_sample, in msi2500_convert_stream() 352 src_len, samples, msecs, in msi2500_convert_stream()
|
/drivers/crypto/chelsio/ |
D | chcr_algo.c | 2588 int src_len, dst_len; in chcr_aead_dma_map() local 2594 src_len = req->assoclen + req->cryptlen + (op_type ? in chcr_aead_dma_map() 2596 dst_len = src_len; in chcr_aead_dma_map() 2598 src_len = req->assoclen + req->cryptlen; in chcr_aead_dma_map() 2603 if (!req->cryptlen || !src_len || !dst_len) in chcr_aead_dma_map() 2615 sg_nents_for_len(req->src, src_len), in chcr_aead_dma_map() 2621 sg_nents_for_len(req->src, src_len), in chcr_aead_dma_map() 2630 sg_nents_for_len(req->src, src_len), in chcr_aead_dma_map() 2649 int src_len, dst_len; in chcr_aead_dma_unmap() local 2655 src_len = req->assoclen + req->cryptlen + (op_type ? in chcr_aead_dma_unmap() [all …]
|