Lines Matching refs:bucket
55 sys_dlist_t *bucket; in sys_hashmap_sc_to_list() local
62 bucket = &buckets[i]; in sys_hashmap_sc_to_list()
63 while (!sys_dlist_is_empty(bucket)) { in sys_hashmap_sc_to_list()
64 entry = CONTAINER_OF(sys_dlist_get(bucket), struct sys_hashmap_sc_entry, in sys_hashmap_sc_to_list()
74 sys_dlist_t *bucket; in sys_hashmap_sc_rehash() local
99 bucket = &((sys_dlist_t *)(map->data->buckets))[i]; in sys_hashmap_sc_rehash()
100 sys_dlist_init(bucket); in sys_hashmap_sc_rehash()
112 sys_dlist_t *bucket; in sys_hashmap_sc_find() local
124 bucket = &buckets[hash % map->data->n_buckets]; in sys_hashmap_sc_find()
126 SYS_DLIST_FOR_EACH_CONTAINER(bucket, entry, node) { in sys_hashmap_sc_find()
137 sys_dlist_t *bucket; in sys_hashmap_sc_iter_next() local
152 for (bucket = it->state; bucket < &buckets[map->data->n_buckets]; ++bucket) { in sys_hashmap_sc_iter_next()
153 SYS_DLIST_FOR_EACH_CONTAINER(bucket, entry, node) { in sys_hashmap_sc_iter_next()
164 it->state = bucket; in sys_hashmap_sc_iter_next()