Lines Matching refs:buckets
30 BUILD_ASSERT(offsetof(struct sys_hashmap_oa_lp_data, buckets) ==
31 offsetof(struct sys_hashmap_data, buckets));
43 struct oalp_entry *const buckets = map->data->buckets; in sys_hashmap_oa_lp_find() local
49 entry = &buckets[j]; in sys_hashmap_oa_lp_find()
134 old_buckets = (struct oalp_entry *)data->buckets; in sys_hashmap_oa_lp_rehash()
147 data->buckets = new_buckets; in sys_hashmap_oa_lp_rehash()
171 struct oalp_entry *buckets = map->data->buckets; in sys_hashmap_oa_lp_iter_next() local
177 it->state = buckets; in sys_hashmap_oa_lp_iter_next()
180 i = (struct oalp_entry *)it->state - buckets; in sys_hashmap_oa_lp_iter_next()
184 entry = &buckets[i]; in sys_hashmap_oa_lp_iter_next()
186 it->state = &buckets[i + 1]; in sys_hashmap_oa_lp_iter_next()
214 struct oalp_entry *buckets = data->buckets; in sys_hashmap_oa_lp_clear() local
217 entry = &buckets[i]; in sys_hashmap_oa_lp_clear()
224 if (data->buckets != NULL) { in sys_hashmap_oa_lp_clear()
225 map->alloc_func(data->buckets, 0); in sys_hashmap_oa_lp_clear()
226 data->buckets = NULL; in sys_hashmap_oa_lp_clear()