Home
last modified time | relevance | path

Searched defs:thr (Results 1 – 11 of 11) sorted by relevance

/sys/kern/
Dthread.c98 Thread *thr = (Thread *)Slab_Alloc(&threadSlab); in Thread_Create() local
138 Thread *thr = Thread_Create(kernelProcess); in Thread_KThreadCreate() local
151 Thread *thr = (Thread *)Slab_Alloc(&threadSlab); in Thread_UThreadCreate() local
195 Thread_Destroy(Thread *thr) in Thread_Destroy()
232 Thread *thr = NULL; in Thread_Lookup() local
253 Thread_Retain(Thread *thr) in Thread_Retain()
265 Thread_Release(Thread *thr) in Thread_Release()
279 Thread_Wait(Thread *thr, uint64_t tid) in Thread_Wait()
328 Thread_Dump(Thread *thr) in Thread_Dump()
356 Thread *thr; in Debug_Threads() local
[all …]
Dsched.c60 Thread *thr = curProc[CPU()]; in Sched_Current() local
77 Sched_SetRunnable(Thread *thr) in Sched_SetRunnable()
104 Sched_SetWaiting(Thread *thr) in Sched_SetWaiting()
126 Sched_SetZombie(Thread *thr) in Sched_SetZombie()
Dwaitchannel.c73 Thread *thr = Sched_Current(); in WaitChannel_Sleep() local
93 Thread *thr; in WaitChannel_Wake() local
118 Thread *thr; in WaitChannel_WakeAll() local
Dsemaphore.c74 Thread *thr; in Semaphore_Release() local
111 Thread *thr; in Debug_Semaphores() local
Dprocess.c208 Thread *thr; in Process_Wait() local
293 Thread *thr = curProc[CPU()]; in Debug_ProcInfo() local
Dloader.c131 Loader_Load(Thread *thr, VNode *vn, void *buf, uint64_t len) in Loader_Load()
205 Thread *thr = Sched_Current(); in Loader_LoadInit() local
Dsyscall.c76 Thread *thr; in Syscall_Spawn() local
447 Thread *thr = (Thread *)arg; in ThreadWakeupHelper() local
/sys/amd64/
Dthread.c20 Thread_InitArch(Thread *thr) in Thread_InitArch()
26 Thread_SetupKThread(Thread *thr, void (*f)(), in Thread_SetupKThread()
75 Thread_SetupUThread(Thread *thr, uintptr_t rip, uintptr_t arg) in Thread_SetupUThread()
Dmachine.c232 Thread *thr = Thread_KThreadCreate(&Machine_IdleThread, NULL); in Machine_Init() local
/lib/libc/posix/
Dpthread.c56 struct pthread *thr = (struct pthread *)malloc(sizeof(*thr)); in __pthread_init() local
82 struct pthread *thr; in pthread_self() local
100 struct pthread *thr = (struct pthread *)arg; in pthreadCreateHelper() local
112 struct pthread *thr; in pthread_create() local
144 struct pthread *thr = pthread_self(); in pthread_exit() local
154 struct pthread *thr = thread; in pthread_join() local
/tests/
Dpthreadtest.c64 pthread_t thr; in main() local