Home
last modified time | relevance | path

Searched refs:pinned_cpu (Results 1 – 3 of 3) sorted by relevance

/lk-master/kernel/include/kernel/
A Dthread.h84 int pinned_cpu; /* only run on pinned_cpu if >= 0 */ member
117 #define thread_pinned_cpu(t) ((t)->pinned_cpu)
119 #define thread_set_pinned_cpu(t, c) ((t)->pinned_cpu = (c))
/lk-master/kernel/
A Dthread.c104 int pinned_cpu = thread_pinned_cpu(t); in wakeup_cpu_for_thread() local
105 if (pinned_cpu < 0) in wakeup_cpu_for_thread()
108 mp_reschedule(1U << pinned_cpu, 0); in wakeup_cpu_for_thread()
440 if (newthread->pinned_cpu < 0 || newthread->pinned_cpu == cpu) in get_top_thread()
964 … thread_state_to_str(t->state), t->curr_cpu, t->pinned_cpu, t->priority, t->remaining_quantum); in dump_thread()
1187 int pinned_cpu = thread_pinned_cpu(t); in wait_queue_wake_all() local
1188 if (pinned_cpu < 0) { in wait_queue_wake_all()
1192 cpu_mask |= (1U << pinned_cpu); in wait_queue_wake_all()
/lk-master/top/
A Dmain.c175 t->pinned_cpu = i + 1; in lk_init_secondary_cpus()

Completed in 7 milliseconds