Lines Matching refs:map
46 void insert_link_map_into_debug_map(link_map* map) { in insert_link_map_into_debug_map() argument
52 r_debug_tail->l_next = map; in insert_link_map_into_debug_map()
53 map->l_prev = r_debug_tail; in insert_link_map_into_debug_map()
54 map->l_next = nullptr; in insert_link_map_into_debug_map()
56 _r_debug.r_map = map; in insert_link_map_into_debug_map()
57 map->l_prev = nullptr; in insert_link_map_into_debug_map()
58 map->l_next = nullptr; in insert_link_map_into_debug_map()
60 r_debug_tail = map; in insert_link_map_into_debug_map()
63 void remove_link_map_from_debug_map(link_map* map) { in remove_link_map_from_debug_map() argument
64 if (r_debug_tail == map) { in remove_link_map_from_debug_map()
65 r_debug_tail = map->l_prev; in remove_link_map_from_debug_map()
68 if (map->l_prev) { in remove_link_map_from_debug_map()
69 map->l_prev->l_next = map->l_next; in remove_link_map_from_debug_map()
71 if (map->l_next) { in remove_link_map_from_debug_map()
72 map->l_next->l_prev = map->l_prev; in remove_link_map_from_debug_map()
76 void notify_gdb_of_load(link_map* map) { in notify_gdb_of_load() argument
82 insert_link_map_into_debug_map(map); in notify_gdb_of_load()
88 void notify_gdb_of_unload(link_map* map) { in notify_gdb_of_unload() argument
94 remove_link_map_from_debug_map(map); in notify_gdb_of_unload()