Lines Matching refs:xbuf
116 static void sg_init_aead(struct scatterlist *sg, char *xbuf[XBUFSIZE], in sg_init_aead()
137 sg_set_buf(&sg[k + 1], xbuf[k], PAGE_SIZE); in sg_init_aead()
140 sg_set_buf(&sg[k + 1], xbuf[k], rem); in sg_init_aead()
155 char *xbuf[XBUFSIZE]; member
298 if (testmgr_alloc_buf(data[i].xbuf)) { in test_mb_aead_speed()
300 testmgr_free_buf(data[i].xbuf); in test_mb_aead_speed()
385 sg_init_aead(cur->sg, cur->xbuf, in test_mb_aead_speed()
448 testmgr_free_buf(data[i].xbuf); in test_mb_aead_speed()
537 char *xbuf[XBUFSIZE]; in test_aead_speed() local
558 if (testmgr_alloc_buf(xbuf)) in test_aead_speed()
633 sg_init_aead(sg, xbuf, *b_size + (enc ? 0 : authsize), in test_aead_speed()
694 testmgr_free_buf(xbuf); in test_aead_speed()
722 char *xbuf[XBUFSIZE]; member
835 if (testmgr_alloc_buf(data[i].xbuf)) in test_mb_ahash_speed()
852 sg_set_buf(data[i].sg + j, data[i].xbuf[j], PAGE_SIZE); in test_mb_ahash_speed()
853 memset(data[i].xbuf[j], 0xff, PAGE_SIZE); in test_mb_ahash_speed()
903 testmgr_free_buf(data[k].xbuf); in test_mb_ahash_speed()
1152 char *xbuf[XBUFSIZE]; member
1279 if (testmgr_alloc_buf(data[i].xbuf)) { in test_mb_skcipher_speed()
1281 testmgr_free_buf(data[i].xbuf); in test_mb_skcipher_speed()
1287 if (testmgr_alloc_buf(data[i].xbuf)) { in test_mb_skcipher_speed()
1289 testmgr_free_buf(data[i].xbuf); in test_mb_skcipher_speed()
1363 sg_set_buf(cur->sg + p, cur->xbuf[p], in test_mb_skcipher_speed()
1365 memset(cur->xbuf[p], 0xff, PAGE_SIZE); in test_mb_skcipher_speed()
1370 sg_set_buf(cur->sg + p, cur->xbuf[p], k); in test_mb_skcipher_speed()
1371 memset(cur->xbuf[p], 0xff, k); in test_mb_skcipher_speed()
1404 testmgr_free_buf(data[i].xbuf); in test_mb_skcipher_speed()