Home
last modified time | relevance | path

Searched refs:htab (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/lib/
H A Dhashtable.c68 static void _hdelete(const char *key, struct hsearch_data *htab, ENTRY *ep,
102 int hcreate_r(size_t nel, struct hsearch_data *htab) in hcreate_r() argument
105 if (htab == NULL) { in hcreate_r()
111 if (htab->table != NULL) in hcreate_r()
119 htab->size = nel; in hcreate_r()
120 htab->filled = 0; in hcreate_r()
123 htab->table = (_ENTRY *) calloc(htab->size + 1, sizeof(_ENTRY)); in hcreate_r()
124 if (htab->table == NULL) in hcreate_r()
141 void hdestroy_r(struct hsearch_data *htab) in hdestroy_r() argument
146 if (htab == NULL) { in hdestroy_r()
[all …]
/openbmc/u-boot/test/env/
H A Dhashtable.c18 struct hsearch_data *htab, size_t size) in htab_fill() argument
31 ut_asserteq(1, hsearch_r(item, ENTER, &ritem, htab, 0)); in htab_fill()
38 struct hsearch_data *htab, size_t size) in htab_check_fill() argument
51 hsearch_r(item, FIND, &ritem, htab, 0); in htab_check_fill()
61 struct hsearch_data *htab, size_t iterations) in htab_create_delete() argument
74 hsearch_r(item, ENTER, &ritem, htab, 0); in htab_create_delete()
77 hsearch_r(item, FIND, &ritem, htab, 0); in htab_create_delete()
82 ut_asserteq(1, hdelete_r(key, htab, 0)); in htab_create_delete()
91 struct hsearch_data htab; in env_test_htab_fill() local
93 memset(&htab, 0, sizeof(htab)); in env_test_htab_fill()
[all …]
/openbmc/qemu/hw/ppc/
H A Dspapr_vhyp_mmu.c410 static uint64_t new_hpte_load0(void *htab, uint64_t pteg, int slot) in new_hpte_load0() argument
412 uint8_t *addr = htab; in new_hpte_load0()
419 static void new_hpte_store(void *htab, uint64_t pteg, int slot, in new_hpte_store() argument
422 uint8_t *addr = htab; in new_hpte_store()
579 rc = rehash_hpt(cpu, spapr->htab, HTAB_SIZE(spapr), in vhyp_mmu_resize_hpt_commit()
582 qemu_vfree(spapr->htab); in vhyp_mmu_resize_hpt_commit()
583 spapr->htab = pending->hpt; in vhyp_mmu_resize_hpt_commit()
/openbmc/openbmc/poky/meta/recipes-support/db/db/
H A D0001-Fix-libc-compatibility-by-renaming-atomic_init-API.patch93 MTX_MPOOL_FILE_BUCKET, 0, &htab[i].mtx_hash)) != 0)
95 SH_TAILQ_INIT(&htab[i].hash_bucket);
96 - atomic_init(&htab[i].hash_page_dirty, 0);
97 + __db_atomic_init(&htab[i].hash_page_dirty, 0);
/openbmc/openbmc/poky/meta/recipes-devtools/binutils/binutils/
H A D0015-CVE-2025-1178.patch32 && htab->params->report_relative_reloc)
H A D0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch20 @@ -1134,6 +1134,9 @@ ldelf_handle_dt_needed (struct elf_link_hash_table *htab,