Lines Matching defs:map
47 int mem2node__init(struct mem2node *map, struct perf_env *env)
54 memset(map, 0x0, sizeof(*map));
55 map->root = RB_ROOT;
106 phys_entry__insert(&entries[i], &map->root);
109 map->entries = entries;
113 void mem2node__exit(struct mem2node *map)
115 zfree(&map->entries);
118 int mem2node__node(struct mem2node *map, u64 addr)
123 p = &map->root.rb_node;