Searched refs:bufl (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/crypto/intel/qat/qat_common/ |
H A 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 = container_of(&buf->sgl_src.sgl_hdr, in __qat_bl_sgl_to_bufl() 86 memset(bufl, 0, sizeof(struct qat_alg_buf_list)); in __qat_bl_sgl_to_bufl() 93 bufl->buffers[i].addr = DMA_MAPPING_ERROR; in __qat_bl_sgl_to_bufl() 107 bufl->buffers[y].addr = dma_map_single(dev, sg_virt(sg) + left, in __qat_bl_sgl_to_bufl() 110 bufl->buffers[y].len = sg->length; in __qat_bl_sgl_to_bufl() 111 if (unlikely(dma_mapping_error(dev, bufl->buffers[y].addr))) in __qat_bl_sgl_to_bufl() [all …]
|