Home
last modified time | relevance | path

Searched refs:rht (Results 1 – 3 of 3) sorted by relevance

/net/core/
Dxdp.c210 struct rhashtable *rht; in __mem_id_init_hash_table() local
216 rht = kzalloc(sizeof(*rht), GFP_KERNEL); in __mem_id_init_hash_table()
217 if (!rht) in __mem_id_init_hash_table()
220 ret = rhashtable_init(rht, &mem_id_rht_params); in __mem_id_init_hash_table()
222 kfree(rht); in __mem_id_init_hash_table()
225 mem_id_ht = rht; in __mem_id_init_hash_table()
/net/mac80211/
Dmesh_pathtbl.c57 rhashtable_free_and_destroy(&cache->rht, in mesh_fast_tx_deinit()
66 rhashtable_init(&cache->rht, &fast_tx_rht_params); in mesh_fast_tx_init()
424 rhashtable_remove_fast(&cache->rht, &entry->rhash, fast_tx_rht_params); in mesh_fast_tx_entry_free()
436 entry = rhashtable_lookup(&cache->rht, key, fast_tx_rht_params); in mesh_fast_tx_get()
443 entry = rhashtable_lookup(&cache->rht, key, fast_tx_rht_params); in mesh_fast_tx_get()
481 if (atomic_read(&cache->rht.nelems) >= MESH_FAST_TX_CACHE_MAX_SIZE) in mesh_fast_tx_cache()
575 prev = rhashtable_lookup_get_insert_fast(&cache->rht, in mesh_fast_tx_cache()
588 rhashtable_replace_fast(&cache->rht, &prev->rhash, in mesh_fast_tx_cache()
609 if (atomic_read(&cache->rht.nelems) < MESH_FAST_TX_CACHE_THRESHOLD_SIZE) in mesh_fast_tx_gc()
659 entry = rhashtable_lookup_fast(&cache->rht, &key, fast_tx_rht_params); in mesh_fast_tx_flush_addr()
Dieee80211_i.h668 struct rhashtable rht; member