Searched refs:ht (Results 1 – 3 of 3) sorted by relevance
/lib/ |
D | rhashtable.c | 37 static u32 head_hashfn(struct rhashtable *ht, in head_hashfn() argument 41 return rht_head_hashfn(ht, tbl, he, ht->p); in head_hashfn() 47 int lockdep_rht_mutex_is_held(struct rhashtable *ht) in lockdep_rht_mutex_is_held() argument 49 return (debug_locks) ? lockdep_is_held(&ht->mutex) : 1; in lockdep_rht_mutex_is_held() 113 static union nested_table *nested_table_alloc(struct rhashtable *ht, in nested_table_alloc() argument 138 static struct bucket_table *nested_bucket_table_alloc(struct rhashtable *ht, in nested_bucket_table_alloc() argument 155 if (!nested_table_alloc(ht, (union nested_table __rcu **)tbl->buckets, in nested_bucket_table_alloc() 166 static struct bucket_table *bucket_table_alloc(struct rhashtable *ht, in bucket_table_alloc() argument 180 tbl = nested_bucket_table_alloc(ht, nbuckets, gfp); in bucket_table_alloc() 202 static struct bucket_table *rhashtable_last_table(struct rhashtable *ht, in rhashtable_last_table() argument [all …]
|
D | test_rhashtable.c | 115 static int insert_retry(struct rhashtable *ht, struct test_obj *obj, in insert_retry() argument 123 err = rhashtable_insert_fast(ht, &obj->node, params); in insert_retry() 137 static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array, in test_rht_lookup() argument 152 obj = rhashtable_lookup_fast(ht, &key, test_rht_params); in test_rht_lookup() 175 static void test_bucket_stats(struct rhashtable *ht, unsigned int entries) in test_bucket_stats() argument 181 rhashtable_walk_enter(ht, &hti); in test_bucket_stats() 202 total, atomic_read(&ht->nelems), entries, chain_len); in test_bucket_stats() 204 if (total != atomic_read(&ht->nelems) || total != entries) in test_bucket_stats() 208 static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, in test_rhashtable() argument 226 err = insert_retry(ht, obj, test_rht_params); in test_rhashtable() [all …]
|
D | objagg.c | 912 struct rhashtable *ht = arg->ht; in objagg_hints_obj_cmp() local 914 container_of(ht, struct objagg_hints, node_ht); in objagg_hints_obj_cmp() 918 ptr += ht->p.key_offset; in objagg_hints_obj_cmp() 920 memcmp(ptr, arg->key, ht->p.key_len); in objagg_hints_obj_cmp()
|