Lines Matching refs:roots
180 gc_globals->roots.next = &gc_globals->roots; in gc_globals_ctor_ex()
181 gc_globals->roots.prev = &gc_globals->roots; in gc_globals_ctor_ex()
234 GC_G(roots).next = &GC_G(roots); in gc_reset()
235 GC_G(roots).prev = &GC_G(roots); in gc_reset()
312 newRoot->next = GC_G(roots).next; in gc_possible_root()
313 newRoot->prev = &GC_G(roots); in gc_possible_root()
314 GC_G(roots).next->prev = newRoot; in gc_possible_root()
315 GC_G(roots).next = newRoot; in gc_possible_root()
594 gc_root_buffer *current = GC_G(roots).next; in gc_mark_roots()
596 while (current != &GC_G(roots)) { in gc_mark_roots()
703 gc_root_buffer *current = GC_G(roots).next; in gc_scan_roots()
705 while (current != &GC_G(roots)) { in gc_scan_roots()
754 buf->next = GC_G(roots).next; in gc_add_garbage()
755 buf->prev = &GC_G(roots); in gc_add_garbage()
756 GC_G(roots).next->prev = buf; in gc_add_garbage()
757 GC_G(roots).next = buf; in gc_add_garbage()
901 gc_root_buffer *current = GC_G(roots).next;
904 while (current != &GC_G(roots)) {
917 current = GC_G(roots).next;
918 while (current != &GC_G(roots)) {
926 if (GC_G(roots).next != &GC_G(roots)) {
929 GC_G(to_free).next = GC_G(roots).next;
930 GC_G(to_free).prev = GC_G(roots).prev;
935 GC_G(to_free).prev->next = GC_G(roots).next;
936 GC_G(roots).next->prev = GC_G(to_free).prev;
937 GC_G(roots).prev->next = &GC_G(to_free);
938 GC_G(to_free).prev = GC_G(roots).prev;
941 GC_G(roots).next = &GC_G(roots);
942 GC_G(roots).prev = &GC_G(roots);
1053 if (GC_G(roots).next != &GC_G(roots)) {