Searched refs:MAX_SGL_ENTS (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/crypto/ |
| H A D | af_alg.c | 508 if (!sg || sgl->cur >= MAX_SGL_ENTS) { in af_alg_alloc_tsgl() 510 struct_size(sgl, sg, (MAX_SGL_ENTS + 1)), in af_alg_alloc_tsgl() 515 sg_init_table(sgl->sg, MAX_SGL_ENTS + 1); in af_alg_alloc_tsgl() 519 sg_chain(sg, MAX_SGL_ENTS + 1, sgl->sg); in af_alg_alloc_tsgl() 648 sock_kfree_s(sk, sgl, struct_size(sgl, sg, MAX_SGL_ENTS + 1)); in af_alg_pull_tsgl() 958 } while (len && sgl->cur < MAX_SGL_ENTS); in af_alg_sendmsg()
|
| /OK3568_Linux_fs/kernel/include/crypto/ |
| H A D | if_alg.h | 73 #define MAX_SGL_ENTS ((4096 - sizeof(struct af_alg_tsgl)) / \ macro
|