Searched refs:Thread (Results 1 - 25 of 223) sorted by relevance

123456789

/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dthread.h12 struct Thread;
15 using BKernel::Thread;
18 static inline Thread*
21 return (Thread*)(addr_t)find_thread(NULL);
26 get_thread_id(Thread* thread)
/haiku/headers/private/kernel/arch/arm64/
H A Darch_thread.h17 static inline Thread * arch_thread_get_current_thread(void)
19 return (Thread *)READ_SPECIALREG(tpidr_el1);
23 static inline void arch_thread_set_current_thread(Thread *t)
/haiku/headers/private/kernel/arch/m68k/
H A Darch_thread.h23 uint32 m68k_next_page_directory(Thread *from, Thread *to);
26 extern Thread *gCurrentThread;
28 extern inline Thread *
36 arch_thread_set_current_thread(Thread *t)
44 extern inline Thread *
49 return (Thread *)(uint32)(v & 0xffffffff);
54 arch_thread_set_current_thread(Thread *t)
/haiku/src/system/kernel/lib/
H A Dkernel_errno.cpp19 Thread *thread = thread_get_current_thread();
/haiku/headers/private/kernel/arch/x86/
H A Darch_thread.h24 struct iframe* x86_get_thread_user_iframe(Thread* thread);
26 phys_addr_t x86_next_page_directory(Thread* from, Thread* to);
27 void x86_initial_return_to_userland(Thread* thread, struct iframe* iframe);
30 void x86_set_tls_context(Thread* thread);
33 static inline Thread*
38 return (Thread*)addr;
46 arch_thread_set_current_thread(Thread* t)
63 arch_thread_set_current_thread(Thread* t)
/haiku/headers/private/kernel/arch/
H A Dthread.h21 status_t arch_thread_init_thread_struct(Thread *t);
22 status_t arch_thread_init_tls(Thread *thread);
23 void arch_thread_context_switch(Thread *t_from, Thread *t_to);
24 void arch_thread_init_kthread_stack(Thread *thread, void *stack,
27 status_t arch_thread_enter_userspace(Thread *t, addr_t entry,
30 bool arch_on_signal_stack(Thread *thread);
31 status_t arch_setup_signal_frame(Thread *thread, struct sigaction *action,
/haiku/headers/private/kernel/arch/arm/
H A Darch_thread.h24 extern Thread *gCurrentThread;
26 extern inline Thread *
34 arch_thread_set_current_thread(Thread *t)
/haiku/headers/private/kernel/arch/ppc/
H A Darch_thread.h23 static inline Thread *
26 Thread *t;
33 arch_thread_set_current_thread(Thread *t)
/haiku/headers/private/kernel/arch/sparc/
H A Darch_thread.h24 static inline Thread *
27 Thread *t;
35 arch_thread_set_current_thread(Thread *t)
/haiku/src/kits/debugger/model/
H A DThread.cpp7 #include "model/Thread.h"
16 Thread::Thread(Team* team, thread_id threadID) function in class:Thread
30 Thread::~Thread()
43 Thread::Init()
54 Thread::IsMainThread() const
61 Thread::SetName(const BString& name)
68 Thread::SetState(uint32 state, uint32 reason, const BString& info)
90 Thread
[all...]
/haiku/headers/private/kernel/arch/mipsel/
H A Darch_thread.h25 static inline Thread*
29 Thread* t;
35 arch_thread_set_current_thread(Thread* t)
/haiku/headers/private/kernel/arch/riscv64/
H A Darch_thread.h25 static inline Thread*
29 Thread* t = NULL;
35 arch_thread_set_current_thread(Thread* t)
/haiku/src/system/kernel/arch/riscv64/
H A Darch_thread.cpp35 arch_thread_init_thread_struct(Thread *thread)
45 arch_thread_init_kthread_stack(Thread* thread, void* _stack, void* _stackTop,
54 arch_thread_init_tls(Thread *thread)
62 arch_thread_context_switch(Thread *from, Thread *to)
74 arch_thread_enter_userspace(Thread *thread, addr_t entry, void *arg1, void *arg2)
82 arch_on_signal_stack(Thread *thread)
89 arch_setup_signal_frame(Thread *thread, struct sigaction *sa,
104 arch_check_syscall_restart(Thread *thread)
/haiku/src/system/kernel/arch/arm/
H A Dasm_offsets.cpp37 // struct Thread
38 DEFINE_OFFSET_MACRO(THREAD, Thread, time_lock);
39 DEFINE_OFFSET_MACRO(THREAD, Thread, kernel_time);
40 DEFINE_OFFSET_MACRO(THREAD, Thread, user_time);
41 DEFINE_OFFSET_MACRO(THREAD, Thread, last_time);
42 DEFINE_OFFSET_MACRO(THREAD, Thread, in_kernel);
43 DEFINE_OFFSET_MACRO(THREAD, Thread, flags);
44 DEFINE_OFFSET_MACRO(THREAD, Thread, kernel_stack_top);
45 DEFINE_OFFSET_MACRO(THREAD, Thread, fault_handler);
H A Darch_thread.cpp42 Thread *gCurrentThread;
81 arch_thread_init_thread_struct(Thread *thread)
91 arch_thread_init_kthread_stack(Thread* thread, void* _stack, void* _stackTop,
116 arch_thread_init_tls(Thread *thread)
135 arch_thread_context_switch(Thread *from, Thread *to)
154 arch_thread_enter_userspace(Thread *thread, addr_t entry,
163 arch_on_signal_stack(Thread *thread)
170 arch_setup_signal_frame(Thread *thread, struct sigaction *sa,
185 arch_check_syscall_restart(Thread *threa
[all...]
/haiku/headers/private/kernel/
H A Dkscheduler.h28 void scheduler_enqueue_in_run_queue(Thread* thread);
45 int32 scheduler_set_thread_priority(Thread* thread, int32 priority);
47 /*! Called when the Thread structure is first created.
51 status_t scheduler_on_thread_create(Thread* thread, bool idleThread);
53 /*! Called when a Thread structure is initialized and made ready for
57 void scheduler_on_thread_init(Thread* thread);
59 /*! Called when a Thread structure is freed.
64 void scheduler_on_thread_destroy(Thread* thread);
78 void scheduler_dump_thread_data(Thread* thread);
80 void scheduler_new_thread_entry(Thread* threa
[all...]
/haiku/headers/private/debugger/model/
H A DExpressionValues.h18 class Thread;
31 Thread* thread,
35 Thread* thread,
39 Thread* thread,
42 Thread* thread,
45 Thread* thread,
67 ExpressionValues::GetValue(FunctionID* function, Thread* thread,
75 ExpressionValues::HasValue(FunctionID* function, Thread* thread,
/haiku/src/kits/shared/
H A DThread.cpp36 #include "Thread.h"
76 Thread::Launch(FunctionObject* functor, int32 priority, const char* name)
78 new Thread(functor, priority, name);
82 Thread::Thread(FunctionObject* functor, int32 priority, const char* name) function in class:Thread
90 Thread::~Thread()
97 Thread::Run()
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/executer/
H A Dexmutex.c165 ACPI_THREAD_STATE *Thread);
184 ACPI_THREAD_STATE *Thread = ObjDesc->Mutex.OwnerThread; local
187 if (!Thread)
214 Thread->AcquiredMutexList = ObjDesc->Mutex.Next;
224 * Thread - Current executing thread object
235 ACPI_THREAD_STATE *Thread)
240 ListHead = Thread->AcquiredMutexList;
256 Thread->AcquiredMutexList = ObjDesc;
374 if (!WalkState->Thread)
386 if (WalkState->Thread
233 AcpiExLinkMutex( ACPI_OPERAND_OBJECT *ObjDesc, ACPI_THREAD_STATE *Thread) argument
644 AcpiExReleaseAllMutexes( ACPI_THREAD_STATE *Thread) argument
[all...]
/haiku/src/system/kernel/arch/sparc/
H A Darch_thread.cpp35 arch_thread_init_thread_struct(Thread *thread)
45 arch_thread_init_kthread_stack(Thread* thread, void* _stack, void* _stackTop,
92 arch_thread_init_tls(Thread *thread)
100 arch_thread_context_switch(Thread *from, Thread *to)
112 arch_thread_enter_userspace(Thread *thread, addr_t entry, void *arg1, void *arg2)
120 arch_on_signal_stack(Thread *thread)
127 arch_setup_signal_frame(Thread *thread, struct sigaction *sa,
142 arch_check_syscall_restart(Thread *thread)
/haiku/src/system/kernel/arch/mips/
H A Darch_thread.cpp13 int arch_thread_init_thread_struct(Thread *t)
18 int arch_thread_initialize_kthread_stack(Thread *t, int (*start_func)(void), void (*entry_func)(void))
23 void arch_thread_context_switch(Thread *t_from, Thread *t_to)
/haiku/src/apps/debuganalyzer/gui/thread_window/
H A DGeneralPage.h20 void SetModel(Model* model, Model::Thread* thread);
24 Model::Thread* fThread;
/haiku/src/system/kernel/arch/m68k/
H A Darch_thread.cpp39 Thread *gCurrentThread;
69 Thread *thread = thread_get_current_thread();
85 Thread *thread = thread_get_current_thread();
99 m68k_next_page_directory(Thread *from, Thread *to)
136 arch_thread_init_thread_struct(Thread *thread)
146 arch_thread_init_kthread_stack(Thread* thread, void* _stack, void* _stackTop,
193 arch_thread_init_tls(Thread *thread)
201 arch_thread_context_switch(Thread *from, Thread *t
[all...]
H A Dasm_offsets.cpp31 // struct Thread
32 DEFINE_OFFSET_MACRO(THREAD, Thread, kernel_time);
33 DEFINE_OFFSET_MACRO(THREAD, Thread, user_time);
34 DEFINE_OFFSET_MACRO(THREAD, Thread, last_time);
35 DEFINE_OFFSET_MACRO(THREAD, Thread, in_kernel);
36 DEFINE_OFFSET_MACRO(THREAD, Thread, flags);
37 DEFINE_OFFSET_MACRO(THREAD, Thread, kernel_stack_top);
38 DEFINE_OFFSET_MACRO(THREAD, Thread, fault_handler);
/haiku/src/bin/debug/profile/
H A DThread.cpp7 #include "Thread.h"
44 Thread::Thread(thread_id threadID, const char* name, Team* team) function in class:Thread
58 Thread::~Thread()
76 Thread::EntityID() const
83 Thread::EntityName() const
90 Thread::EntityType() const
97 Thread::SetProfileResult(ProfileResult* result)
111 Thread
[all...]

Completed in 169 milliseconds

123456789