Lines Matching refs:head
71 /* Get an object's GC head */
74 /* Get the object given the GC head */
128 #define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
144 GEN.head._gc_next = (uintptr_t)&GEN.head; \
145 GEN.head._gc_prev = (uintptr_t)&GEN.head; \
365 // `head` must be a doubly-linked gc list, although it's fine (expected!) if
368 // - The `head` pointers are not polluted.
373 validate_list(PyGC_Head *head, enum flagstates flags)
375 assert((head->_gc_prev & PREV_MASK_COLLECTING) == 0);
376 assert((head->_gc_next & NEXT_MASK_UNREACHABLE) == 0);
394 PyGC_Head *prev = head;
395 PyGC_Head *gc = GC_NEXT(head);
396 while (gc != head) {
406 assert(prev == GC_PREV(head));
615 // But this may pollute the unreachable list head's 'next' pointer
627 // don't let the pollution of the list head's next pointer leak
632 untrack_tuples(PyGC_Head *head)
634 PyGC_Head *next, *gc = GC_NEXT(head);
635 while (gc != head) {
647 untrack_dicts(PyGC_Head *head)
649 PyGC_Head *next, *gc = GC_NEXT(head);
650 while (gc != head) {
698 /* Check that the list head does not have the unreachable bit set */
1061 buf, gc_list_size(&gcstate->permanent_generation.head));
1909 gc_list_merge(GEN_HEAD(gcstate, i), &gcstate->permanent_generation.head);
1928 gc_list_merge(&gcstate->permanent_generation.head,
1944 return gc_list_size(&gcstate->permanent_generation.head);