Home
last modified time | relevance | path

Searched refs:rhashtable (Results 1 – 11 of 11) sorted by relevance

/linux-4.1.27/include/linux/
Drhashtable.h87 struct rhashtable *ht;
96 struct rhashtable;
143 struct rhashtable { struct
173 struct rhashtable *ht;
180 static inline unsigned long rht_marker(const struct rhashtable *ht, u32 hash) in rht_marker()
198 static inline void *rht_obj(const struct rhashtable *ht, in rht_obj()
211 struct rhashtable *ht, const struct bucket_table *tbl, in rht_key_hashfn()
242 struct rhashtable *ht, const struct bucket_table *tbl, in rht_head_hashfn()
259 static inline bool rht_grow_above_75(const struct rhashtable *ht, in rht_grow_above_75()
272 static inline bool rht_shrink_below_30(const struct rhashtable *ht, in rht_shrink_below_30()
[all …]
/linux-4.1.27/lib/
Drhashtable.c35 static u32 head_hashfn(struct rhashtable *ht, in head_hashfn()
45 int lockdep_rht_mutex_is_held(struct rhashtable *ht) in lockdep_rht_mutex_is_held()
63 static int alloc_bucket_locks(struct rhashtable *ht, struct bucket_table *tbl, in alloc_bucket_locks()
111 static struct bucket_table *bucket_table_alloc(struct rhashtable *ht, in bucket_table_alloc()
145 static struct bucket_table *rhashtable_last_table(struct rhashtable *ht, in rhashtable_last_table()
158 static int rhashtable_rehash_one(struct rhashtable *ht, unsigned int old_hash) in rhashtable_rehash_one()
204 static void rhashtable_rehash_chain(struct rhashtable *ht, in rhashtable_rehash_chain()
219 static int rhashtable_rehash_attach(struct rhashtable *ht, in rhashtable_rehash_attach()
245 static int rhashtable_rehash_table(struct rhashtable *ht) in rhashtable_rehash_table()
291 static int rhashtable_expand(struct rhashtable *ht) in rhashtable_expand()
[all …]
Dtest_rhashtable.c50 static int __init test_rht_lookup(struct rhashtable *ht) in test_rht_lookup()
80 static void test_bucket_stats(struct rhashtable *ht, bool quiet) in test_bucket_stats()
120 static int __init test_rhashtable(struct rhashtable *ht) in test_rhashtable()
183 static struct rhashtable ht;
DMakefile29 percpu-refcount.o percpu_ida.o rhashtable.o reciprocal_div.o
DKconfig.debug1638 Enable this option to test the rhashtable functions at boot.
/linux-4.1.27/net/tipc/
Dcore.h98 struct rhashtable sk_rht;
/linux-4.1.27/net/netlink/
Daf_netlink.h73 struct rhashtable hash;
Ddiag.c106 struct rhashtable *ht = &tbl->hash; in __netlink_diag_dump()
/linux-4.1.27/net/netfilter/
Dnft_hash.c28 struct rhashtable ht;
/linux-4.1.27/net/mac80211/
Dieee80211_i.h1202 struct rhashtable sta_hash;
/linux-4.1.27/
DMAINTAINERS8304 F: lib/rhashtable.c
8305 F: include/linux/rhashtable.h