Home
last modified time | relevance | path

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

/linux-6.6.21/crypto/
Dhash.h21 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()
Dahash.c471 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()
Dshash.c514 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()
/linux-6.6.21/net/mac80211/
Dmesh_pathtbl.c32 .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()
Dmesh.h107 struct rhash_head rhash; member
149 struct rhash_head rhash; member
/linux-6.6.21/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()
2848 struct hlist_head rhash[], in xlog_recover_process() argument
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[i]); in xlog_do_recovery_pass()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmacsec_fs.c658 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()