Home
last modified time | relevance | path

Searched refs:sgl_current (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
162 sgl_current = hw_sgl; in sec_free_hw_sgl()
163 while (sgl_current) { in sec_free_hw_sgl()
164 sgl_next = sgl_current->next; in sec_free_hw_sgl()
165 sgl_next_dma = sgl_current->next_sgl; in sec_free_hw_sgl()
167 dma_pool_free(info->hw_sgl_pool, sgl_current, psec_sgl); in sec_free_hw_sgl()
169 sgl_current = sgl_next; in sec_free_hw_sgl()
181 struct sec_hw_sgl *sgl_current = NULL; in sec_alloc_and_fill_hw_sgl() local
200 if (!sgl_current) { /* First one */ in sec_alloc_and_fill_hw_sgl()
204 sgl_current->entry_sum_in_sgl = SEC_MAX_SGE_NUM; in sec_alloc_and_fill_hw_sgl()
[all …]