Searched refs:rcomp (Results 1 – 2 of 2) sorted by relevance
/crypto/ |
D | crypto_user_stat.c | 67 struct crypto_stat_compress rcomp; in crypto_report_comp() local 69 memset(&rcomp, 0, sizeof(rcomp)); in crypto_report_comp() 71 strscpy(rcomp.type, "compression", sizeof(rcomp.type)); in crypto_report_comp() 72 rcomp.stat_compress_cnt = atomic64_read(&alg->stats.compress.compress_cnt); in crypto_report_comp() 73 rcomp.stat_compress_tlen = atomic64_read(&alg->stats.compress.compress_tlen); in crypto_report_comp() 74 rcomp.stat_decompress_cnt = atomic64_read(&alg->stats.compress.decompress_cnt); in crypto_report_comp() 75 rcomp.stat_decompress_tlen = atomic64_read(&alg->stats.compress.decompress_tlen); in crypto_report_comp() 76 rcomp.stat_err_cnt = atomic64_read(&alg->stats.compress.err_cnt); in crypto_report_comp() 78 return nla_put(skb, CRYPTOCFGA_STAT_COMPRESS, sizeof(rcomp), &rcomp); in crypto_report_comp()
|
D | crypto_user_base.c | 90 struct crypto_report_comp rcomp; in crypto_report_comp() local 92 memset(&rcomp, 0, sizeof(rcomp)); in crypto_report_comp() 94 strscpy(rcomp.type, "compression", sizeof(rcomp.type)); in crypto_report_comp() 96 return nla_put(skb, CRYPTOCFGA_REPORT_COMPRESS, sizeof(rcomp), &rcomp); in crypto_report_comp()
|