Home
last modified time | relevance | path

Searched defs:ht (Results 1 – 25 of 81) sorted by relevance

1234

/kernel/linux/linux-5.10/lib/
Drhashtable.c37 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 …]
Dtest_rhashtable.c115 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-5.10/drivers/gpu/drm/
Ddrm_hashtab.c45 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-5.10/include/linux/
Drhashtable.h113 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 …]
Drhashtable-types.h34 struct rhashtable *ht; member
98 struct rhashtable ht; member
121 struct rhashtable *ht; member
Dhashtable.h34 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/net/sched/
Dcls_u32.c82 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 …]
Dcls_rsvp.h69 struct rsvp_session __rcu *ht[256]; member
80 struct rsvp_filter __rcu *ht[16 + 1]; member
/kernel/linux/linux-5.10/kernel/
Dsmpboot.c87 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-5.10/drivers/gpu/drm/vmwgfx/
Dttm_object.c248 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
Dvmwgfx_validation.h76 struct drm_open_hash *ht; member
154 struct drm_open_hash *ht) in vmw_validation_set_ht()
/kernel/linux/linux-5.10/net/netfilter/
Dxt_hashlimit.c184 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/
Dhashtable.h31 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-5.10/drivers/md/
Ddm-cache-policy-smq.c583 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib_vlan.c88 struct mlx5i_pkey_qpn_ht *ht = ipriv->qpn_htbl; in mlx5i_pkey_add_qpn() local
109 struct mlx5i_pkey_qpn_ht *ht = ipriv->qpn_htbl; in mlx5i_pkey_del_qpn() local
/kernel/linux/linux-5.10/drivers/gpu/drm/i2c/
Dch7006_mode.c105 #define __MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument
134 #define MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument
/kernel/linux/linux-5.10/include/net/
Draw.h37 struct hlist_head ht[RAW_HTABLE_SIZE]; member
Dsmc.h18 struct hlist_head ht; member
/kernel/linux/linux-5.10/drivers/clk/pxa/
Dclk-pxa27x.c227 unsigned int t, ht; in clk_pxa27x_cpll_get_rate() local
324 unsigned int t, ht, osc_forced; in clk_pxa27x_core_get_parent() local
/kernel/linux/linux-5.10/arch/mips/kernel/
Dkgdb.c225 struct hard_trap_info *ht; in compute_signal() local
/kernel/linux/linux-5.10/net/hsr/
Dhsr_main.h74 static inline void set_hsr_tag_path(struct hsr_tag *ht, u16 path) in set_hsr_tag_path()
80 static inline void set_hsr_tag_LSDU_size(struct hsr_tag *ht, u16 LSDU_size) in set_hsr_tag_LSDU_size()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
D4965-debug.c56 struct stats_rx_ht_phy *ht, *accum_ht, *delta_ht, *max_ht; in il4965_ucode_rx_stats_read() local
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dkgdb.c97 struct hard_trap_info *ht; in computeSignal() local
/kernel/linux/linux-5.10/net/mac80211/
Drc80211_minstrel_ht.h112 struct minstrel_ht_sta ht; member
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
Deeprom.h85 struct power_per_rate ht[4]; member

1234