Lines Matching defs:map
37 void map_destroy(struct map *map) in map_destroy()
42 void map_clear(struct map *map, void (*release)(struct map_item *)) in map_clear()
56 int map_create(struct map *map) in map_create()
64 static int map_hash(struct map *map, unsigned int key) in map_hash()
91 int map_reput(struct map *map, unsigned int key, struct map_item *value, in map_reput()
114 int map_put(struct map *map, unsigned int key, struct map_item *value) in map_put()
119 static int map_rehash(struct map *map) in map_rehash()
149 static struct map_entry *map_find(const struct map *map, unsigned int key) in map_find()
173 int map_contains(const struct map *map, unsigned int key) in map_contains()
178 struct map_item *map_get(const struct map *map, unsigned int key) in map_get()
188 int map_remove(struct map *map, unsigned int key) in map_remove()
200 unsigned int map_length(struct map *map) in map_length()
205 static struct map_entry *map_iter_from(const struct map *map, unsigned int start) in map_iter_from()
216 struct map_entry *map_iter_next(const struct map *map, struct map_entry *iter) in map_iter_next()
224 struct map_entry *map_iter_first(const struct map *map) in map_iter_first()