Lines Matching full:tcb
86 LosTaskCB *tcb = NULL; in IsPthread() local
90 tcb = OS_TCB_FROM_TID((UINT32)thread); in IsPthread()
91 if ((UINTPTR)tcb->taskEntry != (UINTPTR)PthreadEntry) { in IsPthread()
175 LosTaskCB *tcb = NULL; in CheckForCancel() local
183 tcb = OS_TCB_FROM_TID((UINT32)thread); in CheckForCancel()
185 PthreadData *pthreadData = (PthreadData *)(UINTPTR)tcb->arg; in CheckForCancel()
305 LosTaskCB *tcb = NULL; in pthread_setcancelstate() local
317 tcb = OS_TCB_FROM_TID((UINT32)thread); in pthread_setcancelstate()
319 pthreadData = (PthreadData *)(UINTPTR)tcb->arg; in pthread_setcancelstate()
337 LosTaskCB *tcb = NULL; in pthread_setcanceltype() local
350 tcb = OS_TCB_FROM_TID((UINT32)thread); in pthread_setcanceltype()
352 pthreadData = (PthreadData *)(UINTPTR)tcb->arg; in pthread_setcanceltype()
421 LosTaskCB *tcb = NULL; in pthread_cancel() local
428 tcb = OS_TCB_FROM_TID((UINT32)thread); in pthread_cancel()
429 pthreadData = (PthreadData *)(UINTPTR)tcb->arg; in pthread_cancel()
438 if (DoPthreadCancel(tcb) == LOS_NOK) { in pthread_cancel()
510 LosTaskCB *tcb = NULL; in pthread_exit() local
519 tcb = OS_TCB_FROM_TID((UINT32)thread); in pthread_exit()
520 tcb->joinRetval = (UINTPTR)retVal; in pthread_exit()
521 pthreadData = (PthreadData *)(UINTPTR)tcb->arg; in pthread_exit()
532 tcb->taskName = PTHREAD_DEFAULT_NAME; in pthread_exit()
535 (void)LOS_TaskDelete(tcb->taskID); in pthread_exit()