Lines Matching refs:sys_hashmap
51 struct sys_hashmap _name = { \
79 static struct sys_hashmap _name = { \
125 struct sys_hashmap { struct
145 static inline void sys_hashmap_foreach(const struct sys_hashmap *map, sys_hashmap_callback_t cb, in sys_hashmap_foreach()
165 static inline void sys_hashmap_clear(struct sys_hashmap *map, sys_hashmap_callback_t cb, in sys_hashmap_clear()
186 static inline int sys_hashmap_insert(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_insert()
204 static inline bool sys_hashmap_remove(struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_remove()
221 static inline bool sys_hashmap_get(const struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_get()
235 static inline bool sys_hashmap_contains_key(const struct sys_hashmap *map, uint64_t key) in sys_hashmap_contains_key()
247 static inline size_t sys_hashmap_size(const struct sys_hashmap *map) in sys_hashmap_size()
260 static inline bool sys_hashmap_is_empty(const struct sys_hashmap *map) in sys_hashmap_is_empty()
275 static inline uint8_t sys_hashmap_load_factor(const struct sys_hashmap *map) in sys_hashmap_load_factor()
290 static inline size_t sys_hashmap_num_buckets(const struct sys_hashmap *map) in sys_hashmap_num_buckets()
316 static inline bool sys_hashmap_should_rehash(const struct sys_hashmap *map, bool grow, in sys_hashmap_should_rehash()