Searched refs:thread_object (Results 1 – 12 of 12) sorted by relevance
53 struct thread_object;56 struct thread_object { struct74 struct thread_object *curr_obj; argument91 void (*sleep)(struct thread_object *obj);93 void (*wake)(struct thread_object *obj);97 void (*prioritize)(struct thread_object *obj);99 void (*deinit_data)(struct thread_object *obj);111 struct thread_object *noop_thread_obj;149 void run_thread(struct thread_object *obj);150 void sleep_thread(struct thread_object *obj);[all …]
8 struct thread_object* waiting_thread;
68 static bool is_inqueue(struct thread_object *obj) in is_inqueue()80 struct thread_object *tmp_obj; in update_svt()95 static void runqueue_add(struct thread_object *obj) in runqueue_add()101 struct thread_object *iter_obj; in runqueue_add()130 static void runqueue_remove(struct thread_object *obj) in runqueue_remove()146 static int64_t get_svt(struct thread_object *obj) in get_svt()157 struct thread_object *current; in sched_tick_handler()233 static void update_vt(struct thread_object *obj) in update_vt()263 struct thread_object *next = NULL; in sched_bvt_pick_next()264 struct thread_object *current = ctl->curr_obj; in sched_bvt_pick_next()[all …]
29 static void sched_prio_init_data(struct thread_object *obj, struct sched_params *params) in sched_prio_init_data()38 static struct thread_object *sched_prio_pick_next(struct sched_control *ctl) in sched_prio_pick_next()41 struct thread_object *next = NULL; in sched_prio_pick_next()44 next = get_first_item(&prio_ctl->prio_queue, struct thread_object, data); in sched_prio_pick_next()52 static void prio_queue_add(struct thread_object *obj) in prio_queue_add()76 static void prio_queue_remove(struct thread_object *obj) in prio_queue_remove()83 static void sched_prio_sleep(struct thread_object *obj) in sched_prio_sleep()88 static void sched_prio_wake(struct thread_object *obj) in sched_prio_wake()
26 bool is_inqueue(struct thread_object *obj) in is_inqueue()38 void runqueue_add_head(struct thread_object *obj) in runqueue_add_head()54 void runqueue_add_tail(struct thread_object *obj) in runqueue_add_tail()68 void runqueue_remove(struct thread_object *obj) in runqueue_remove()79 struct thread_object *current; in sched_tick_handler()165 static struct thread_object *sched_iorr_pick_next(struct sched_control *ctl) in sched_iorr_pick_next()168 struct thread_object *next = NULL; in sched_iorr_pick_next()169 struct thread_object *current = NULL; in sched_iorr_pick_next()194 next = get_first_item(&iorr_ctl->runqueue, struct thread_object, data); in sched_iorr_pick_next()207 static void sched_iorr_sleep(struct thread_object *obj) in sched_iorr_sleep()[all …]
18 bool is_idle_thread(const struct thread_object *obj) in is_idle_thread()24 static inline bool is_blocked(const struct thread_object *obj) in is_blocked()29 static inline bool is_running(const struct thread_object *obj) in is_running()60 uint16_t sched_get_pcpuid(const struct thread_object *obj) in sched_get_pcpuid()134 void deinit_thread_data(struct thread_object *obj) in deinit_thread_data()173 struct thread_object *next = &per_cpu(idle, pcpu_id); in schedule()174 struct thread_object *prev = ctl->curr_obj; in schedule()211 void sleep_thread(struct thread_object *obj) in sleep_thread()230 void sleep_thread_sync(struct thread_object *obj) in sleep_thread_sync()238 void wake_thread(struct thread_object *obj) in wake_thread()[all …]
18 static struct thread_object *sched_noop_pick_next(struct sched_control *ctl) in sched_noop_pick_next()21 struct thread_object *next = NULL; in sched_noop_pick_next()31 static void sched_noop_sleep(struct thread_object *obj) in sched_noop_sleep()40 static void sched_noop_wake(struct thread_object *obj) in sched_noop_wake()
18 void vcpu_thread(struct thread_object *obj) in vcpu_thread()77 void default_idle(__unused struct thread_object *obj) in default_idle()97 struct thread_object *idle = &per_cpu(idle, pcpu_id); in run_idle_thread()
316 struct thread_object thread_obj;376 void default_idle(__unused struct thread_object *obj);377 void vcpu_thread(struct thread_object *obj);
45 struct thread_object idle;
44 struct thread_object *current; in do_logmsg()
274 struct thread_object *curr = sched_get_current(pcpu_id); in get_running_vcpu()924 static void context_switch_out(struct thread_object *prev) in context_switch_out()940 static void context_switch_in(struct thread_object *next) in context_switch_in()
Completed in 15 milliseconds