Lines Matching defs:thread
51 static void _AnalyzeCoreThreads(Thread* thread, void* data);
66 kprintf("thread id priority penalty name\n");
69 Thread* thread = threadData->GetThread();
72 thread, thread->id, thread->priority,
73 thread->priority - threadData->GetEffectivePriority(),
74 thread->name);
130 CPUEntry::PushFront(ThreadData* thread, int32 priority)
133 fRunQueue.PushFront(thread, priority);
138 CPUEntry::PushBack(ThreadData* thread, int32 priority)
141 fRunQueue.PushBack(thread, priority);
146 CPUEntry::Remove(ThreadData* thread)
149 ASSERT(thread->IsEnqueued());
150 thread->SetDequeued();
151 fRunQueue.Remove(thread);
298 CPUEntry::StartQuantumTimer(ThreadData* thread, bool wasPreempted)
306 if (!thread->IsIdle()) {
307 bigtime_t quantum = thread->GetQuantumLeft();
430 CoreEntry::PushFront(ThreadData* thread, int32 priority)
434 fRunQueue.PushFront(thread, priority);
440 CoreEntry::PushBack(ThreadData* thread, int32 priority)
444 fRunQueue.PushBack(thread, priority);
450 CoreEntry::Remove(ThreadData* thread)
454 ASSERT(!thread->IsIdle());
456 ASSERT(thread->IsEnqueued());
457 thread->SetDequeued();
459 fRunQueue.Remove(thread);
603 CoreEntry::_UnassignThread(Thread* thread, void* data)
606 ThreadData* threadData = thread->scheduler_data;
608 if (threadData->Core() == core && thread->pinned_to_cpu == 0)
740 DebugDumper::_AnalyzeCoreThreads(Thread* thread, void* data)
743 if (thread->scheduler_data->Core() == threadsData->fCore)
744 threadsData->fLoad += thread->scheduler_data->GetLoad();