Lines Matching refs:thread_object
68 static bool is_inqueue(struct thread_object *obj) in is_inqueue()
80 struct thread_object *tmp_obj; in update_svt()
83 tmp_obj = get_first_item(&bvt_ctl->runqueue, struct thread_object, data); in update_svt()
95 static void runqueue_add(struct thread_object *obj) in runqueue_add()
101 struct thread_object *iter_obj; in runqueue_add()
113 iter_obj = container_of(pos, struct thread_object, data); 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()
202 static void sched_bvt_init_data(struct thread_object *obj, struct sched_params * params) in sched_bvt_init_data()
233 static void update_vt(struct thread_object *obj) in update_vt()
257 static struct thread_object *sched_bvt_pick_next(struct sched_control *ctl) in sched_bvt_pick_next()
260 struct thread_object *first_obj = NULL, *second_obj = NULL; in sched_bvt_pick_next()
263 struct thread_object *next = NULL; in sched_bvt_pick_next()
264 struct thread_object *current = ctl->curr_obj; in sched_bvt_pick_next()
282 first_obj = container_of(first, struct thread_object, data); in sched_bvt_pick_next()
292 second_obj = container_of(sec, struct thread_object, data); in sched_bvt_pick_next()
312 static void sched_bvt_sleep(struct thread_object *obj) in sched_bvt_sleep()
317 static void sched_bvt_wake(struct thread_object *obj) in sched_bvt_wake()