Home
last modified time | relevance | path

Searched refs:ht (Results 1 – 24 of 24) sorted by relevance

/openbmc/qemu/util/
H A Dqht.c110 static inline void qht_lock(struct qht *ht) in qht_lock() argument
112 if (ht->mode & QHT_MODE_RAW_MUTEXES) { in qht_lock()
113 qemu_mutex_lock__raw(&ht->lock); in qht_lock()
115 qemu_mutex_lock(&ht->lock); in qht_lock()
119 static inline int qht_trylock(struct qht *ht) in qht_trylock() argument
121 if (ht->mode & QHT_MODE_RAW_MUTEXES) { in qht_trylock()
122 return qemu_mutex_trylock__raw(&(ht)->lock); in qht_trylock()
124 return qemu_mutex_trylock(&(ht)->lock); in qht_trylock()
128 static inline void qht_unlock(struct qht *ht) in qht_unlock() argument
130 qemu_mutex_unlock(&ht->lock); in qht_unlock()
[all …]
H A Dqsp.c94 struct qht ht; member
289 qsp_entry_create(struct qht *ht, const QSPEntry *entry, uint32_t hash) in qsp_entry_create() argument
298 qht_insert(ht, e, hash, &existing); in qsp_entry_create()
307 qsp_entry_find(struct qht *ht, const QSPEntry *entry, uint32_t hash) in qsp_entry_find() argument
311 e = qht_lookup(ht, entry, hash); in qsp_entry_find()
313 e = qsp_entry_create(ht, entry, hash); in qsp_entry_find()
530 struct qht *ht = up; in qsp_aggregate() local
536 agg = qsp_entry_find(ht, e, hash); in qsp_aggregate()
547 struct qht *ht = htp; in qsp_iter_diff() local
551 new = qht_lookup(ht, old, hash); in qsp_iter_diff()
[all …]
/openbmc/qemu/include/qemu/
H A Dqht.h59 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);
107 void *qht_lookup_custom(const struct qht *ht, const void *userp, uint32_t hash,
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/tests/unit/
H A Dtest-qht.c13 static struct qht ht; variable
36 inserted = qht_insert(&ht, &arr[i], hash, NULL); in insert()
38 inserted = qht_insert(&ht, &arr[i], hash, &existing); in insert()
53 g_assert_true(qht_remove(&ht, &arr[i], hash)); in do_rm()
55 g_assert_false(qht_remove(&ht, &arr[i], hash)); in do_rm()
85 p = qht_lookup(&ht, &val, hash); in check()
87 p = qht_lookup_custom(&ht, &val, hash, is_equal); in check()
93 qht_statistics_init(&ht, &stats); in check()
112 qht_statistics_init(&ht, &stats); in check_n()
121 qht_iter(&ht, count_func, &curr); in iter_check()
[all …]
/openbmc/u-boot/arch/powerpc/lib/
H A Dkgdb.c70 struct hard_trap_info *ht; in computeSignal() local
72 for (ht = hard_trap_info; ht->tt && ht->signo; ht++) in computeSignal()
73 if (ht->tt == tt) in computeSignal()
74 return ht->signo; in computeSignal()
/openbmc/openbmc-tools/altitude/
H A Daltitude78 ht = Ht(K(args.temperature))
79 local.append("Height at {:.2f}C: {:.2f}m".format(args.temperature, ht))
80 p = P(ht)
81 local.append("Pressure at {:.2f}m: {:.2f}Pa".format(ht, p))
/openbmc/qemu/tests/bench/
H A Dqht-bench.c40 static struct qht ht; variable
147 resized = qht_resize(&ht, size); in do_rz()
171 read = qht_lookup(&ht, p, hash); in do_rw()
183 if (qht_lookup(&ht, p, hash) == NULL) { in do_rw()
184 written = qht_insert(&ht, p, hash, NULL); in do_rw()
194 if (qht_lookup(&ht, p, hash)) { in do_rw()
195 removed = qht_remove(&ht, p, hash); in do_rw()
346 qht_init(&ht, is_equal, qht_n_elems, qht_mode); in htable_init()
360 if (qht_insert(&ht, p, hash, NULL)) { in htable_init()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/basu/
H A Dbasu_0.2.1.bb2 HOMEPAGE = "https://sr.ht/~emersion/basu"
7 SRC_URI = "git://git.sr.ht/~emersion/basu;protocol=https;branch=master"
/openbmc/openbmc/poky/meta/recipes-extended/scdoc/
H A Dscdoc_1.11.3.bb2 HOMEPAGE = "https://git.sr.ht/~sircmpwn/scdoc"
9 SRC_URI = "git://git.sr.ht/~sircmpwn/scdoc;protocol=https;branch=master \
/openbmc/openbmc/poky/meta/recipes-core/seatd/
H A Dseatd_0.9.1.bb3 HOMEPAGE = "https://git.sr.ht/~kennylevinsen/seatd"
9 SRC_URI = "git://git.sr.ht/~kennylevinsen/seatd;protocol=https;branch=master \
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-changelog-chug_0.0.3.bb2 HOMEPAGE = "https://git.sr.ht/~bignose/changelog-chug"
/openbmc/qemu/target/i386/
H A Dsev.c83 SevHashTable ht; member
2321 SevHashTable *ht; in build_kernel_loader_hashes() local
2363 ht = &padded_ht->ht; in build_kernel_loader_hashes()
2365 ht->guid = sev_hash_table_header_guid; in build_kernel_loader_hashes()
2366 ht->len = sizeof(*ht); in build_kernel_loader_hashes()
2368 ht->cmdline.guid = sev_cmdline_entry_guid; in build_kernel_loader_hashes()
2369 ht->cmdline.len = sizeof(ht->cmdline); in build_kernel_loader_hashes()
2370 memcpy(ht->cmdline.hash, cmdline_hash, sizeof(ht->cmdline.hash)); in build_kernel_loader_hashes()
2372 ht->initrd.guid = sev_initrd_entry_guid; in build_kernel_loader_hashes()
2373 ht->initrd.len = sizeof(ht->initrd); in build_kernel_loader_hashes()
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/scdoc/scdoc/
H A D0001-Makefile-drop-static.patch6 Upstream-Status: Backport [https://git.sr.ht/~sircmpwn/scdoc/commit/3667cced504bc40b176d4570d99a83f…
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ssmtp/ssmtp/
H A D0001-ssmtp-Correct-the-null-pointer-assignment-to-char-po.patch50 headers_t headers, *ht;
/openbmc/u-boot/arch/x86/dts/
H A Dcougarcanyon2.dts86 fsp,enable-ht;
/openbmc/qemu/hw/9pfs/
H A D9p.c796 static void qp_table_destroy(struct qht *ht) in qp_table_destroy() argument
798 if (!ht || !ht->map) { in qp_table_destroy()
801 qht_iter(ht, qp_table_remove, NULL); in qp_table_destroy()
802 qht_destroy(ht); in qp_table_destroy()
805 static void qpd_table_init(struct qht *ht) in qpd_table_init() argument
807 qht_init(ht, qpd_cmp_func, 1, QHT_MODE_AUTO_RESIZE); in qpd_table_init()
810 static void qpp_table_init(struct qht *ht) in qpp_table_init() argument
812 qht_init(ht, qpp_cmp_func, 1, QHT_MODE_AUTO_RESIZE); in qpp_table_init()
815 static void qpf_table_init(struct qht *ht) in qpf_table_init() argument
817 qht_init(ht, qpf_cmp_func, 1 << 16, QHT_MODE_AUTO_RESIZE); in qpf_table_init()
/openbmc/qemu/docs/devel/
H A Dsubmitting-a-patch.rst306 keys <https://meta.sr.ht/keys>`__.
307 #. Publish your git branch using **git push git@git.sr.ht:~USERNAME/qemu
310 ``git-send-email`` UI at https://git.sr.ht/~USERNAME/qemu/send-email
313 <https://man.sr.ht/git.sr.ht/#sending-patches-upstream>`__.
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Djquery-2.0.3.min.js4ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t… function
5ht),l=0;s>l;l++)a=o[l],at.test(a.type||"")&&!q.access(a,"globalEval")&&x.contains(u,a)&&(a.src?x._…
H A Djquery.dataTables-1.13.8.min.js4ht(t){return N(t.aoData,"_aData")}function pt(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.ai… function
H A Djquery-3.7.1.min.js2ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={heigh… function
/openbmc/bmcweb/
H A DDEVELOPING.md170 > [Greg K-H](https://git.sr.ht/~gregkh/presentation-application_summit/tree/main/keep_users_happy.p…
/openbmc/qemu/pc-bios/
H A Dqemu.rsrc251 $"2836 434E 5356 5655 5352 5151 545D 6874" /* (6CNSVVUSRQQT]ht */
/openbmc/libcper/specification/document/
H A Dcper-json-specification.tex18 \begin{table}[!ht]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/krb5/krb5/
H A D0001-Eliminate-old-style-function-declarations.patch10677 struct k5_hashtab *ht;