Home
last modified time | relevance | path

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

/linux-6.1.9/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.c464 struct crypto_report_hash rhash; in crypto_shash_report() local
467 memset(&rhash, 0, sizeof(rhash)); in crypto_shash_report()
469 strscpy(rhash.type, "shash", sizeof(rhash.type)); in crypto_shash_report()
471 rhash.blocksize = alg->cra_blocksize; in crypto_shash_report()
472 rhash.digestsize = salg->digestsize; in crypto_shash_report()
474 return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); in crypto_shash_report()
Dahash.c502 struct crypto_report_hash rhash; in crypto_ahash_report() local
504 memset(&rhash, 0, sizeof(rhash)); in crypto_ahash_report()
506 strscpy(rhash.type, "ahash", sizeof(rhash.type)); in crypto_ahash_report()
508 rhash.blocksize = alg->cra_blocksize; in crypto_ahash_report()
509 rhash.digestsize = __crypto_hash_alg_common(alg)->digestsize; in crypto_ahash_report()
511 return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); in crypto_ahash_report()
/linux-6.1.9/fs/xfs/
Dxfs_log_recover.c2290 struct hlist_head rhash[], in xlog_recover_ophdr_to_trans() argument
2299 rhp = &rhash[XLOG_RHASH(tid)]; in xlog_recover_ophdr_to_trans()
2335 struct hlist_head rhash[], in xlog_recover_process_ophdr() argument
2366 trans = xlog_recover_ophdr_to_trans(rhash, rhead, ohead); in xlog_recover_process_ophdr()
2419 struct hlist_head rhash[], in xlog_recover_process_data() argument
2445 error = xlog_recover_process_ophdr(log, rhash, rhead, ohead, in xlog_recover_process_data()
2849 struct hlist_head rhash[], in xlog_recover_process() argument
2900 return xlog_recover_process_data(log, rhash, rhead, dp, pass, in xlog_recover_process()
2965 struct hlist_head rhash[XLOG_RHASH_SIZE]; in xlog_do_recovery_pass() local
2972 INIT_HLIST_HEAD(&rhash[i]); in xlog_do_recovery_pass()
[all …]
/linux-6.1.9/net/mac80211/
Dmesh_pathtbl.c31 .head_offset = offsetof(struct mesh_path, rhash),
416 &new_mpath->rhash, in mesh_path_add()
459 &new_mpath->rhash, in mpp_path_add()
525 rhashtable_remove_fast(&tbl->rhead, &mpath->rhash, mesh_rht_params); in __mesh_path_del()
Dmesh.h106 struct rhash_head rhash; member