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;
107 phys_entry__insert(&entries[i], &map->root);
110 map->entries = entries;
114 void mem2node__exit(struct mem2node *map)
116 zfree(&map->entries);
119 int mem2node__node(struct mem2node *map, u64 addr)
124 p = &map->root.rb_node;