Home
last modified time | relevance | path

Searched refs:xbuf (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/crypto/
Dtcrypt.c116 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()
[all …]
Dtestmgr.c281 char *xbuf[XBUFSIZE]; in __test_hash() local
290 if (testmgr_alloc_buf(xbuf)) in __test_hash()
316 hash_buff = xbuf[0]; in __test_hash()
441 memcpy(xbuf[IDX[k] >> PAGE_SHIFT] + in __test_hash()
500 hash_buff = xbuf[0]; in __test_hash()
569 testmgr_free_buf(xbuf); in __test_hash()
623 char *xbuf[XBUFSIZE]; in __test_aead() local
633 if (testmgr_alloc_buf(xbuf)) in __test_aead()
680 input = xbuf[0]; in __test_aead()
847 q = xbuf[IDX[k] >> PAGE_SHIFT] + offset_in_page(IDX[k]); in __test_aead()
[all …]
/linux-4.19.296/drivers/misc/genwqe/
Dcard_dev.c514 u8 *xbuf; in do_flash_update() local
543 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_update()
544 if (xbuf == NULL) in do_flash_update()
557 rc = copy_from_user(xbuf, buf, tocopy); in do_flash_update()
562 crc = genwqe_crc32(xbuf, tocopy, 0xffffffff); in do_flash_update()
638 __genwqe_free_consistent(cd, FLASH_BLOCK, xbuf, dma_addr); in do_flash_update()
650 u8 *xbuf; in do_flash_read() local
679 xbuf = __genwqe_alloc_consistent(cd, FLASH_BLOCK, &dma_addr); in do_flash_read()
680 if (xbuf == NULL) in do_flash_read()
742 rc = copy_to_user(buf, xbuf, tocopy); in do_flash_read()
[all …]