Searched refs:current_thread (Results 1 - 12 of 12) sorted by relevance

/fuchsia/zircon/kernel/include/kernel/
H A Dinterrupt.h20 thread_t* current_thread = get_current_thread(); local
22 state->old_preempt_pending = current_thread->preempt_pending;
25 current_thread->preempt_pending = false;
34 thread_t* current_thread = get_current_thread(); local
37 if (current_thread->preempt_pending) {
49 current_thread->preempt_pending = state->old_preempt_pending;
H A Dthread.h334 #include <arch/current_thread.h>
390 thread_t* current_thread = get_current_thread(); local
392 ++current_thread->disable_counts;
402 thread_t* current_thread = get_current_thread(); local
404 uint32_t new_count = --current_thread->disable_counts;
419 thread_t* current_thread = get_current_thread(); local
421 --current_thread->disable_counts;
440 thread_t* current_thread = get_current_thread(); local
442 current_thread->disable_counts += 1 << 16;
452 thread_t* current_thread local
474 thread_t* current_thread = get_current_thread(); local
[all...]
/fuchsia/zircon/kernel/kernel/
H A Dsched.cpp295 __UNUSED thread_t* current_thread = get_current_thread(); local
297 DEBUG_ASSERT(current_thread->magic == THREAD_MAGIC);
298 DEBUG_ASSERT(current_thread->state != THREAD_RUNNING);
402 thread_t* current_thread = get_current_thread(); local
403 DEBUG_ASSERT(!thread_is_idle(current_thread));
408 current_thread->remaining_time_slice = 0;
409 deboost_thread(current_thread, false);
411 current_thread->state = THREAD_READY;
413 if (local_migrate_if_needed(current_thread)) {
417 insert_in_run_queue_tail(arch_curr_cpu_num(), current_thread); local
425 thread_t* current_thread = get_current_thread(); local
459 thread_t* current_thread = get_current_thread(); local
737 thread_t* current_thread = get_current_thread(); local
780 thread_t* current_thread = get_current_thread(); local
[all...]
H A Dthread.cpp75 static void thread_exit_locked(thread_t* current_thread, int retcode) __NO_RETURN;
473 __NO_RETURN static void thread_exit_locked(thread_t* current_thread,
481 current_thread->state = THREAD_DEATH;
482 current_thread->retcode = retcode;
485 if (current_thread->flags & THREAD_FLAG_DETACHED) {
487 list_delete(&current_thread->thread_list_node);
490 if (current_thread->stack.base || (current_thread->flags & THREAD_FLAG_FREE_STRUCT)) {
492 free_dpc.arg = (void*)current_thread;
498 wait_queue_wake_all(&current_thread
520 __UNUSED thread_t* current_thread = get_current_thread(); local
539 thread_t* current_thread = get_current_thread(); local
658 thread_t* current_thread = get_current_thread(); local
700 thread_t* current_thread = get_current_thread(); local
744 __UNUSED thread_t* current_thread = get_current_thread(); local
763 thread_t* current_thread = get_current_thread(); local
787 thread_t* current_thread = get_current_thread(); local
799 thread_t* current_thread = get_current_thread(); local
871 thread_t* current_thread = get_current_thread(); local
993 thread_t* current_thread = get_current_thread(); local
[all...]
H A Dwait.cpp201 thread_t* current_thread = get_current_thread(); local
204 DEBUG_ASSERT(current_thread->state == THREAD_RUNNING);
216 if (current_thread->interruptable &&
217 (unlikely(current_thread->signals & ~signal_mask))) {
218 if (current_thread->signals & THREAD_SIGNAL_KILL) {
220 } else if (current_thread->signals & THREAD_SIGNAL_SUSPEND) {
225 wait_queue_insert(wait, current_thread);
227 current_thread->state = THREAD_BLOCKED;
228 current_thread->blocking_wait_queue = wait;
229 current_thread
[all...]
H A Devent.cpp69 thread_t* current_thread = get_current_thread(); local
77 current_thread->interruptable = interruptable;
90 current_thread->interruptable = false;
/fuchsia/zircon/kernel/object/
H A Dsemaphore.cpp29 thread_t *current_thread = get_current_thread(); local
37 current_thread->interruptable = true;
48 current_thread->interruptable = false;
H A Dfutex_node.cpp163 thread_t* current_thread = get_current_thread(); local
165 current_thread->interruptable = true;
167 current_thread->interruptable = false;
/fuchsia/zircon/kernel/lib/lockdep/
H A Dlock_dep.cpp129 thread_t* const current_thread = get_current_thread(); local
132 thread_owner_name(current_thread, owner_name);
134 const uint64_t user_pid = current_thread->user_pid;
135 const uint64_t user_tid = current_thread->user_tid;
139 current_thread, user_pid, user_tid, owner_name, current_thread->name);
/fuchsia/zircon/kernel/arch/x86/include/arch/x86/
H A Dmp.h46 struct thread *current_thread; member in struct:x86_percpu
79 static_assert(__offsetof(struct x86_percpu, current_thread) == PERCPU_CURRENT_THREAD_OFFSET, "");
/fuchsia/zircon/kernel/vm/
H A Dvmm.cpp49 thread_t* current_thread = get_current_thread(); local
50 TRACEF("thread %s va %#" PRIxPTR ", flags 0x%x\n", current_thread->name, addr, flags);
/fuchsia/zircon/kernel/arch/x86/
H A Dfaults.cpp299 thread_t* current_thread = get_current_thread();
300 if (unlikely(current_thread->arch.page_fault_resume)) {
301 frame->ip = (uintptr_t)current_thread->arch.page_fault_resume;

Completed in 97 milliseconds