Lines Matching refs:_gc_prev
81 return (g->_gc_prev & PREV_MASK_COLLECTING) != 0; in gc_is_collecting()
87 g->_gc_prev &= ~PREV_MASK_COLLECTING; in gc_clear_collecting()
93 return (Py_ssize_t)(g->_gc_prev >> _PyGC_PREV_SHIFT); in gc_get_refs()
99 g->_gc_prev = (g->_gc_prev & ~_PyGC_PREV_MASK) in gc_set_refs()
106 g->_gc_prev = (g->_gc_prev & _PyGC_PREV_MASK_FINALIZED) in gc_reset_refs()
117 g->_gc_prev -= 1 << _PyGC_PREV_SHIFT; in gc_decref()
227 list->_gc_prev = (uintptr_t)list; in gc_list_init()
241 PyGC_Head *last = (PyGC_Head *)list->_gc_prev; in gc_list_append()
249 list->_gc_prev = (uintptr_t)node; in gc_list_append()
280 PyGC_Head *to_prev = (PyGC_Head*)list->_gc_prev; in gc_list_move()
283 list->_gc_prev = (uintptr_t)node; in gc_list_move()
366 assert((head->_gc_prev & PREV_MASK_COLLECTING) == 0); in validate_list()
392 assert((gc->_gc_prev & PREV_MASK_COLLECTING) == prev_value); in validate_list()
612 unreachable->_gc_prev = (uintptr_t)gc; in move_unreachable()
617 young->_gc_prev = (uintptr_t)prev; in move_unreachable()
2233 g->_gc_prev = 0; in _PyObject_GC_Alloc()