Searched refs:ctl (Results 1 – 6 of 6) sorted by relevance
54 return ctl->scheduler; in get_scheduler()73 ctl->flags = 0UL; in init_sched()74 ctl->curr_obj = NULL; in init_sched()75 ctl->pcpu_id = pcpu_id; in init_sched()89 ctl->scheduler->init(ctl); in init_sched()98 ctl->scheduler->deinit(ctl); in deinit_sched()107 ctl->scheduler->suspend(ctl); in suspend_sched()116 ctl->scheduler->resume(ctl); in resume_sched()146 return ctl->curr_obj; in sched_get_current()180 next = ctl->scheduler->pick_next(ctl); in schedule()[all …]
85 current = ctl->curr_obj; in sched_tick_handler()104 int sched_iorr_add_timer(struct sched_control *ctl) in sched_iorr_add_timer() argument130 int sched_iorr_init(struct sched_control *ctl) in sched_iorr_init() argument136 ctl->priv = iorr_ctl; in sched_iorr_init()138 return sched_iorr_add_timer(ctl); in sched_iorr_init()141 void sched_iorr_deinit(struct sched_control *ctl) in sched_iorr_deinit() argument143 sched_iorr_del_timer(ctl); in sched_iorr_deinit()148 sched_iorr_del_timer(ctl); in sched_iorr_suspend()151 static void sched_iorr_resume(struct sched_control *ctl) in sched_iorr_resume() argument153 sched_iorr_add_timer(ctl); in sched_iorr_resume()[all …]
10 static int32_t sched_noop_init(struct sched_control *ctl) in sched_noop_init() argument12 struct sched_noop_control *noop_ctl = &per_cpu(sched_noop_ctl, ctl->pcpu_id); in sched_noop_init()13 ctl->priv = noop_ctl; in sched_noop_init()18 static struct thread_object *sched_noop_pick_next(struct sched_control *ctl) in sched_noop_pick_next() argument20 struct sched_noop_control *noop_ctl = (struct sched_noop_control *)ctl->priv; in sched_noop_pick_next()
155 struct sched_control *ctl = (struct sched_control *)param; in sched_tick_handler() local156 struct sched_bvt_control *bvt_ctl = (struct sched_bvt_control *)ctl->priv; in sched_tick_handler()162 current = ctl->curr_obj; in sched_tick_handler()180 static int sched_bvt_init(struct sched_control *ctl) in sched_bvt_init() argument185 ASSERT(ctl->pcpu_id == get_pcpu_id(), "Init scheduler on wrong CPU!"); in sched_bvt_init()187 ctl->priv = bvt_ctl; in sched_bvt_init()191 initialize_timer(&bvt_ctl->tick_timer, sched_tick_handler, ctl, 0, 0); in sched_bvt_init()196 static void sched_bvt_deinit(struct sched_control *ctl) in sched_bvt_deinit() argument218 static void sched_bvt_suspend(struct sched_control *ctl) in sched_bvt_suspend() argument220 sched_bvt_deinit(ctl); in sched_bvt_suspend()[all …]
17 static int sched_prio_init(struct sched_control *ctl) in sched_prio_init() argument19 struct sched_prio_control *prio_ctl = &per_cpu(sched_prio_ctl, ctl->pcpu_id); in sched_prio_init()21 ASSERT(ctl->pcpu_id == get_pcpu_id(), "Init scheduler on wrong CPU!"); in sched_prio_init()23 ctl->priv = prio_ctl; in sched_prio_init()38 static struct thread_object *sched_prio_pick_next(struct sched_control *ctl) in sched_prio_pick_next() argument40 struct sched_prio_control *prio_ctl = (struct sched_prio_control *)ctl->priv; in sched_prio_pick_next()
85 int32_t (*init)(struct sched_control *ctl);89 struct thread_object* (*pick_next)(struct sched_control *ctl);95 void (*yield)(struct sched_control *ctl);101 void (*deinit)(struct sched_control *ctl);103 void (*suspend)(struct sched_control *ctl);105 void (*resume)(struct sched_control *ctl);
Completed in 13 milliseconds