Searched refs:gcstate (Results 1 – 2 of 2) sorted by relevance
128 #define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head) argument140 _PyGC_InitState(GCState *gcstate) in _PyGC_InitState() argument142 gcstate->enabled = 1; /* automatic collection enabled? */ in _PyGC_InitState()144 #define _GEN_HEAD(n) GEN_HEAD(gcstate, n) in _PyGC_InitState()152 gcstate->generations[i] = generations[i]; in _PyGC_InitState()154 gcstate->generation0 = GEN_HEAD(gcstate, 0); in _PyGC_InitState()156 {(uintptr_t)&gcstate->permanent_generation.head, in _PyGC_InitState()157 (uintptr_t)&gcstate->permanent_generation.head}, 0, 0 in _PyGC_InitState()159 gcstate->permanent_generation = permanent_generation; in _PyGC_InitState()166 GCState *gcstate = &interp->gc; in _PyGC_Init() local[all …]
2103 struct _gc_runtime_state *gcstate = &interp->gc; in _PyTrash_deposit_object() local2108 _PyGCHead_SET_PREV(_Py_AS_GC(op), gcstate->trash_delete_later); in _PyTrash_deposit_object()2109 gcstate->trash_delete_later = op; in _PyTrash_deposit_object()2131 struct _gc_runtime_state *gcstate = &interp->gc; in _PyTrash_destroy_chain() local2133 while (gcstate->trash_delete_later) { in _PyTrash_destroy_chain()2134 PyObject *op = gcstate->trash_delete_later; in _PyTrash_destroy_chain()2137 gcstate->trash_delete_later = in _PyTrash_destroy_chain()2147 ++gcstate->trash_delete_nesting; in _PyTrash_destroy_chain()2149 --gcstate->trash_delete_nesting; in _PyTrash_destroy_chain()