Lines Matching refs:mg
27 thread->mg = map_groups__new(machine); in thread__init_map_groups()
31 thread->mg = map_groups__get(leader->mg); in thread__init_map_groups()
36 return thread->mg ? 0 : -1; in thread__init_map_groups()
89 if (thread->mg) { in thread__delete()
90 map_groups__put(thread->mg); in thread__delete()
91 thread->mg = NULL; in thread__delete()
254 unwind__flush_access(thread->mg); in ____thread__set_comm()
327 map_groups__fprintf(thread->mg, fp); in thread__fprintf()
334 ret = unwind__prepare_access(thread->mg, map, NULL); in thread__insert_map()
338 map_groups__fixup_overlappings(thread->mg, map, stderr); in thread__insert_map()
339 map_groups__insert(thread->mg, map); in thread__insert_map()
348 struct maps *maps = &thread->mg->maps; in __thread__prepare_access()
354 err = unwind__prepare_access(thread->mg, map, &initialized); in __thread__prepare_access()
382 if (thread->mg == parent->mg) { in thread__clone_map_groups()
388 return do_maps_clone ? map_groups__clone(thread, parent->mg) : 0; in thread__clone_map_groups()