Searched refs:bufl (Results 1 – 1 of 1) sorted by relevance
/drivers/crypto/intel/qat/qat_common/ |
D | qat_bl.c | 63 struct qat_alg_buf_list *bufl; in __qat_bl_sgl_to_bufl() local 68 size_t sz_out, sz = struct_size(bufl, buffers, n); in __qat_bl_sgl_to_bufl() 80 bufl = kzalloc_node(sz, flags, node); in __qat_bl_sgl_to_bufl() 81 if (unlikely(!bufl)) in __qat_bl_sgl_to_bufl() 84 bufl = &buf->sgl_src.sgl_hdr; in __qat_bl_sgl_to_bufl() 85 memset(bufl, 0, sizeof(struct qat_alg_buf_list)); in __qat_bl_sgl_to_bufl() 92 bufl->buffers[i].addr = DMA_MAPPING_ERROR; in __qat_bl_sgl_to_bufl() 106 bufl->buffers[y].addr = dma_map_single(dev, sg_virt(sg) + left, in __qat_bl_sgl_to_bufl() 109 bufl->buffers[y].len = sg->length; in __qat_bl_sgl_to_bufl() 110 if (unlikely(dma_mapping_error(dev, bufl->buffers[y].addr))) in __qat_bl_sgl_to_bufl() [all …]
|