Searched refs:mapped_nents (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
D | cc_buffer_mgr.c | 257 u32 max_sg_nents, u32 *lbytes, u32 *mapped_nents) in cc_map_sg() argument 276 *mapped_nents = ret; in cc_map_sg() 372 u32 mapped_nents = 0; in cc_map_cipher_request() local 396 LLI_MAX_NUM_OF_DATA_ENTRIES, &dummy, &mapped_nents); in cc_map_cipher_request() 399 if (mapped_nents > 1) in cc_map_cipher_request() 414 &dummy, &mapped_nents); in cc_map_cipher_request() 417 if (mapped_nents > 1) in cc_map_cipher_request() 510 dma_unmap_sg(dev, req->src, areq_ctx->src.mapped_nents, in cc_unmap_aead_request() 515 dma_unmap_sg(dev, req->dst, areq_ctx->dst.mapped_nents, in cc_unmap_aead_request() 582 int mapped_nents = 0; in cc_aead_chain_assoc() local [all …]
|
D | cc_buffer_mgr.h | 28 unsigned int mapped_nents; member
|
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
D | caamhash.c | 824 int src_nents, mapped_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() local 853 mapped_nents = dma_map_sg(jrdev, req->src, src_nents, in ahash_update_ctx() 855 if (!mapped_nents) { in ahash_update_ctx() 860 mapped_nents = 0; in ahash_update_ctx() 864 pad_nents = pad_sg_nents(sec4_sg_src_index + mapped_nents); in ahash_update_ctx() 890 if (mapped_nents) in ahash_update_ctx() 1007 int src_nents, mapped_nents; in ahash_finup_ctx() local 1019 mapped_nents = dma_map_sg(jrdev, req->src, src_nents, in ahash_finup_ctx() 1021 if (!mapped_nents) { in ahash_finup_ctx() 1026 mapped_nents = 0; in ahash_finup_ctx() [all …]
|
D | caamalg_qi2.c | 3529 int src_nents, mapped_nents, qm_sg_bytes, qm_sg_src_index; in ahash_update_ctx() local 3547 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_update_ctx() 3549 if (!mapped_nents) { in ahash_update_ctx() 3554 mapped_nents = 0; in ahash_update_ctx() 3567 qm_sg_bytes = pad_sg_nents(qm_sg_src_index + mapped_nents) * in ahash_update_ctx() 3580 if (mapped_nents) { in ahash_update_ctx() 3717 int src_nents, mapped_nents; in ahash_finup_ctx() local 3730 mapped_nents = dma_map_sg(ctx->dev, req->src, src_nents, in ahash_finup_ctx() 3732 if (!mapped_nents) { in ahash_finup_ctx() 3737 mapped_nents = 0; in ahash_finup_ctx() [all …]
|
/kernel/linux/linux-5.10/net/smc/ |
D | smc_ib.c | 476 int mapped_nents; in smc_ib_buf_map_sg() local 478 mapped_nents = ib_dma_map_sg(lnk->smcibdev->ibdev, in smc_ib_buf_map_sg() 482 if (!mapped_nents) in smc_ib_buf_map_sg() 485 return mapped_nents; in smc_ib_buf_map_sg()
|