Home
last modified time | relevance | path

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

/linux/crypto/
H A Dshash.c192 struct crypto_report_hash rhash; in crypto_shash_report() local
195 memset(&rhash, 0, sizeof(rhash)); in crypto_shash_report()
197 strscpy(rhash.type, "shash", sizeof(rhash.type)); in crypto_shash_report()
199 rhash.blocksize = alg->cra_blocksize; in crypto_shash_report()
200 rhash.digestsize = salg->digestsize; in crypto_shash_report()
202 return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); in crypto_shash_report()
H A Dahash.c506 struct crypto_report_hash rhash; in crypto_ahash_report() local
508 memset(&rhash, 0, sizeof(rhash)); in crypto_ahash_report()
510 strscpy(rhash.type, "ahash", sizeof(rhash.type)); in crypto_ahash_report()
512 rhash.blocksize = alg->cra_blocksize; in crypto_ahash_report()
513 rhash.digestsize = __crypto_hash_alg_common(alg)->digestsize; in crypto_ahash_report()
515 return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); in crypto_ahash_report()
/linux/net/mac80211/
H A Dmesh_pathtbl.c33 .head_offset = offsetof(struct mesh_path, rhash),
42 .head_offset = offsetof(struct ieee80211_mesh_fast_tx, rhash),
429 rhashtable_remove_fast(&cache->rht, &entry->rhash, fast_tx_rht_params); in mesh_fast_tx_entry_free()
581 &entry->rhash, in mesh_fast_tx_cache()
593 rhashtable_replace_fast(&cache->rht, &prev->rhash, in mesh_fast_tx_cache()
594 &entry->rhash, fast_tx_rht_params); in mesh_fast_tx_cache()
703 &new_mpath->rhash, in mesh_path_add()
746 &new_mpath->rhash, in mpp_path_add()
814 rhashtable_remove_fast(&tbl->rhead, &mpath->rhash, mesh_rht_params); in __mesh_path_del()
H A Dmesh.h108 struct rhash_head rhash; member
179 struct rhash_head rhash; member
/linux/fs/xfs/
H A Dxfs_log_recover.c2340 struct hlist_head rhash[], in xlog_recover_ophdr_to_trans() argument
2349 rhp = &rhash[XLOG_RHASH(tid)]; in xlog_recover_ophdr_to_trans()
2385 struct hlist_head rhash[], in xlog_recover_process_ophdr() argument
2416 trans = xlog_recover_ophdr_to_trans(rhash, rhead, ohead); in xlog_recover_process_ophdr()
2469 struct hlist_head rhash[], in xlog_recover_process_data() argument
2888 struct hlist_head rhash[], in xlog_recover_process() argument
3004 struct hlist_head rhash[XLOG_RHASH_SIZE]; in xlog_do_recovery_pass() local
3011 INIT_HLIST_HEAD(&rhash[i]); in xlog_do_recovery_pass()
3085 memset(rhash, 0, sizeof(rhash)); in xlog_do_recovery_pass()
3200 error = xlog_recover_process(log, rhash, rhead, offset, in xlog_do_recovery_pass()
[all …]
/linux/fs/dlm/
H A Dlock.h35 int dlm_search_rsb_tree(struct rhashtable *rhash, const void *name, int len,
H A Dlock.c690 int dlm_search_rsb_tree(struct rhashtable *rhash, const void *name, int len, in dlm_search_rsb_tree() argument
696 *r_ret = rhashtable_lookup_fast(rhash, &key, dlm_rhash_rsb_params); in dlm_search_rsb_tree()
703 static int rsb_insert(struct dlm_rsb *rsb, struct rhashtable *rhash) in rsb_insert() argument
705 return rhashtable_insert_fast(rhash, &rsb->res_node, in rsb_insert()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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()