Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A Daf_alg.c615 if (!sg || sgl->cur >= MAX_SGL_ENTS) { in af_alg_alloc_tsgl()
617 struct_size(sgl, sg, (MAX_SGL_ENTS + 1)), in af_alg_alloc_tsgl()
622 sg_init_table(sgl->sg, MAX_SGL_ENTS + 1); in af_alg_alloc_tsgl()
626 sg_chain(sg, MAX_SGL_ENTS + 1, sgl->sg); in af_alg_alloc_tsgl()
755 sock_kfree_s(sk, sgl, struct_size(sgl, sg, MAX_SGL_ENTS + 1)); in af_alg_pull_tsgl()
1048 MAX_SGL_ENTS - sgl->cur, 0); in af_alg_sendmsg()
1091 } while (len && sgl->cur < MAX_SGL_ENTS); in af_alg_sendmsg()
/openbmc/linux/include/crypto/
H A Dif_alg.h71 #define MAX_SGL_ENTS ((4096 - sizeof(struct af_alg_tsgl)) / \ macro