Lines Matching refs:istat
101 struct crypto_istat_cipher *istat = skcipher_get_stat(alg); in crypto_skcipher_errstat() local
107 atomic64_inc(&istat->err_cnt); in crypto_skcipher_errstat()
644 struct crypto_istat_cipher *istat = skcipher_get_stat(alg); in crypto_skcipher_encrypt() local
646 atomic64_inc(&istat->encrypt_cnt); in crypto_skcipher_encrypt()
647 atomic64_add(req->cryptlen, &istat->encrypt_tlen); in crypto_skcipher_encrypt()
666 struct crypto_istat_cipher *istat = skcipher_get_stat(alg); in crypto_skcipher_decrypt() local
668 atomic64_inc(&istat->decrypt_cnt); in crypto_skcipher_decrypt()
669 atomic64_add(req->cryptlen, &istat->decrypt_tlen); in crypto_skcipher_decrypt()
754 struct crypto_istat_cipher *istat; in crypto_skcipher_report_stat() local
757 istat = skcipher_get_stat(skcipher); in crypto_skcipher_report_stat()
763 rcipher.stat_encrypt_cnt = atomic64_read(&istat->encrypt_cnt); in crypto_skcipher_report_stat()
764 rcipher.stat_encrypt_tlen = atomic64_read(&istat->encrypt_tlen); in crypto_skcipher_report_stat()
765 rcipher.stat_decrypt_cnt = atomic64_read(&istat->decrypt_cnt); in crypto_skcipher_report_stat()
766 rcipher.stat_decrypt_tlen = atomic64_read(&istat->decrypt_tlen); in crypto_skcipher_report_stat()
767 rcipher.stat_err_cnt = atomic64_read(&istat->err_cnt); in crypto_skcipher_report_stat()
839 struct crypto_istat_cipher *istat = skcipher_get_stat(alg); in skcipher_prepare_alg() local
856 memset(istat, 0, sizeof(*istat)); in skcipher_prepare_alg()