Home
last modified time | relevance | path

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

/tools/include/linux/
Dhashtable.h49 #define hash_init(hashtable) __hash_init(hashtable, HASH_SIZE(hashtable)) argument
57 #define hash_add(hashtable, node, key) \ argument
58 hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
87 #define hash_empty(hashtable) __hash_empty(hashtable, HASH_SIZE(hashtable)) argument
/tools/perf/util/
Dauxtrace.c1961 struct hlist_head *hashtable; member
1989 c->hashtable = ht; in auxtrace_cache__new()
2012 hlist_for_each_entry_safe(entry, tmp, &c->hashtable[i], hash) { in auxtrace_cache__drop()
2027 zfree(&c->hashtable); in auxtrace_cache__free()
2049 hlist_add_head(&entry->hash, &c->hashtable[hash_32(key, c->bits)]); in auxtrace_cache__add()
2064 hlist = &c->hashtable[hash_32(key, c->bits)]; in auxtrace_cache__rm()
2090 hlist = &c->hashtable[hash_32(key, c->bits)]; in auxtrace_cache__lookup()