Home
last modified time | relevance | path

Searched refs:bufl (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/crypto/qat/qat_common/
Dqat_algs.c670 struct qat_alg_buf_list *bufl; in qat_alg_sgl_to_bufl() local
675 size_t sz_out, sz = struct_size(bufl, bufers, n + 1); in qat_alg_sgl_to_bufl()
680 bufl = kzalloc_node(sz, GFP_ATOMIC, in qat_alg_sgl_to_bufl()
682 if (unlikely(!bufl)) in qat_alg_sgl_to_bufl()
685 blp = dma_map_single(dev, bufl, sz, DMA_TO_DEVICE); in qat_alg_sgl_to_bufl()
695 bufl->bufers[y].addr = dma_map_single(dev, sg_virt(sg), in qat_alg_sgl_to_bufl()
698 bufl->bufers[y].len = sg->length; in qat_alg_sgl_to_bufl()
699 if (unlikely(dma_mapping_error(dev, bufl->bufers[y].addr))) in qat_alg_sgl_to_bufl()
703 bufl->num_bufs = sg_nctr; in qat_alg_sgl_to_bufl()
704 qat_req->buf.bl = bufl; in qat_alg_sgl_to_bufl()
[all …]