Home
last modified time | relevance | path

Searched refs:rhash (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/crypto/
Dcrypto_user_stat.c134 struct crypto_stat_hash rhash; in crypto_report_ahash() local
136 memset(&rhash, 0, sizeof(rhash)); in crypto_report_ahash()
138 strscpy(rhash.type, "ahash", sizeof(rhash.type)); in crypto_report_ahash()
140 rhash.stat_hash_cnt = atomic64_read(&alg->stats.hash.hash_cnt); in crypto_report_ahash()
141 rhash.stat_hash_tlen = atomic64_read(&alg->stats.hash.hash_tlen); in crypto_report_ahash()
142 rhash.stat_err_cnt = atomic64_read(&alg->stats.hash.err_cnt); in crypto_report_ahash()
144 return nla_put(skb, CRYPTOCFGA_STAT_HASH, sizeof(rhash), &rhash); in crypto_report_ahash()
149 struct crypto_stat_hash rhash; in crypto_report_shash() local
151 memset(&rhash, 0, sizeof(rhash)); in crypto_report_shash()
153 strscpy(rhash.type, "shash", sizeof(rhash.type)); in crypto_report_shash()
[all …]
Dshash.c404 struct crypto_report_hash rhash; in crypto_shash_report() local
407 memset(&rhash, 0, sizeof(rhash)); in crypto_shash_report()
409 strscpy(rhash.type, "shash", sizeof(rhash.type)); in crypto_shash_report()
411 rhash.blocksize = alg->cra_blocksize; in crypto_shash_report()
412 rhash.digestsize = salg->digestsize; in crypto_shash_report()
414 return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); in crypto_shash_report()
Dahash.c515 struct crypto_report_hash rhash; in crypto_ahash_report() local
517 memset(&rhash, 0, sizeof(rhash)); in crypto_ahash_report()
519 strscpy(rhash.type, "ahash", sizeof(rhash.type)); in crypto_ahash_report()
521 rhash.blocksize = alg->cra_blocksize; in crypto_ahash_report()
522 rhash.digestsize = __crypto_hash_alg_common(alg)->digestsize; in crypto_ahash_report()
524 return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); in crypto_ahash_report()
/Linux-v5.4/net/mac80211/
Dmesh_pathtbl.c31 .head_offset = offsetof(struct mesh_path, rhash),
422 &new_mpath->rhash, in mesh_path_add()
465 &new_mpath->rhash, in mpp_path_add()
530 rhashtable_remove_fast(&tbl->rhead, &mpath->rhash, mesh_rht_params); in __mesh_path_del()
Dmesh.h106 struct rhash_head rhash; member
/Linux-v5.4/fs/xfs/
Dxfs_log_recover.c4400 struct hlist_head rhash[], in xlog_recover_ophdr_to_trans() argument
4409 rhp = &rhash[XLOG_RHASH(tid)]; in xlog_recover_ophdr_to_trans()
4445 struct hlist_head rhash[], in xlog_recover_process_ophdr() argument
4476 trans = xlog_recover_ophdr_to_trans(rhash, rhead, ohead); in xlog_recover_process_ophdr()
4529 struct hlist_head rhash[], in xlog_recover_process_data() argument
4555 error = xlog_recover_process_ophdr(log, rhash, rhead, ohead, in xlog_recover_process_data()
5132 struct hlist_head rhash[], in xlog_recover_process() argument
5181 return xlog_recover_process_data(log, rhash, rhead, dp, pass, in xlog_recover_process()
5247 struct hlist_head rhash[XLOG_RHASH_SIZE]; in xlog_do_recovery_pass() local
5254 INIT_HLIST_HEAD(&rhash[i]); in xlog_do_recovery_pass()
[all …]