Searched refs:current_thread (Results 1 - 12 of 12) sorted by relevance
/fuchsia/zircon/kernel/include/kernel/ |
H A D | interrupt.h | 20 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 D | thread.h | 334 #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 D | sched.cpp | 295 __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 D | thread.cpp | 75 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(¤t_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(¤t_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 D | wait.cpp | 201 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 D | event.cpp | 69 thread_t* current_thread = get_current_thread(); local 77 current_thread->interruptable = interruptable; 90 current_thread->interruptable = false;
|
/fuchsia/zircon/kernel/object/ |
H A D | semaphore.cpp | 29 thread_t *current_thread = get_current_thread(); local 37 current_thread->interruptable = true; 48 current_thread->interruptable = false;
|
H A D | futex_node.cpp | 163 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 D | lock_dep.cpp | 129 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 D | mp.h | 46 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 D | vmm.cpp | 49 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 D | faults.cpp | 299 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