Lines Matching refs:tvmem
67 static char *tvmem[TVMEMSIZE]; variable
359 memset(tvmem[0], 0xff, PAGE_SIZE); in test_mb_aead_speed()
360 key = tvmem[0]; in test_mb_aead_speed()
618 key = tvmem[0]; in test_aead_speed()
641 memset(tvmem[0], 0xff, PAGE_SIZE); in test_aead_speed()
715 sg_set_buf(sg + i, tvmem[i], PAGE_SIZE); in test_hash_sg_init()
716 memset(tvmem[i], 0xff, PAGE_SIZE); in test_hash_sg_init()
882 crypto_ahash_setkey(tfm, tvmem[0], klen); in test_mb_ahash_speed()
1117 crypto_ahash_setkey(tfm, tvmem[0], klen); in test_ahash_speed_common()
1336 memset(tvmem[0], 0xff, PAGE_SIZE); in test_mb_skcipher_speed()
1337 key = tvmem[0]; in test_mb_skcipher_speed()
1554 memset(tvmem[0], 0xff, PAGE_SIZE); in test_skcipher_speed()
1557 key = tvmem[0]; in test_skcipher_speed()
1578 sg_set_buf(sg, tvmem[0] + *keysize, in test_skcipher_speed()
1583 sg_set_buf(sg + j, tvmem[j], PAGE_SIZE); in test_skcipher_speed()
1584 memset(tvmem[j], 0xff, PAGE_SIZE); in test_skcipher_speed()
1588 sg_set_buf(sg + j, tvmem[j], k); in test_skcipher_speed()
1589 memset(tvmem[j], 0xff, k); in test_skcipher_speed()
1591 sg_set_buf(sg, tvmem[0] + *keysize, bs); in test_skcipher_speed()
3052 tvmem[i] = (void *)__get_free_page(GFP_KERNEL); in tcrypt_mod_init()
3053 if (!tvmem[i]) in tcrypt_mod_init()
3077 for (i = 0; i < TVMEMSIZE && tvmem[i]; i++) in tcrypt_mod_init()
3078 free_page((unsigned long)tvmem[i]); in tcrypt_mod_init()