Lines Matching refs:value
26 uint64_t value; member
76 static int sys_hashmap_oa_lp_insert_no_rehash(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_oa_lp_insert_no_rehash() argument
103 *old_value = entry->value; in sys_hashmap_oa_lp_insert_no_rehash()
108 entry->value = value; in sys_hashmap_oa_lp_insert_no_rehash()
155 sys_hashmap_oa_lp_insert_no_rehash(map, entry->key, entry->value, NULL); in sys_hashmap_oa_lp_rehash()
188 it->value = entry->value; in sys_hashmap_oa_lp_iter_next()
219 cb(entry->key, entry->value, cookie); in sys_hashmap_oa_lp_clear()
234 static inline int sys_hashmap_oa_lp_insert(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_oa_lp_insert() argument
244 return sys_hashmap_oa_lp_insert_no_rehash(map, key, value, old_value); in sys_hashmap_oa_lp_insert()
247 static bool sys_hashmap_oa_lp_remove(struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_oa_lp_remove() argument
257 if (value != NULL) { in sys_hashmap_oa_lp_remove()
258 *value = entry->value; in sys_hashmap_oa_lp_remove()
271 static bool sys_hashmap_oa_lp_get(const struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_oa_lp_get() argument
280 if (value != NULL) { in sys_hashmap_oa_lp_get()
281 *value = entry->value; in sys_hashmap_oa_lp_get()