/kernel/linux/linux-6.6/crypto/ |
H A D | hash.h | 21 struct crypto_stat_hash rhash; in crypto_hash_report_stat() local 23 memset(&rhash, 0, sizeof(rhash)); in crypto_hash_report_stat() 25 strscpy(rhash.type, type, sizeof(rhash.type)); in crypto_hash_report_stat() 27 rhash.stat_hash_cnt = atomic64_read(&istat->hash_cnt); in crypto_hash_report_stat() 28 rhash.stat_hash_tlen = atomic64_read(&istat->hash_tlen); in crypto_hash_report_stat() 29 rhash.stat_err_cnt = atomic64_read(&istat->err_cnt); in crypto_hash_report_stat() 31 return nla_put(skb, CRYPTOCFGA_STAT_HASH, sizeof(rhash), &rhash); in crypto_hash_report_stat() [all...] |
H A D | shash.c | 514 struct crypto_report_hash rhash; in crypto_shash_report() local 517 memset(&rhash, 0, sizeof(rhash)); in crypto_shash_report() 519 strscpy(rhash.type, "shash", sizeof(rhash.type)); in crypto_shash_report() 521 rhash.blocksize = alg->cra_blocksize; in crypto_shash_report() 522 rhash.digestsize = salg->digestsize; in crypto_shash_report() 524 return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); in crypto_shash_report()
|
H A D | ahash.c | 471 struct crypto_report_hash rhash; in crypto_ahash_report() local 473 memset(&rhash, 0, sizeof(rhash)); in crypto_ahash_report() 475 strscpy(rhash.type, "ahash", sizeof(rhash.type)); in crypto_ahash_report() 477 rhash.blocksize = alg->cra_blocksize; in crypto_ahash_report() 478 rhash.digestsize = __crypto_hash_alg_common(alg)->digestsize; in crypto_ahash_report() 480 return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); in crypto_ahash_report()
|
/kernel/linux/linux-5.10/crypto/ |
H A D | crypto_user_stat.c | 134 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; crypto_report_shash() local [all...] |
H A D | ahash.c | 502 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()
|
H A D | shash.c | 464 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()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_log_recover.c | 2290 struct hlist_head rhash[], in xlog_recover_ophdr_to_trans() 2299 rhp = &rhash[XLOG_RHASH(tid)]; in xlog_recover_ophdr_to_trans() 2335 struct hlist_head rhash[], in xlog_recover_process_ophdr() 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() 2445 error = xlog_recover_process_ophdr(log, rhash, rhead, ohead, in xlog_recover_process_data() 2848 struct hlist_head rhash[], in xlog_recover_process() 2899 return xlog_recover_process_data(log, rhash, rhead, dp, pass, in xlog_recover_process() 2964 struct hlist_head rhash[XLOG_RHASH_SIZE]; in xlog_do_recovery_pass() local 2971 INIT_HLIST_HEAD(&rhash[ in xlog_do_recovery_pass() 2289 xlog_recover_ophdr_to_trans( struct hlist_head rhash[], struct xlog_rec_header *rhead, struct xlog_op_header *ohead) xlog_recover_ophdr_to_trans() argument 2333 xlog_recover_process_ophdr( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, struct xlog_op_header *ohead, char *dp, char *end, int pass, struct list_head *buffer_list) xlog_recover_process_ophdr() argument 2417 xlog_recover_process_data( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, char *dp, int pass, struct list_head *buffer_list) xlog_recover_process_data() argument 2846 xlog_recover_process( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, char *dp, int pass, struct list_head *buffer_list) xlog_recover_process() argument [all...] |
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | mesh_pathtbl.c | 32 .head_offset = offsetof(struct mesh_path, rhash), 41 .head_offset = offsetof(struct ieee80211_mesh_fast_tx, rhash), 424 rhashtable_remove_fast(&cache->rht, &entry->rhash, fast_tx_rht_params); in mesh_fast_tx_entry_free() 569 &entry->rhash, in mesh_fast_tx_cache() 581 rhashtable_replace_fast(&cache->rht, &prev->rhash, in mesh_fast_tx_cache() 582 &entry->rhash, fast_tx_rht_params); in mesh_fast_tx_cache() 689 &new_mpath->rhash, in mesh_path_add() 732 &new_mpath->rhash, in mpp_path_add() 800 rhashtable_remove_fast(&tbl->rhead, &mpath->rhash, mesh_rht_params); in __mesh_path_del()
|
H A D | mesh.h | 70 * @rhash: rhashtable list pointer 107 struct rhash_head rhash; member 138 * @rhash: rhashtable pointer 149 struct rhash_head rhash; member
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_log_recover.c | 2270 struct hlist_head rhash[], in xlog_recover_ophdr_to_trans() 2279 rhp = &rhash[XLOG_RHASH(tid)]; in xlog_recover_ophdr_to_trans() 2315 struct hlist_head rhash[], in xlog_recover_process_ophdr() 2346 trans = xlog_recover_ophdr_to_trans(rhash, rhead, ohead); in xlog_recover_process_ophdr() 2399 struct hlist_head rhash[], in xlog_recover_process_data() 2425 error = xlog_recover_process_ophdr(log, rhash, rhead, ohead, in xlog_recover_process_data() 2829 struct hlist_head rhash[], in xlog_recover_process() 2880 return xlog_recover_process_data(log, rhash, rhead, dp, pass, in xlog_recover_process() 2945 struct hlist_head rhash[XLOG_RHASH_SIZE]; in xlog_do_recovery_pass() local 2952 INIT_HLIST_HEAD(&rhash[ in xlog_do_recovery_pass() 2269 xlog_recover_ophdr_to_trans( struct hlist_head rhash[], struct xlog_rec_header *rhead, struct xlog_op_header *ohead) xlog_recover_ophdr_to_trans() argument 2313 xlog_recover_process_ophdr( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, struct xlog_op_header *ohead, char *dp, char *end, int pass, struct list_head *buffer_list) xlog_recover_process_ophdr() argument 2397 xlog_recover_process_data( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, char *dp, int pass, struct list_head *buffer_list) xlog_recover_process_data() argument 2827 xlog_recover_process( struct xlog *log, struct hlist_head rhash[], struct xlog_rec_header *rhead, char *dp, int pass, struct list_head *buffer_list) xlog_recover_process() argument [all...] |
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | mesh_pathtbl.c | 31 .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()
|
H A D | mesh.h | 69 * @rhash: rhashtable list pointer 106 struct rhash_head rhash; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | macsec_fs.c | 658 const struct rhashtable_params *rhash = (is_tx) ? &rhash_sci : &rhash_fs_id; in macsec_fs_id_del() local 684 rhashtable_remove_fast(hash_table, &fs_id_found->hash, *rhash); in macsec_fs_id_del() 703 const struct rhashtable_params *rhash = (is_tx) ? &rhash_sci : &rhash_fs_id; in macsec_fs_id_add() local 752 err = rhashtable_insert_fast(hash_table, &fs_id_iter->hash, *rhash); in macsec_fs_id_add()
|