| /kernel/linux/linux-5.10/lib/ |
| D | rhashtable.c | 37 static u32 head_hashfn(struct rhashtable *ht, in head_hashfn() 47 int lockdep_rht_mutex_is_held(struct rhashtable *ht) in lockdep_rht_mutex_is_held() 122 static union nested_table *nested_table_alloc(struct rhashtable *ht, in nested_table_alloc() 147 static struct bucket_table *nested_bucket_table_alloc(struct rhashtable *ht, in nested_bucket_table_alloc() 175 static struct bucket_table *bucket_table_alloc(struct rhashtable *ht, in bucket_table_alloc() 211 static struct bucket_table *rhashtable_last_table(struct rhashtable *ht, in rhashtable_last_table() 224 static int rhashtable_rehash_one(struct rhashtable *ht, in rhashtable_rehash_one() 274 static int rhashtable_rehash_chain(struct rhashtable *ht, in rhashtable_rehash_chain() 295 static int rhashtable_rehash_attach(struct rhashtable *ht, in rhashtable_rehash_attach() 312 static int rhashtable_rehash_table(struct rhashtable *ht) in rhashtable_rehash_table() [all …]
|
| D | test_rhashtable.c | 115 static int insert_retry(struct rhashtable *ht, struct test_obj *obj, in insert_retry() 137 static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array, in test_rht_lookup() 175 static void test_bucket_stats(struct rhashtable *ht, unsigned int entries) in test_bucket_stats() 208 static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, in test_rhashtable() 266 static struct rhashtable ht; variable 487 struct rhashtable *ht; in print_ht() local
|
| /kernel/linux/linux-6.6/lib/ |
| D | rhashtable.c | 37 static u32 head_hashfn(struct rhashtable *ht, in head_hashfn() 47 int lockdep_rht_mutex_is_held(struct rhashtable *ht) in lockdep_rht_mutex_is_held() 122 static union nested_table *nested_table_alloc(struct rhashtable *ht, in nested_table_alloc() 147 static struct bucket_table *nested_bucket_table_alloc(struct rhashtable *ht, in nested_bucket_table_alloc() 175 static struct bucket_table *bucket_table_alloc(struct rhashtable *ht, in bucket_table_alloc() 211 static struct bucket_table *rhashtable_last_table(struct rhashtable *ht, in rhashtable_last_table() 224 static int rhashtable_rehash_one(struct rhashtable *ht, in rhashtable_rehash_one() 276 static int rhashtable_rehash_chain(struct rhashtable *ht, in rhashtable_rehash_chain() 298 static int rhashtable_rehash_attach(struct rhashtable *ht, in rhashtable_rehash_attach() 315 static int rhashtable_rehash_table(struct rhashtable *ht) in rhashtable_rehash_table() [all …]
|
| D | test_rhashtable.c | 115 static int insert_retry(struct rhashtable *ht, struct test_obj *obj, in insert_retry() 137 static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array, in test_rht_lookup() 175 static void test_bucket_stats(struct rhashtable *ht, unsigned int entries) in test_bucket_stats() 208 static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, in test_rhashtable() 266 static struct rhashtable ht; variable 471 struct rhashtable *ht; in print_ht() local
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_hashtab.c | 45 int drm_ht_create(struct drm_open_hash *ht, unsigned int order) in drm_ht_create() 63 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) in drm_ht_verbose_list() 77 static struct hlist_node *drm_ht_find_key(struct drm_open_hash *ht, in drm_ht_find_key() 95 static struct hlist_node *drm_ht_find_key_rcu(struct drm_open_hash *ht, in drm_ht_find_key_rcu() 113 int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item) in drm_ht_insert_item() 144 int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, in drm_ht_just_insert_please() 169 int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, in drm_ht_find_item() 183 int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key) in drm_ht_remove_key() 195 int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item) in drm_ht_remove_item() 202 void drm_ht_remove(struct drm_open_hash *ht) in drm_ht_remove()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ |
| D | drm_hashtab.c | 45 int drm_ht_create(struct drm_open_hash *ht, unsigned int order) in drm_ht_create() 62 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) in drm_ht_verbose_list() 76 static struct hlist_node *drm_ht_find_key(struct drm_open_hash *ht, in drm_ht_find_key() 94 static struct hlist_node *drm_ht_find_key_rcu(struct drm_open_hash *ht, in drm_ht_find_key_rcu() 112 int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item) in drm_ht_insert_item() 142 int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, in drm_ht_just_insert_please() 166 int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, in drm_ht_find_item() 179 int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key) in drm_ht_remove_key() 191 int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item) in drm_ht_remove_item() 197 void drm_ht_remove(struct drm_open_hash *ht) in drm_ht_remove()
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | rhashtable.h | 113 static inline void *rht_obj(const struct rhashtable *ht, in rht_obj() 125 static inline unsigned int rht_key_get_hash(struct rhashtable *ht, in rht_key_get_hash() 156 struct rhashtable *ht, const struct bucket_table *tbl, in rht_key_hashfn() 165 struct rhashtable *ht, const struct bucket_table *tbl, in rht_head_hashfn() 182 static inline bool rht_grow_above_75(const struct rhashtable *ht, in rht_grow_above_75() 195 static inline bool rht_shrink_below_30(const struct rhashtable *ht, in rht_shrink_below_30() 208 static inline bool rht_grow_above_100(const struct rhashtable *ht, in rht_grow_above_100() 220 static inline bool rht_grow_above_max(const struct rhashtable *ht, in rht_grow_above_max() 230 static inline int lockdep_rht_mutex_is_held(struct rhashtable *ht) in lockdep_rht_mutex_is_held() 271 #define rht_dereference(p, ht) \ argument [all …]
|
| D | rhashtable-types.h | 34 struct rhashtable *ht; member 98 struct rhashtable ht; member 121 struct rhashtable *ht; member
|
| D | hashtable.h | 34 static inline void __hash_init(struct hlist_head *ht, unsigned int sz) in __hash_init() 81 static inline bool __hash_empty(struct hlist_head *ht, unsigned int sz) in __hash_empty()
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | rhashtable.h | 113 static inline void *rht_obj(const struct rhashtable *ht, in rht_obj() 125 static inline unsigned int rht_key_get_hash(struct rhashtable *ht, in rht_key_get_hash() 156 struct rhashtable *ht, const struct bucket_table *tbl, in rht_key_hashfn() 165 struct rhashtable *ht, const struct bucket_table *tbl, in rht_head_hashfn() 182 static inline bool rht_grow_above_75(const struct rhashtable *ht, in rht_grow_above_75() 195 static inline bool rht_shrink_below_30(const struct rhashtable *ht, in rht_shrink_below_30() 208 static inline bool rht_grow_above_100(const struct rhashtable *ht, in rht_grow_above_100() 220 static inline bool rht_grow_above_max(const struct rhashtable *ht, in rht_grow_above_max() 230 static inline int lockdep_rht_mutex_is_held(struct rhashtable *ht) in lockdep_rht_mutex_is_held() 271 #define rht_dereference(p, ht) \ argument [all …]
|
| D | rhashtable-types.h | 34 struct rhashtable *ht; member 98 struct rhashtable ht; member 121 struct rhashtable *ht; member
|
| D | hashtable.h | 34 static inline void __hash_init(struct hlist_head *ht, unsigned int sz) in __hash_init() 81 static inline bool __hash_empty(struct hlist_head *ht, unsigned int sz) in __hash_empty()
|
| /kernel/linux/linux-6.6/kernel/ |
| D | smpboot.c | 87 struct smp_hotplug_thread *ht; member 109 struct smp_hotplug_thread *ht = td->ht; in smpboot_thread_fn() local 170 __smpboot_create_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in __smpboot_create_thread() 228 static void smpboot_unpark_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in smpboot_unpark_thread() 247 static void smpboot_park_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in smpboot_park_thread() 266 static void smpboot_destroy_threads(struct smp_hotplug_thread *ht) in smpboot_destroy_threads()
|
| /kernel/linux/linux-6.6/net/sched/ |
| D | cls_u32.c | 83 struct tc_u_knode __rcu *ht[]; member 123 struct tc_u_hnode *ht = rcu_dereference_bh(tp->root); in u32_classify() local 268 struct tc_u_hnode *ht; in u32_lookup_ht() local 279 static struct tc_u_knode *u32_lookup_key(struct tc_u_hnode *ht, u32 handle) in u32_lookup_key() 300 struct tc_u_hnode *ht; in u32_get() local 405 struct tc_u_hnode *ht = rtnl_dereference(n->ht_down); in __u32_destroy_key() local 467 struct tc_u_hnode *ht = rtnl_dereference(key->ht_up); in u32_delete_key() local 550 struct tc_u_hnode *ht = rtnl_dereference(n->ht_down); in u32_replace_hw_knode() local 586 static void u32_clear_hnode(struct tcf_proto *tp, struct tc_u_hnode *ht, in u32_clear_hnode() 609 static int u32_destroy_hnode(struct tcf_proto *tp, struct tc_u_hnode *ht, in u32_destroy_hnode() [all …]
|
| /kernel/linux/linux-5.10/net/sched/ |
| D | cls_u32.c | 82 struct tc_u_knode __rcu *ht[]; member 111 struct tc_u_hnode *ht = rcu_dereference_bh(tp->root); in u32_classify() local 256 struct tc_u_hnode *ht; in u32_lookup_ht() local 267 static struct tc_u_knode *u32_lookup_key(struct tc_u_hnode *ht, u32 handle) in u32_lookup_key() 288 struct tc_u_hnode *ht; in u32_get() local 391 struct tc_u_hnode *ht = rtnl_dereference(n->ht_down); in __u32_destroy_key() local 453 struct tc_u_hnode *ht = rtnl_dereference(key->ht_up); in u32_delete_key() local 536 struct tc_u_hnode *ht = rtnl_dereference(n->ht_down); in u32_replace_hw_knode() local 572 static void u32_clear_hnode(struct tcf_proto *tp, struct tc_u_hnode *ht, in u32_clear_hnode() 595 static int u32_destroy_hnode(struct tcf_proto *tp, struct tc_u_hnode *ht, in u32_destroy_hnode() [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | smpboot.c | 87 struct smp_hotplug_thread *ht; member 109 struct smp_hotplug_thread *ht = td->ht; in smpboot_thread_fn() local 170 __smpboot_create_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in __smpboot_create_thread() 228 static void smpboot_unpark_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in smpboot_unpark_thread() 247 static void smpboot_park_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in smpboot_park_thread() 266 static void smpboot_destroy_threads(struct smp_hotplug_thread *ht) in smpboot_destroy_threads()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| D | act_stats.c | 11 struct rhashtable ht; member 66 struct rhashtable *ht = &handle->ht; in mlx5e_tc_act_stats_add() local 115 struct rhashtable *ht = &handle->ht; in mlx5e_tc_act_stats_del_flow() local 170 struct rhashtable *ht = &handle->ht; in mlx5e_tc_act_stats_fill_stats() local
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
| D | ttm_object.c | 248 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_noref_lookup() local 268 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_lookup() local 312 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_ref_object_exists() local 349 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_add() local 426 struct drm_open_hash *ht; in ttm_ref_object_release() local 446 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_base_unref() local
|
| D | vmwgfx_validation.h | 76 struct drm_open_hash *ht; member 154 struct drm_open_hash *ht) in vmw_validation_set_ht()
|
| /kernel/linux/linux-5.10/net/netfilter/ |
| D | xt_hashlimit.c | 184 hash_dst(const struct xt_hashlimit_htable *ht, const struct dsthash_dst *dst) in hash_dst() 199 dsthash_find(const struct xt_hashlimit_htable *ht, in dsthash_find() 217 dsthash_alloc_init(struct xt_hashlimit_htable *ht, in dsthash_alloc_init() 267 dsthash_free(struct xt_hashlimit_htable *ht, struct dsthash_ent *ent) in dsthash_free() 361 static void htable_selective_cleanup(struct xt_hashlimit_htable *ht, bool select_all) in htable_selective_cleanup() 381 struct xt_hashlimit_htable *ht; in htable_gc() local 1128 struct xt_hashlimit_htable *ht = PDE_DATA(file_inode(s->file)); in dl_seq_real_show_v2() local 1143 struct xt_hashlimit_htable *ht = PDE_DATA(file_inode(s->file)); in dl_seq_real_show_v1() local 1158 struct xt_hashlimit_htable *ht = PDE_DATA(file_inode(s->file)); in dl_seq_real_show() local
|
| /kernel/linux/linux-6.6/net/netfilter/ |
| D | xt_hashlimit.c | 184 hash_dst(const struct xt_hashlimit_htable *ht, const struct dsthash_dst *dst) in hash_dst() 199 dsthash_find(const struct xt_hashlimit_htable *ht, in dsthash_find() 217 dsthash_alloc_init(struct xt_hashlimit_htable *ht, in dsthash_alloc_init() 267 dsthash_free(struct xt_hashlimit_htable *ht, struct dsthash_ent *ent) in dsthash_free() 361 static void htable_selective_cleanup(struct xt_hashlimit_htable *ht, bool select_all) in htable_selective_cleanup() 381 struct xt_hashlimit_htable *ht; in htable_gc() local 1128 struct xt_hashlimit_htable *ht = pde_data(file_inode(s->file)); in dl_seq_real_show_v2() local 1143 struct xt_hashlimit_htable *ht = pde_data(file_inode(s->file)); in dl_seq_real_show_v1() local 1158 struct xt_hashlimit_htable *ht = pde_data(file_inode(s->file)); in dl_seq_real_show() local
|
| /kernel/linux/linux-5.10/tools/include/linux/ |
| D | hashtable.h | 31 static inline void __hash_init(struct hlist_head *ht, unsigned int sz) in __hash_init() 69 static inline bool __hash_empty(struct hlist_head *ht, unsigned int sz) in __hash_empty()
|
| /kernel/linux/linux-6.6/tools/include/linux/ |
| D | hashtable.h | 31 static inline void __hash_init(struct hlist_head *ht, unsigned int sz) in __hash_init() 69 static inline bool __hash_empty(struct hlist_head *ht, unsigned int sz) in __hash_empty()
|
| /kernel/linux/linux-6.6/drivers/md/ |
| D | dm-cache-policy-smq.c | 585 static int h_init(struct smq_hash_table *ht, struct entry_space *es, unsigned int nr_entries) in h_init() 603 static void h_exit(struct smq_hash_table *ht) in h_exit() 608 static struct entry *h_head(struct smq_hash_table *ht, unsigned int bucket) in h_head() 613 static struct entry *h_next(struct smq_hash_table *ht, struct entry *e) in h_next() 618 static void __h_insert(struct smq_hash_table *ht, unsigned int bucket, struct entry *e) in __h_insert() 624 static void h_insert(struct smq_hash_table *ht, struct entry *e) in h_insert() 631 static struct entry *__h_lookup(struct smq_hash_table *ht, unsigned int h, dm_oblock_t oblock, in __h_lookup() 647 static void __h_unlink(struct smq_hash_table *ht, unsigned int h, in __h_unlink() 659 static struct entry *h_lookup(struct smq_hash_table *ht, dm_oblock_t oblock) in h_lookup() 677 static void h_remove(struct smq_hash_table *ht, struct entry *e) in h_remove()
|
| /kernel/linux/linux-5.10/drivers/md/ |
| D | dm-cache-policy-smq.c | 583 static int h_init(struct smq_hash_table *ht, struct entry_space *es, unsigned nr_entries) in h_init() 601 static void h_exit(struct smq_hash_table *ht) in h_exit() 606 static struct entry *h_head(struct smq_hash_table *ht, unsigned bucket) in h_head() 611 static struct entry *h_next(struct smq_hash_table *ht, struct entry *e) in h_next() 616 static void __h_insert(struct smq_hash_table *ht, unsigned bucket, struct entry *e) in __h_insert() 622 static void h_insert(struct smq_hash_table *ht, struct entry *e) in h_insert() 628 static struct entry *__h_lookup(struct smq_hash_table *ht, unsigned h, dm_oblock_t oblock, in __h_lookup() 644 static void __h_unlink(struct smq_hash_table *ht, unsigned h, in __h_unlink() 656 static struct entry *h_lookup(struct smq_hash_table *ht, dm_oblock_t oblock) in h_lookup() 674 static void h_remove(struct smq_hash_table *ht, struct entry *e) in h_remove()
|