Lines Matching refs:xbuf
102 static void sg_init_aead(struct scatterlist *sg, char *xbuf[XBUFSIZE], in sg_init_aead()
123 sg_set_buf(&sg[k + 1], xbuf[k], PAGE_SIZE); in sg_init_aead()
126 sg_set_buf(&sg[k + 1], xbuf[k], rem); in sg_init_aead()
141 char *xbuf[XBUFSIZE]; member
289 if (testmgr_alloc_buf(data[i].xbuf)) { in test_mb_aead_speed()
291 testmgr_free_buf(data[i].xbuf); in test_mb_aead_speed()
378 sg_init_aead(cur->sg, cur->xbuf, in test_mb_aead_speed()
441 testmgr_free_buf(data[i].xbuf); in test_mb_aead_speed()
530 char *xbuf[XBUFSIZE]; in test_aead_speed() local
551 if (testmgr_alloc_buf(xbuf)) in test_aead_speed()
632 sg_init_aead(sg, xbuf, bs + (enc ? 0 : authsize), in test_aead_speed()
693 testmgr_free_buf(xbuf); in test_aead_speed()
960 char *xbuf[XBUFSIZE]; member
1087 if (testmgr_alloc_buf(data[i].xbuf)) { in test_mb_skcipher_speed()
1089 testmgr_free_buf(data[i].xbuf); in test_mb_skcipher_speed()
1164 sg_set_buf(cur->sg + p, cur->xbuf[p], in test_mb_skcipher_speed()
1166 memset(cur->xbuf[p], 0xff, PAGE_SIZE); in test_mb_skcipher_speed()
1171 sg_set_buf(cur->sg + p, cur->xbuf[p], k); in test_mb_skcipher_speed()
1172 memset(cur->xbuf[p], 0xff, k); in test_mb_skcipher_speed()
1204 testmgr_free_buf(data[i].xbuf); in test_mb_skcipher_speed()