Lines Matching refs:next

152 	root->next->prev = root->prev;  in gc_remove_from_roots()
153 root->prev->next = root->next; in gc_remove_from_roots()
161 root->next->prev = root->prev; in gc_remove_from_additional_roots()
162 root->prev->next = root->next; in gc_remove_from_additional_roots()
180 gc_globals->roots.next = &gc_globals->roots; in gc_globals_ctor_ex()
185 gc_globals->to_free.next = &gc_globals->to_free; in gc_globals_ctor_ex()
234 GC_G(roots).next = &GC_G(roots); in gc_reset()
237 GC_G(to_free).next = &GC_G(to_free); in gc_reset()
312 newRoot->next = GC_G(roots).next; 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()
335 additional_buffer = additional_buffer->next; in gc_find_additional_buffer()
364 GC_G(next_to_free) = root->next; in gc_remove_from_buffer()
594 gc_root_buffer *current = GC_G(roots).next; in gc_mark_roots()
600 current = current->next; in gc_mark_roots()
703 gc_root_buffer *current = GC_G(roots).next; in gc_scan_roots()
707 current = current->next; in gc_scan_roots()
740 new_buffer->next = GC_G(additional_buffer); in gc_add_garbage()
754 buf->next = GC_G(roots).next; 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;
905 gc_root_buffer *next = current->next; local
914 current = next;
917 current = GC_G(roots).next;
922 current = current->next;
926 if (GC_G(roots).next != &GC_G(roots)) {
927 if (GC_G(to_free).next == &GC_G(to_free)) {
929 GC_G(to_free).next = GC_G(roots).next;
931 GC_G(to_free).next->prev = &GC_G(to_free);
932 GC_G(to_free).prev->next = &GC_G(to_free);
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);
941 GC_G(roots).next = &GC_G(roots);
1053 if (GC_G(roots).next != &GC_G(roots)) {
1054 gc_root_buffer *current, *next, *orig_next_to_free; local
1089 if (GC_G(to_free).next == &GC_G(to_free)) {
1096 to_free.next = GC_G(to_free).next;
1098 to_free.next->prev = &to_free;
1099 to_free.prev->next = &to_free;
1102 GC_G(to_free).next = &GC_G(to_free);
1116 current = to_free.next;
1119 current = current->next;
1123 current = to_free.next;
1126 GC_G(next_to_free) = current->next;
1145 current = to_free.next;
1147 GC_G(next_to_free) = current->next;
1159 current = to_free.next;
1162 GC_G(next_to_free) = current->next;
1193 current = to_free.next;
1195 next = current->next;
1202 current = next;
1206 gc_additional_buffer *next = GC_G(additional_buffer)->next; local
1208 GC_G(additional_buffer) = next;