sgl_current 159 drivers/crypto/hisilicon/sec/sec_algs.c struct sec_hw_sgl *sgl_current, *sgl_next; sgl_current 162 drivers/crypto/hisilicon/sec/sec_algs.c sgl_current = hw_sgl; sgl_current 163 drivers/crypto/hisilicon/sec/sec_algs.c while (sgl_current) { sgl_current 164 drivers/crypto/hisilicon/sec/sec_algs.c sgl_next = sgl_current->next; sgl_current 165 drivers/crypto/hisilicon/sec/sec_algs.c sgl_next_dma = sgl_current->next_sgl; sgl_current 167 drivers/crypto/hisilicon/sec/sec_algs.c dma_pool_free(info->hw_sgl_pool, sgl_current, psec_sgl); sgl_current 169 drivers/crypto/hisilicon/sec/sec_algs.c sgl_current = sgl_next; sgl_current 180 drivers/crypto/hisilicon/sec/sec_algs.c struct sec_hw_sgl *sgl_current = NULL; sgl_current 199 drivers/crypto/hisilicon/sec/sec_algs.c if (!sgl_current) { /* First one */ sgl_current 203 drivers/crypto/hisilicon/sec/sec_algs.c sgl_current->entry_sum_in_sgl = SEC_MAX_SGE_NUM; sgl_current 204 drivers/crypto/hisilicon/sec/sec_algs.c sgl_current->next_sgl = sgl_next_dma; sgl_current 205 drivers/crypto/hisilicon/sec/sec_algs.c sgl_current->next = sgl_next; sgl_current 207 drivers/crypto/hisilicon/sec/sec_algs.c sgl_current = sgl_next; sgl_current 209 drivers/crypto/hisilicon/sec/sec_algs.c sgl_current->sge_entries[sge_index].buf = sg_dma_address(sg); sgl_current 210 drivers/crypto/hisilicon/sec/sec_algs.c sgl_current->sge_entries[sge_index].len = sg_dma_len(sg); sgl_current 211 drivers/crypto/hisilicon/sec/sec_algs.c sgl_current->data_bytes_in_sgl += sg_dma_len(sg); sgl_current 213 drivers/crypto/hisilicon/sec/sec_algs.c sgl_current->entry_sum_in_sgl = count % SEC_MAX_SGE_NUM; sgl_current 214 drivers/crypto/hisilicon/sec/sec_algs.c sgl_current->next_sgl = 0;