Searched refs:sg_nents_for_len (Results 1 - 13 of 13) sorted by relevance

/linux-4.4.14/drivers/crypto/caam/
H A Dsg_sw_sec4.h75 int sg_nents = sg_nents_for_len(sg_list, nbytes); sg_count()
H A Dcaamhash.c804 src_nents = sg_nents_for_len(req->src, ahash_update_ctx()
1004 src_nents = sg_nents_for_len(req->src, req->nbytes); ahash_finup_ctx()
1235 src_nents = sg_nents_for_len(req->src, ahash_update_no_ctx()
1344 src_nents = sg_nents_for_len(req->src, req->nbytes); ahash_finup_no_ctx()
/linux-4.4.14/drivers/crypto/qce/
H A Dablkcipher.c81 rctx->src_nents = sg_nents_for_len(req->src, req->nbytes); qce_ablkcipher_async_req_handle()
83 rctx->dst_nents = sg_nents_for_len(req->dst, req->nbytes); qce_ablkcipher_async_req_handle()
H A Dsha.c94 rctx->src_nents = sg_nents_for_len(req->src, req->nbytes); qce_ahash_async_req_handle()
/linux-4.4.14/lib/
H A Dscatterlist.c60 * sg_nents_for_len - return total count of entries in scatterlist
73 int sg_nents_for_len(struct scatterlist *sg, u64 len) sg_nents_for_len() function
90 EXPORT_SYMBOL(sg_nents_for_len); variable
/linux-4.4.14/drivers/crypto/marvell/
H A Dcipher.c403 creq->src_nents = sg_nents_for_len(req->src, req->nbytes); mv_cesa_ablkcipher_req_init()
404 creq->dst_nents = sg_nents_for_len(req->dst, req->nbytes); mv_cesa_ablkcipher_req_init()
H A Dhash.c714 creq->src_nents = sg_nents_for_len(req->src, req->nbytes); mv_cesa_ahash_req_init()
/linux-4.4.14/drivers/crypto/
H A Dsahara.c479 dev->nb_in_sg = sg_nents_for_len(dev->in_sg, dev->total); sahara_hw_descriptor_create()
480 dev->nb_out_sg = sg_nents_for_len(dev->out_sg, dev->total); sahara_hw_descriptor_create()
795 dev->nb_in_sg = sg_nents_for_len(dev->in_sg, rctx->total); sahara_sha_hw_links_create()
H A Dtalitos.c1253 src_nents = sg_nents_for_len(src, talitos_edesc_alloc()
1258 src_nents = sg_nents_for_len(src, assoclen + cryptlen + talitos_edesc_alloc()
1261 dst_nents = sg_nents_for_len(dst, assoclen + cryptlen + talitos_edesc_alloc()
1861 sg_nents_for_len(areq->src, nbytes), ahash_process_req()
1894 int nents = sg_nents_for_len(areq->src, nbytes); ahash_process_req()
H A Dpicoxcell_crypto.c278 return sg_nents_for_len(sg_list, nbytes); sg_count()
/linux-4.4.14/include/linux/
H A Dscatterlist.h245 int sg_nents_for_len(struct scatterlist *sg, u64 len);
/linux-4.4.14/drivers/crypto/amcc/
H A Dcrypto4xx_core.c783 num_gd = sg_nents_for_len(src, datalen); crypto4xx_build_pd()
/linux-4.4.14/drivers/crypto/ccp/
H A Dccp-ops.c498 wa->nents = sg_nents_for_len(sg, len); ccp_init_sg_workarea()

Completed in 685 milliseconds