Lines Matching refs:per_cpu
21 return (obj == &per_cpu(idle, pcpu_id)); in is_idle_thread()
41 struct sched_control *ctl = &per_cpu(sched_ctl, pcpu_id); in obtain_schedule_lock()
47 struct sched_control *ctl = &per_cpu(sched_ctl, pcpu_id); in release_schedule_lock()
53 struct sched_control *ctl = &per_cpu(sched_ctl, pcpu_id); in get_scheduler()
67 struct sched_control *ctl = &per_cpu(sched_ctl, pcpu_id); in init_sched()
69 per_cpu(mode_to_idle, pcpu_id) = IDLE_MODE_HLT; in init_sched()
70 per_cpu(mode_to_kick_pcpu, pcpu_id) = DEL_MODE_IPI; in init_sched()
95 struct sched_control *ctl = &per_cpu(sched_ctl, pcpu_id); in deinit_sched()
104 struct sched_control *ctl = &per_cpu(sched_ctl, BSP_CPU_ID); in suspend_sched()
113 struct sched_control *ctl = &per_cpu(sched_ctl, BSP_CPU_ID); in resume_sched()
145 struct sched_control *ctl = &per_cpu(sched_ctl, pcpu_id); in sched_get_current()
154 struct sched_control *ctl = &per_cpu(sched_ctl, pcpu_id); in make_reschedule_request()
164 struct sched_control *ctl = &per_cpu(sched_ctl, pcpu_id); in need_reschedule()
172 struct sched_control *ctl = &per_cpu(sched_ctl, pcpu_id); in schedule()
173 struct thread_object *next = &per_cpu(idle, pcpu_id); in schedule()