/openbmc/linux/lib/ |
H A 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 …]
|
H A 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
|
/openbmc/linux/drivers/gpu/drm/ |
H A 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()
|
/openbmc/qemu/util/ |
H A D | qht.c | 110 static inline void qht_lock(struct qht *ht) in qht_lock() 119 static inline int qht_trylock(struct qht *ht) in qht_trylock() 128 static inline void qht_unlock(struct qht *ht) in qht_unlock() 338 static inline bool qht_map_is_stale__locked(const struct qht *ht, in qht_map_is_stale__locked() 352 void qht_map_lock_buckets__no_stale(struct qht *ht, struct qht_map **pmap) in qht_map_lock_buckets__no_stale() 382 struct qht_bucket *qht_bucket_lock__no_stale(struct qht *ht, uint32_t hash, in qht_bucket_lock__no_stale() 465 void qht_init(struct qht *ht, qht_cmp_func_t cmp, size_t n_elems, in qht_init() 480 void qht_destroy(struct qht *ht) in qht_destroy() 517 void qht_reset(struct qht *ht) in qht_reset() 526 static inline void qht_do_resize(struct qht *ht, struct qht_map *new) in qht_do_resize() [all …]
|
H A D | qsp.c | 94 struct qht ht; member 289 qsp_entry_create(struct qht *ht, const QSPEntry *entry, uint32_t hash) in qsp_entry_create() 307 qsp_entry_find(struct qht *ht, const QSPEntry *entry, uint32_t hash) in qsp_entry_find() 530 struct qht *ht = up; in qsp_aggregate() local 547 struct qht *ht = htp; in qsp_iter_diff() local 577 struct qht *ht = htp; in qsp_iter_callsite_coalesce() local 601 struct qht ht, coalesce_ht; in qsp_mktree() local
|
/openbmc/linux/include/linux/ |
H A 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 …]
|
H A D | rhashtable-types.h | 34 struct rhashtable *ht; member 98 struct rhashtable ht; member 121 struct rhashtable *ht; member
|
H A 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()
|
/openbmc/linux/kernel/ |
H A 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()
|
/openbmc/linux/net/sched/ |
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A 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
|
/openbmc/linux/net/netfilter/ |
H A 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
|
/openbmc/linux/tools/include/linux/ |
H A 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()
|
/openbmc/linux/drivers/md/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib_vlan.c | 88 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
|
/openbmc/linux/drivers/gpu/drm/i2c/ |
H A D | ch7006_mode.c | 105 #define __MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument 134 #define MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument
|
/openbmc/linux/include/net/ |
H A D | raw.h | 40 struct hlist_head ht[RAW_HTABLE_SIZE] ____cacheline_aligned; member
|
/openbmc/u-boot/arch/powerpc/lib/ |
H A D | kgdb.c | 70 struct hard_trap_info *ht; in computeSignal() local
|
/openbmc/linux/arch/mips/kernel/ |
H A D | kgdb.c | 212 struct hard_trap_info *ht; in compute_signal() local
|
/openbmc/linux/drivers/clk/pxa/ |
H A D | clk-pxa27x.c | 205 unsigned int t, ht; in clk_pxa27x_cpll_get_rate() local 302 unsigned int t, ht, osc_forced; in clk_pxa27x_core_get_parent() local
|
/openbmc/linux/net/hsr/ |
H A D | hsr_main.h | 61 static inline void set_hsr_tag_path(struct hsr_tag *ht, u16 path) in set_hsr_tag_path() 67 static inline void set_hsr_tag_LSDU_size(struct hsr_tag *ht, u16 LSDU_size) in set_hsr_tag_LSDU_size()
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-debug.c | 56 struct stats_rx_ht_phy *ht, *accum_ht, *delta_ht, *max_ht; in il4965_ucode_rx_stats_read() local
|
/openbmc/qemu/tests/unit/ |
H A D | test-qht.c | 13 static struct qht ht; variable
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | kgdb.c | 94 struct hard_trap_info *ht; in computeSignal() local
|
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | eeprom.h | 85 struct power_per_rate ht[4]; member
|