Lines Matching refs:tstate_head
73 interp->tstate_head = NULL; in PyInterpreterState_New()
103 for (p = interp->tstate_head; p != NULL; p = p->next) in PyInterpreterState_Clear()
122 while ((p = interp->tstate_head) != NULL) { in zapthreads()
141 if (interp->tstate_head != NULL) in PyInterpreterState_Delete()
202 tstate->next = interp->tstate_head; in new_threadstate()
203 interp->tstate_head = tstate; in new_threadstate()
270 for (p = &interp->tstate_head; ; p = &(*p)->next) { in tstate_delete_common()
285 if ((*p)->next == interp->tstate_head) in tstate_delete_common()
404 for (p = interp->tstate_head; p != NULL; p = p->next) { in PyThreadState_SetAsyncExc()
442 return interp->tstate_head; in PyInterpreterState_ThreadHead()
474 for (t = i->tstate_head; t != NULL; t = t->next) { in _PyThread_CurrentFrames()