Home
last modified time | relevance | path

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

1234

/Linux-v5.4/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()
113 static union nested_table *nested_table_alloc(struct rhashtable *ht, in nested_table_alloc()
138 static struct bucket_table *nested_bucket_table_alloc(struct rhashtable *ht, in nested_bucket_table_alloc()
166 static struct bucket_table *bucket_table_alloc(struct rhashtable *ht, in bucket_table_alloc()
202 static struct bucket_table *rhashtable_last_table(struct rhashtable *ht, in rhashtable_last_table()
215 static int rhashtable_rehash_one(struct rhashtable *ht, in rhashtable_rehash_one()
265 static int rhashtable_rehash_chain(struct rhashtable *ht, in rhashtable_rehash_chain()
286 static int rhashtable_rehash_attach(struct rhashtable *ht, in rhashtable_rehash_attach()
303 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
/Linux-v5.4/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()
/Linux-v5.4/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()
272 #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()
/Linux-v5.4/net/sched/
Dcls_u32.c82 struct tc_u_knode __rcu *ht[1]; 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
449 struct tc_u_hnode *ht = rtnl_dereference(key->ht_up); in u32_delete_key() local
532 struct tc_u_hnode *ht = rtnl_dereference(n->ht_down); in u32_replace_hw_knode() local
568 static void u32_clear_hnode(struct tcf_proto *tp, struct tc_u_hnode *ht, in u32_clear_hnode()
591 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
/Linux-v5.4/kernel/
Dsmpboot.c88 struct smp_hotplug_thread *ht; member
110 struct smp_hotplug_thread *ht = td->ht; in smpboot_thread_fn() local
171 __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()
/Linux-v5.4/net/netfilter/
Dxt_hashlimit.c183 hash_dst(const struct xt_hashlimit_htable *ht, const struct dsthash_dst *dst) in hash_dst()
198 dsthash_find(const struct xt_hashlimit_htable *ht, in dsthash_find()
216 dsthash_alloc_init(struct xt_hashlimit_htable *ht, in dsthash_alloc_init()
266 dsthash_free(struct xt_hashlimit_htable *ht, struct dsthash_ent *ent) in dsthash_free()
360 static bool select_all(const struct xt_hashlimit_htable *ht, in select_all()
366 static bool select_gc(const struct xt_hashlimit_htable *ht, in select_gc()
372 static void htable_selective_cleanup(struct xt_hashlimit_htable *ht, in htable_selective_cleanup()
373 bool (*select)(const struct xt_hashlimit_htable *ht, in htable_selective_cleanup()
394 struct xt_hashlimit_htable *ht; in htable_gc() local
1136 struct xt_hashlimit_htable *ht = PDE_DATA(file_inode(s->file)); in dl_seq_real_show_v2() local
[all …]
/Linux-v5.4/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()
/Linux-v5.4/net/hsr/
Dhsr_main.h65 static inline u16 get_hsr_tag_path(struct hsr_tag *ht) in get_hsr_tag_path()
70 static inline u16 get_hsr_tag_LSDU_size(struct hsr_tag *ht) in get_hsr_tag_LSDU_size()
75 static inline void set_hsr_tag_path(struct hsr_tag *ht, u16 path) in set_hsr_tag_path()
81 static inline void set_hsr_tag_LSDU_size(struct hsr_tag *ht, u16 LSDU_size) in set_hsr_tag_LSDU_size()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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
/Linux-v5.4/drivers/gpu/drm/i2c/
Dch7006_mode.c105 #define __MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument
135 #define MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument
/Linux-v5.4/include/net/
Draw.h37 struct hlist_head ht[RAW_HTABLE_SIZE]; member
Dsmc.h18 struct hlist_head ht; member
/Linux-v5.4/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
/Linux-v5.4/arch/mips/kernel/
Dkgdb.c225 struct hard_trap_info *ht; in compute_signal() local
/Linux-v5.4/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
/Linux-v5.4/arch/powerpc/kernel/
Dkgdb.c96 struct hard_trap_info *ht; in computeSignal() local
/Linux-v5.4/drivers/net/wireless/mediatek/mt7601u/
Deeprom.h85 struct power_per_rate ht[4]; member
/Linux-v5.4/net/mac80211/
Drc80211_minstrel_ht.h112 struct minstrel_ht_sta ht; member

1234