Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/hisilicon/sec/
Dsec_algs.c159 struct sec_hw_sgl *sgl_current, *sgl_next; in sec_free_hw_sgl() local
164 sgl_next = sgl_current->next; in sec_free_hw_sgl()
169 sgl_current = sgl_next; in sec_free_hw_sgl()
181 struct sec_hw_sgl *sgl_next; in sec_alloc_and_fill_hw_sgl() local
192 sgl_next = dma_pool_zalloc(info->hw_sgl_pool, in sec_alloc_and_fill_hw_sgl()
194 if (!sgl_next) { in sec_alloc_and_fill_hw_sgl()
201 *sec_sgl = sgl_next; in sec_alloc_and_fill_hw_sgl()
205 sgl_current->next = sgl_next; in sec_alloc_and_fill_hw_sgl()
207 sgl_current = sgl_next; in sec_alloc_and_fill_hw_sgl()