Lines Matching refs:OSi_ThreadInfo
81 OSThreadInfo OSi_ThreadInfo; variable
354 if (!OSi_ThreadInfo.entry[i]) in OSi_SearchFreeEntry()
374 OSThread *t = OSi_ThreadInfo.list; in OSi_InsertThreadToList()
385 thread->next = OSi_ThreadInfo.list; in OSi_InsertThreadToList()
386 OSi_ThreadInfo.list = thread; in OSi_InsertThreadToList()
406 OSThread *t = OSi_ThreadInfo.list; in OSi_RemoveThreadFromList()
419 OSi_ThreadInfo.list = thread->next; in OSi_RemoveThreadFromList()
442 OSThreadInfo *info = &OSi_ThreadInfo; in OSi_RescheduleThread()
512 OSi_ThreadInfo.entry[i] = NULL; in OS_InitThread()
518 OSi_CurrentThreadPtr = &(OSi_ThreadInfo.current); in OS_InitThread()
531 OSi_ThreadInfo.entry[0] = &OSi_LauncherThread; in OS_InitThread()
533 OSi_ThreadInfo.list = &OSi_LauncherThread; in OS_InitThread()
559 OSi_ThreadInfo.max_entry = OS_THREAD_MAX_NUM; in OS_InitThread()
563 OSi_ThreadInfo.isNeedRescheduling = FALSE; in OS_InitThread()
564 OSi_ThreadInfo.irqDepth = 0; in OS_InitThread()
569 OS_GetSystemWork()->threadinfo_mainp = &OSi_ThreadInfo; in OS_InitThread()
571 OS_GetSystemWork()->threadinfo_subp = &OSi_ThreadInfo; in OS_InitThread()
656 OSi_ThreadInfo.entry[index] = thread; in OS_CreateThread()
795 SDK_ASSERT(OSi_ThreadInfo.entry[currentThread->id] == currentThread); in OSi_ExitThread_Destroy()
813 OSi_ThreadInfo.entry[currentThread->id] = NULL; in OSi_ExitThread_Destroy()
905 OSi_ThreadInfo.entry[thread->id] = NULL; in OS_DestroyThread()
1238 OSThread *t = OSi_ThreadInfo.list; in OS_WakeupThread()
1310 OSThread *t = OSi_ThreadInfo.list; in OS_SelectThread()
1356 OSThread *t = OSi_ThreadInfo.list; in OS_YieldThread()
1387 OSi_ThreadInfo.list = current->next; in OS_YieldThread()
1421 OS_Printf("thread list top %08x\n", OSi_ThreadInfo.list); in OS_DumpThreadList()
1427 OSThread *thread = OSi_ThreadInfo.entry[i]; in OS_DumpThreadList()
1435 OSThread *thread = OSi_ThreadInfo.list; in OS_DumpThreadList()
1471 if (OSi_ThreadInfo.entry[i]) in OS_GetNumberOfThread()
1477 OSThread *thread = OSi_ThreadInfo.list; in OS_GetNumberOfThread()
1639 OSThread *t = OSi_ThreadInfo.list; in OS_SetThreadPriority()
1667 OSi_ThreadInfo.list = thread->next; in OS_SetThreadPriority()
1768 prev = OSi_ThreadInfo.switchCallback; in OS_SetSwitchThreadCallback()
1769 OSi_ThreadInfo.switchCallback = callback; in OS_SetSwitchThreadCallback()
1874 OSThread *t = OSi_ThreadInfo.list; in OS_GetThread()
2016 OSThread *t = OSi_ThreadInfo.list; in OS_IsThreadInList()