Home
last modified time | relevance | path

Searched refs:qht (Results 1 – 13 of 13) sorted by relevance

/openbmc/qemu/include/qemu/
H A Dqht.h16 struct qht { struct
59 void qht_init(struct qht *ht, qht_cmp_func_t cmp, size_t n_elems,
68 void qht_destroy(struct qht *ht);
88 bool qht_insert(struct qht *ht, void *p, uint32_t hash, void **existing);
118 void *qht_lookup(const struct qht *ht, const void *userp, uint32_t hash);
136 bool qht_remove(struct qht *ht, const void *p, uint32_t hash);
148 void qht_reset(struct qht *ht);
162 bool qht_reset_size(struct qht *ht, size_t n_elems);
173 bool qht_resize(struct qht *ht, size_t n_elems);
187 void qht_iter(struct qht *ht, qht_iter_func_t func, void *userp);
[all …]
/openbmc/qemu/util/
H A Dqht.c110 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()
199 static void qht_grow_maybe(struct qht *ht);
480 void qht_destroy(struct qht *ht) in qht_destroy()
517 void qht_reset(struct qht *ht) in qht_reset()
536 bool qht_reset_size(struct qht *ht, size_t n_elems) in qht_reset_size()
807 bool qht_remove(struct qht *ht, const void *p, uint32_t hash) in qht_remove()
902 struct qht *ht;
909 struct qht *ht = data->ht; in qht_map_copy()
[all …]
H A Dqsp.c94 struct qht ht;
114 static struct qht qsp_callsite_ht;
116 static struct qht qsp_ht;
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()
547 struct qht *ht = htp; in qsp_iter_diff()
570 static void qsp_diff(struct qht *orig, struct qht *new) in qsp_diff()
577 struct qht *ht = htp; in qsp_iter_callsite_coalesce()
601 struct qht ht, coalesce_ht; in qsp_mktree()
[all …]
H A Dmeson.build55 util_ss.add(files('qht.c'))
/openbmc/qemu/tests/bench/
H A Dmeson.build2 qht_bench = executable('qht-bench',
3 sources: 'qht-bench.c',
H A Dqht-bench.c40 static struct qht ht;
/openbmc/qemu/accel/tcg/
H A Dtb-context.h33 struct qht htable;
/openbmc/qemu/hw/9pfs/
H A D9p.h360 struct qht qpd_table;
361 struct qht qpp_table;
362 struct qht qpf_table;
H A D9p.c770 static void qp_table_destroy(struct qht *ht) in qp_table_destroy()
779 static void qpd_table_init(struct qht *ht) in qpd_table_init()
784 static void qpp_table_init(struct qht *ht) in qpp_table_init()
789 static void qpf_table_init(struct qht *ht) in qpf_table_init()
/openbmc/qemu/plugins/
H A Dplugin.h48 struct qht dyn_cb_arr_ht;
/openbmc/qemu/tests/unit/
H A Dtest-qht.c13 static struct qht ht;
H A Dmeson.build38 'test-qht': [],
/openbmc/qemu/tests/
H A Dmeson.build68 'test-qht-par': qht_bench,