Lines Matching refs:gc_next
135 list->gc.gc_next = list; in gc_list_init()
141 return (list->gc.gc_next == list); in gc_list_is_empty()
150 node->gc.gc_next = list;
152 node->gc.gc_prev->gc.gc_next = node;
161 node->gc.gc_prev->gc.gc_next = node->gc.gc_next; in gc_list_remove()
162 node->gc.gc_next->gc.gc_prev = node->gc.gc_prev; in gc_list_remove()
163 node->gc.gc_next = NULL; /* object is not currently tracked */ in gc_list_remove()
175 PyGC_Head *current_next = node->gc.gc_next; in gc_list_move()
177 current_prev->gc.gc_next = current_next; in gc_list_move()
181 new_prev->gc.gc_next = list->gc.gc_prev = node; in gc_list_move()
182 node->gc.gc_next = list; in gc_list_move()
193 tail->gc.gc_next = from->gc.gc_next; in gc_list_merge()
194 tail->gc.gc_next->gc.gc_prev = tail; in gc_list_merge()
196 to->gc.gc_prev->gc.gc_next = to; in gc_list_merge()
206 for (gc = list->gc.gc_next; gc != list; gc = gc->gc.gc_next) { in gc_list_size()
219 for (gc = gc_list->gc.gc_next; gc != gc_list; gc = gc->gc.gc_next) { in append_objects()
240 PyGC_Head *gc = containers->gc.gc_next; in update_refs()
241 for (; gc != containers; gc = gc->gc.gc_next) { in update_refs()
293 PyGC_Head *gc = containers->gc.gc_next; in subtract_refs()
294 for (; gc != containers; gc=gc->gc.gc_next) { in subtract_refs()
356 PyGC_Head *gc = young->gc.gc_next; in move_unreachable()
386 next = gc->gc.gc_next; in move_unreachable()
399 next = gc->gc.gc_next; in move_unreachable()
411 PyGC_Head *next, *gc = head->gc.gc_next; in untrack_dicts()
414 next = gc->gc.gc_next; in untrack_dicts()
441 for (gc = unreachable->gc.gc_next; gc != unreachable; gc = next) { in move_legacy_finalizers()
445 next = gc->gc.gc_next; in move_legacy_finalizers()
475 PyGC_Head *gc = finalizers->gc.gc_next; in move_legacy_finalizer_reachable()
476 for (; gc != finalizers; gc = gc->gc.gc_next) { in move_legacy_finalizer_reachable()
516 for (gc = unreachable->gc.gc_next; gc != unreachable; gc = next) { in handle_weakrefs()
521 next = gc->gc.gc_next; in handle_weakrefs()
600 gc = wrcb_to_call.gc.gc_next; in handle_weakrefs()
627 if (wrcb_to_call.gc.gc_next == gc) { in handle_weakrefs()
655 PyGC_Head *gc = finalizers->gc.gc_next; in handle_legacy_finalizers()
662 for (; gc != finalizers; gc = gc->gc.gc_next) { in handle_legacy_finalizers()
695 PyGC_Head *gc = collectable->gc.gc_next; in finalize_garbage()
717 for (gc = collectable->gc.gc_next; gc != collectable; in check_garbage()
718 gc = gc->gc.gc_next) { in check_garbage()
723 for (gc = collectable->gc.gc_next; gc != collectable; in check_garbage()
724 gc = gc->gc.gc_next) { in check_garbage()
736 for (gc = collectable->gc.gc_next; gc != collectable; in revive_garbage()
737 gc = gc->gc.gc_next) { in revive_garbage()
752 PyGC_Head *gc = collectable->gc.gc_next; in delete_garbage()
765 if (collectable->gc.gc_next == gc) { in delete_garbage()
893 for (gc = unreachable.gc.gc_next; gc != &unreachable; in collect()
894 gc = gc->gc.gc_next) { in collect()
921 for (gc = finalizers.gc.gc_next; in collect()
923 gc = gc->gc.gc_next) { in collect()
1248 for (gc = list->gc.gc_next; gc != list; gc = gc->gc.gc_next) { in gc_referrers_for()