Home
last modified time | relevance | path

Searched refs:tdb_hash (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/qobject/
H A Dqdict.c40 static unsigned int tdb_hash(const char *name) in tdb_hash() function
120 bucket = tdb_hash(key) % QDICT_BUCKET_MAX; in qdict_put_obj()
164 entry = qdict_find(qdict, key, tdb_hash(key) % QDICT_BUCKET_MAX); in qdict_get()
175 unsigned int bucket = tdb_hash(key) % QDICT_BUCKET_MAX; in qdict_haskey()
334 unsigned int bucket = tdb_hash(entry->key) % QDICT_BUCKET_MAX; in qdict_next()
385 entry = qdict_find(qdict, key, tdb_hash(key) % QDICT_BUCKET_MAX); in qdict_del()
/openbmc/linux/scripts/mod/
H A Dmodpost.c232 static inline unsigned int tdb_hash(const char *name) in tdb_hash() function
263 hash = tdb_hash(sym->name) % SYMBOL_HASH_SIZE; in hash_add_symbol()
286 for (s = symbolhash[tdb_hash(name) % SYMBOL_HASH_SIZE]; s; s = s->next) { in sym_find_with_module()