Lines Matching defs:ht

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()
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()
381 struct qht_bucket *qht_bucket_lock__no_stale(struct qht *ht, uint32_t hash, in qht_bucket_lock__no_stale()
464 void qht_init(struct qht *ht, qht_cmp_func_t cmp, size_t n_elems, in qht_init()
479 void qht_destroy(struct qht *ht) in qht_destroy()
516 void qht_reset(struct qht *ht) in qht_reset()
525 static inline void qht_do_resize(struct qht *ht, struct qht_map *new) in qht_do_resize()
530 static inline void qht_do_resize_and_reset(struct qht *ht, struct qht_map *new) in qht_do_resize_and_reset()
535 bool qht_reset_size(struct qht *ht, size_t n_elems) in qht_reset_size()
595 void *qht_lookup_custom(const struct qht *ht, const void *userp, uint32_t hash, in qht_lookup_custom()
618 void *qht_lookup(const struct qht *ht, const void *userp, uint32_t hash) in qht_lookup()
627 static void *qht_insert__locked(const struct qht *ht, struct qht_map *map, in qht_insert__locked()
673 static __attribute__((noinline)) void qht_grow_maybe(struct qht *ht) in qht_grow_maybe()
694 bool qht_insert(struct qht *ht, void *p, uint32_t hash, void **existing) in qht_insert()
806 bool qht_remove(struct qht *ht, const void *p, uint32_t hash) in qht_remove()
870 do_qht_iter(struct qht *ht, const struct qht_iter *iter, void *userp) in do_qht_iter()
880 void qht_iter(struct qht *ht, qht_iter_func_t func, void *userp) in qht_iter()
890 void qht_iter_remove(struct qht *ht, qht_iter_bool_func_t func, void *userp) in qht_iter_remove()
901 struct qht *ht; member
908 struct qht *ht = data->ht; in qht_map_copy() local
920 static void qht_do_resize_reset(struct qht *ht, struct qht_map *new, bool reset) in qht_do_resize_reset()
952 bool qht_resize(struct qht *ht, size_t n_elems) in qht_resize()
971 void qht_statistics_init(const struct qht *ht, struct qht_stats *stats) in qht_statistics_init()