Home
last modified time | relevance | path

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

/Linux-v6.6/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()
182 struct sec_hw_sgl *sgl_next; in sec_alloc_and_fill_hw_sgl() local
193 sgl_next = dma_pool_zalloc(info->hw_sgl_pool, in sec_alloc_and_fill_hw_sgl()
195 if (!sgl_next) { in sec_alloc_and_fill_hw_sgl()
202 *sec_sgl = sgl_next; in sec_alloc_and_fill_hw_sgl()
206 sgl_current->next = sgl_next; in sec_alloc_and_fill_hw_sgl()
208 sgl_current = sgl_next; in sec_alloc_and_fill_hw_sgl()