Home
last modified time | relevance | path

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

/linux-4.4.14/crypto/
Dalgif_skcipher.c72 #define MAX_SGL_ENTS ((4096 - sizeof(struct skcipher_sg_list)) / \ macro
131 if (!sg || sgl->cur >= MAX_SGL_ENTS) { in skcipher_alloc_sgl()
133 sizeof(sgl->sg[0]) * (MAX_SGL_ENTS + 1), in skcipher_alloc_sgl()
138 sg_init_table(sgl->sg, MAX_SGL_ENTS + 1); in skcipher_alloc_sgl()
142 sg_chain(sg, MAX_SGL_ENTS + 1, sgl->sg); in skcipher_alloc_sgl()
185 (MAX_SGL_ENTS + 1)); in skcipher_pull_sgl()
412 } while (len && sgl->cur < MAX_SGL_ENTS); in skcipher_sendmsg()