Lines Matching refs:next

102 	root->next->prev = root->prev;  in gc_remove_from_roots()
103 root->prev->next = root->next; in gc_remove_from_roots()
111 root->next->prev = root->prev; in gc_remove_from_additional_roots()
112 root->prev->next = root->next; in gc_remove_from_additional_roots()
130 gc_globals->roots.next = &gc_globals->roots; in gc_globals_ctor_ex()
135 gc_globals->to_free.next = &gc_globals->to_free; in gc_globals_ctor_ex()
184 GC_G(roots).next = &GC_G(roots); in gc_reset()
187 GC_G(to_free).next = &GC_G(to_free); in gc_reset()
262 newRoot->next = GC_G(roots).next; in gc_possible_root()
264 GC_G(roots).next->prev = newRoot; in gc_possible_root()
265 GC_G(roots).next = newRoot; in gc_possible_root()
285 additional_buffer = additional_buffer->next; in gc_find_additional_buffer()
314 GC_G(next_to_free) = root->next; in gc_remove_from_buffer()
544 gc_root_buffer *current = GC_G(roots).next; in gc_mark_roots()
550 current = current->next; in gc_mark_roots()
653 gc_root_buffer *current = GC_G(roots).next; in gc_scan_roots()
657 current = current->next; in gc_scan_roots()
690 new_buffer->next = GC_G(additional_buffer); in gc_add_garbage()
705 buf->next = GC_G(roots).next; in gc_add_garbage()
707 GC_G(roots).next->prev = buf; in gc_add_garbage()
708 GC_G(roots).next = buf; in gc_add_garbage()
852 gc_root_buffer *current = GC_G(roots).next;
856 gc_root_buffer *next = current->next; local
865 current = next;
868 current = GC_G(roots).next;
874 current = current->next;
878 if (GC_G(roots).next != &GC_G(roots)) {
879 if (GC_G(to_free).next == &GC_G(to_free)) {
881 GC_G(to_free).next = GC_G(roots).next;
883 GC_G(to_free).next->prev = &GC_G(to_free);
884 GC_G(to_free).prev->next = &GC_G(to_free);
887 GC_G(to_free).prev->next = GC_G(roots).next;
888 GC_G(roots).next->prev = GC_G(to_free).prev;
889 GC_G(roots).prev->next = &GC_G(to_free);
893 GC_G(roots).next = &GC_G(roots);
1006 if (GC_G(roots).next != &GC_G(roots)) {
1007 gc_root_buffer *current, *next, *orig_next_to_free; local
1042 if (GC_G(to_free).next == &GC_G(to_free)) {
1049 to_free.next = GC_G(to_free).next;
1051 to_free.next->prev = &to_free;
1052 to_free.prev->next = &to_free;
1055 GC_G(to_free).next = &GC_G(to_free);
1069 current = to_free.next;
1072 current = current->next;
1076 current = to_free.next;
1079 GC_G(next_to_free) = current->next;
1098 current = to_free.next;
1100 GC_G(next_to_free) = current->next;
1112 current = to_free.next;
1115 GC_G(next_to_free) = current->next;
1146 current = to_free.next;
1148 next = current->next;
1155 current = next;
1159 gc_additional_buffer *next = GC_G(additional_buffer)->next; local
1161 GC_G(additional_buffer) = next;