Searched refs:neighborhood (Results 1 – 1 of 1) sorted by relevance
244 static struct bucket *dereference_hop(struct bucket *neighborhood, unsigned int hop_offset) in dereference_hop() argument250 return &neighborhood[hop_offset - 1]; in dereference_hop()260 static void insert_in_hop_list(struct bucket *neighborhood, struct bucket *new_bucket) in insert_in_hop_list() argument263 int hop_offset = 1 + (new_bucket - neighborhood); in insert_in_hop_list()266 int next_hop = neighborhood->first_hop; in insert_in_hop_list()270 neighborhood->first_hop = hop_offset; in insert_in_hop_list()276 struct bucket *bucket = dereference_hop(neighborhood, next_hop); in insert_in_hop_list()528 static bool update_mapping(struct int_map *map, struct bucket *neighborhood, in update_mapping() argument531 struct bucket *bucket = search_hop_list(map, neighborhood, key, NULL); in update_mapping()563 struct bucket *neighborhood) in find_or_make_vacancy() argument[all …]