Searched refs:user_thread (Results 1 – 10 of 10) sorted by relevance
15 static inline struct user_thread*18 return (struct user_thread*)tls_get(TLS_USER_THREAD_SLOT); in get_user_thread()32 struct user_thread* thread = get_user_thread(); in undefer_signals()
15 struct user_thread { struct
26 struct user_thread *t = get_user_thread(); in main()
60 struct user_thread* team_allocate_user_thread(Team* team);61 void team_free_user_thread(Team* team, struct user_thread* userThread);
66 struct user_thread; // defined in libroot/user_thread.h152 struct user_thread* thread;477 struct user_thread* user_thread; // write-protected by fLock, only member
187 user_thread(NULL), in Thread()653 user_thread* userThread = thread->user_thread; in enter_userspace()668 tls[TLS_USER_THREAD_SLOT] = (addr_t)thread->user_thread; in enter_userspace()1006 if (thread->user_thread == NULL) { in thread_create_thread()1007 thread->user_thread = team_allocate_user_thread(team); in thread_create_thread()1008 if (thread->user_thread == NULL) in thread_create_thread()1049 user_thread* userThread = thread->user_thread; in thread_create_thread()1050 thread->user_thread = NULL; in thread_create_thread()1866 kprintf("user_thread: %p\n", (void *)thread->user_thread); in _dump_thread_info()2025 user_thread* userThread = thread->user_thread; in thread_exit()[all …]
2081 user_thread* userThread = team_allocate_user_thread(team); in exec_team()2084 currentThread->user_thread = userThread; in exec_team()2203 thread->user_thread = team_allocate_user_thread(team); in fork_team()2221 if (thread->user_thread == NULL) { in fork_team()3601 struct user_thread*3609 user_thread* thread = entry->thread; in team_allocate_user_thread()3617 size_t needed = ROUNDUP(sizeof(user_thread), CACHE_LINE_SIZE); in team_allocate_user_thread()3632 user_thread* thread in team_allocate_user_thread()3633 = (user_thread*)(team->user_data + team->used_user_data); in team_allocate_user_thread()3647 team_free_user_thread(Team* team, struct user_thread* userThread) in team_free_user_thread()
946 if (thread->user_thread->defer_signals > 0 in handle_signals()949 thread->user_thread->pending_signals = signalMask; in handle_signals()954 thread->user_thread->pending_signals = 0; in handle_signals()
100 user_thread* userThread = get_user_thread(); in Wait()
37 user_thread* userThread;