Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_reqmgr.c65 kfree(sr->in.sgcomp); in softreq_unmap_sgbufs()
73 kfree(sr->out.sgcomp); in softreq_unmap_sgbufs()
111 struct nitrox_sgcomp *sgcomp; in create_sg_component() local
120 sz_comp = nr_sgcomp * sizeof(*sgcomp); in create_sg_component()
121 sgcomp = kzalloc(sz_comp, sr->gfp); in create_sg_component()
122 if (!sgcomp) in create_sg_component()
125 sgtbl->sgcomp = sgcomp; in create_sg_component()
131 sgcomp[i].len[j] = cpu_to_be16(sg_dma_len(sg)); in create_sg_component()
132 sgcomp[i].dma[j] = cpu_to_be64(sg_dma_address(sg)); in create_sg_component()
139 kfree(sgtbl->sgcomp); in create_sg_component()
[all …]
H A Dnitrox_req.h483 struct nitrox_sgcomp *sgcomp; member