Home
last modified time | relevance | path

Searched refs:cuckoo_hashtable (Results 1 – 5 of 5) sorted by relevance

/xnu-11417.121.6/bsd/skywalk/lib/
H A Dcuckoo_hashtable.h63 struct cuckoo_hashtable;
79 struct cuckoo_hashtable * cuckoo_hashtable_create(
81 void cuckoo_hashtable_free(struct cuckoo_hashtable *ht);
83 size_t cuckoo_hashtable_entries(struct cuckoo_hashtable *h);
84 size_t cuckoo_hashtable_capacity(struct cuckoo_hashtable *h);
85 uint32_t cuckoo_hashtable_load_factor(struct cuckoo_hashtable *h);
86 size_t cuckoo_hashtable_memory_footprint(struct cuckoo_hashtable *h);
87 void cuckoo_hashtable_try_shrink(struct cuckoo_hashtable *h);
89 int cuckoo_hashtable_add_with_hash(struct cuckoo_hashtable *h, struct cuckoo_node *node,
91 int cuckoo_hashtable_del(struct cuckoo_hashtable *h, struct cuckoo_node *node,
[all …]
H A Dcuckoo_hashtable.c202 struct cuckoo_hashtable { struct
248 __get_bucket(struct cuckoo_hashtable *h, uint32_t b_i) in __get_bucket()
254 __prim_bucket(struct cuckoo_hashtable *h, uint32_t hash) in __prim_bucket()
260 __alt_bucket(struct cuckoo_hashtable *h, uint32_t hash) in __alt_bucket()
267 __bucket_idx(struct cuckoo_hashtable *h, struct _bucket *b) in __bucket_idx()
300 cuckoo_hashtable_load_factor(struct cuckoo_hashtable *h) in cuckoo_hashtable_load_factor()
344 __resize_begin(struct cuckoo_hashtable *h) in __resize_begin()
375 __resize_end(struct cuckoo_hashtable *h) in __resize_end()
387 struct cuckoo_hashtable *
390 struct cuckoo_hashtable *h = NULL; in cuckoo_hashtable_create()
[all …]
H A Dcuckoo_hashtable_test.c55 static struct cuckoo_hashtable *h = NULL;
/xnu-11417.121.6/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_var.h592 struct cuckoo_hashtable *fm_flow_table;
/xnu-11417.121.6/bsd/conf/
H A Dfiles554 bsd/skywalk/lib/cuckoo_hashtable.c optional skywalk bound-checks