Lines Matching refs:thread_object
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()
34 static inline void set_thread_status(struct thread_object *obj, enum thread_object_state status) in set_thread_status()
60 uint16_t sched_get_pcpuid(const struct thread_object *obj) in sched_get_pcpuid()
120 void init_thread_data(struct thread_object *obj, struct sched_params *params) in init_thread_data()
134 void deinit_thread_data(struct thread_object *obj) in deinit_thread_data()
143 struct thread_object *sched_get_current(uint16_t pcpu_id) in sched_get_current()
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()
264 void run_thread(struct thread_object *obj) in run_thread()