Lines Matching refs:qht
110 static inline void qht_lock(struct qht *ht) in qht_lock()
119 static inline int qht_trylock(struct qht *ht) in qht_trylock()
128 static inline void qht_unlock(struct qht *ht) in qht_unlock()
197 static void qht_do_resize_reset(struct qht *ht, struct qht_map *new,
199 static void qht_grow_maybe(struct qht *ht);
338 static inline bool qht_map_is_stale__locked(const struct qht *ht, in qht_map_is_stale__locked()
352 void qht_map_lock_buckets__no_stale(struct qht *ht, struct qht_map **pmap) in qht_map_lock_buckets__no_stale()
382 struct qht_bucket *qht_bucket_lock__no_stale(struct qht *ht, uint32_t hash, in qht_bucket_lock__no_stale()
465 void qht_init(struct qht *ht, qht_cmp_func_t cmp, size_t n_elems, in qht_init()
480 void qht_destroy(struct qht *ht) in qht_destroy()
517 void qht_reset(struct qht *ht) in qht_reset()
526 static inline void qht_do_resize(struct qht *ht, struct qht_map *new) in qht_do_resize()
531 static inline void qht_do_resize_and_reset(struct qht *ht, struct qht_map *new) in qht_do_resize_and_reset()
536 bool qht_reset_size(struct qht *ht, size_t n_elems) in qht_reset_size()
596 void *qht_lookup_custom(const struct qht *ht, const void *userp, uint32_t hash, in qht_lookup_custom()
619 void *qht_lookup(const struct qht *ht, const void *userp, uint32_t hash) in qht_lookup()
628 static void *qht_insert__locked(const struct qht *ht, struct qht_map *map, in qht_insert__locked()
674 static __attribute__((noinline)) void qht_grow_maybe(struct qht *ht) in qht_grow_maybe()
695 bool qht_insert(struct qht *ht, void *p, uint32_t hash, void **existing) in qht_insert()
807 bool qht_remove(struct qht *ht, const void *p, uint32_t hash) in qht_remove()
871 do_qht_iter(struct qht *ht, const struct qht_iter *iter, void *userp) in do_qht_iter()
881 void qht_iter(struct qht *ht, qht_iter_func_t func, void *userp) in qht_iter()
891 void qht_iter_remove(struct qht *ht, qht_iter_bool_func_t func, void *userp) in qht_iter_remove()
902 struct qht *ht;
909 struct qht *ht = data->ht; in qht_map_copy()
921 static void qht_do_resize_reset(struct qht *ht, struct qht_map *new, bool reset) in qht_do_resize_reset()
953 bool qht_resize(struct qht *ht, size_t n_elems) in qht_resize()
972 void qht_statistics_init(const struct qht *ht, struct qht_stats *stats) in qht_statistics_init()