Lines Matching refs:xbuf
113 static void sg_init_aead(struct scatterlist *sg, char *xbuf[XBUFSIZE],
134 sg_set_buf(&sg[k + 1], xbuf[k], PAGE_SIZE);
137 sg_set_buf(&sg[k + 1], xbuf[k], rem);
152 char *xbuf[XBUFSIZE];
295 if (testmgr_alloc_buf(data[i].xbuf)) {
297 testmgr_free_buf(data[i].xbuf);
382 sg_init_aead(cur->sg, cur->xbuf,
445 testmgr_free_buf(data[i].xbuf);
534 char *xbuf[XBUFSIZE];
555 if (testmgr_alloc_buf(xbuf))
630 sg_init_aead(sg, xbuf, *b_size + (enc ? 0 : authsize),
691 testmgr_free_buf(xbuf);
719 char *xbuf[XBUFSIZE];
832 if (testmgr_alloc_buf(data[i].xbuf))
849 sg_set_buf(data[i].sg + j, data[i].xbuf[j], PAGE_SIZE);
850 memset(data[i].xbuf[j], 0xff, PAGE_SIZE);
900 testmgr_free_buf(data[k].xbuf);
1152 char *xbuf[XBUFSIZE];
1279 if (testmgr_alloc_buf(data[i].xbuf)) {
1281 testmgr_free_buf(data[i].xbuf);
1354 sg_set_buf(cur->sg + p, cur->xbuf[p],
1356 memset(cur->xbuf[p], 0xff, PAGE_SIZE);
1361 sg_set_buf(cur->sg + p, cur->xbuf[p], k);
1362 memset(cur->xbuf[p], 0xff, k);
1395 testmgr_free_buf(data[i].xbuf);