Searched refs:current_thread (Results 1 – 4 of 4) sorted by relevance
41 thread_t *current_thread = get_current_thread(); in initial_thread_func() local43 …thread_func: thread %p calling %p with arg %p\n", current_thread, current_thread->entry, current_t… in initial_thread_func()49 ret = current_thread->entry(current_thread->arg); in initial_thread_func()51 LTRACEF("initial_thread_func: thread %p exiting with %d\n", current_thread, ret); in initial_thread_func()
21 struct thread *current_thread; member84 return (struct thread *)x86_read_gs_offset_ptr(X86_PERCPU_FIELD_OFFSET(current_thread)); in x86_get_current_thread()88 x86_write_gs_offset_ptr(X86_PERCPU_FIELD_OFFSET(current_thread), t); in x86_set_current_thread()
93 thread_t *current_thread; in x86_pfe_handler() local123 current_thread = get_current_thread(); in x86_pfe_handler()124 dump_thread(current_thread); in x86_pfe_handler()134 thread_detach(current_thread); in x86_pfe_handler()136 thread_exit(current_thread->retcode); in x86_pfe_handler()
68 struct thread *current_thread = get_current_thread(); in dump_fault_frame() local71 current_thread, current_thread ? current_thread->name : ""); in dump_fault_frame()
Completed in 7 milliseconds