Searched refs:qht (Results 1 – 13 of 13) sorted by relevance
/openbmc/qemu/include/qemu/ |
H A D | qht.h | 16 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 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() 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 D | qsp.c | 94 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 D | meson.build | 55 util_ss.add(files('qht.c'))
|
/openbmc/qemu/tests/bench/ |
H A D | meson.build | 2 qht_bench = executable('qht-bench', 3 sources: 'qht-bench.c',
|
H A D | qht-bench.c | 40 static struct qht ht;
|
/openbmc/qemu/accel/tcg/ |
H A D | tb-context.h | 33 struct qht htable;
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p.h | 360 struct qht qpd_table; 361 struct qht qpp_table; 362 struct qht qpf_table;
|
H A D | 9p.c | 770 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 D | plugin.h | 48 struct qht dyn_cb_arr_ht;
|
/openbmc/qemu/tests/unit/ |
H A D | test-qht.c | 13 static struct qht ht;
|
H A D | meson.build | 38 'test-qht': [],
|
/openbmc/qemu/tests/ |
H A D | meson.build | 68 'test-qht-par': qht_bench,
|