Lines Matching refs:mg
351 if (!leader->mg) in machine__update_thread_pid()
352 leader->mg = map_groups__new(machine); in machine__update_thread_pid()
354 if (!leader->mg) in machine__update_thread_pid()
357 if (th->mg == leader->mg) in machine__update_thread_pid()
360 if (th->mg) { in machine__update_thread_pid()
366 if (!map_groups__empty(th->mg)) in machine__update_thread_pid()
369 map_groups__put(th->mg); in machine__update_thread_pid()
372 th->mg = map_groups__get(leader->mg); in machine__update_thread_pid()
1094 static void map_groups__fixup_end(struct map_groups *mg) in map_groups__fixup_end() argument
1098 __map_groups__fixup_end(mg, i); in map_groups__fixup_end()
1134 static int map_groups__set_module_path(struct map_groups *mg, const char *path, in map_groups__set_module_path() argument
1140 map = map_groups__find_by_name(mg, MAP__FUNCTION, m->name); in map_groups__set_module_path()
1161 static int map_groups__set_modules_path_dir(struct map_groups *mg, in map_groups__set_modules_path_dir() argument
1194 ret = map_groups__set_modules_path_dir(mg, path, in map_groups__set_modules_path_dir()
1206 ret = map_groups__set_module_path(mg, path, &m); in map_groups__set_modules_path_dir()