Lines Matching refs:obj
26 bool is_inqueue(struct thread_object *obj) in is_inqueue() argument
28 struct sched_iorr_data *data = (struct sched_iorr_data *)obj->data; in is_inqueue()
38 void runqueue_add_head(struct thread_object *obj) in runqueue_add_head() argument
40 struct sched_iorr_control *iorr_ctl = (struct sched_iorr_control *)obj->sched_ctl->priv; in runqueue_add_head()
41 struct sched_iorr_data *data = (struct sched_iorr_data *)obj->data; in runqueue_add_head()
43 if (!is_inqueue(obj)) { in runqueue_add_head()
54 void runqueue_add_tail(struct thread_object *obj) in runqueue_add_tail() argument
56 struct sched_iorr_control *iorr_ctl = (struct sched_iorr_control *)obj->sched_ctl->priv; in runqueue_add_tail()
57 struct sched_iorr_data *data = (struct sched_iorr_data *)obj->data; in runqueue_add_tail()
59 if (!is_inqueue(obj)) { in runqueue_add_tail()
68 void runqueue_remove(struct thread_object *obj) in runqueue_remove() argument
70 struct sched_iorr_data *data = (struct sched_iorr_data *)obj->data; in runqueue_remove()
156 void sched_iorr_init_data(struct thread_object *obj, __unused struct sched_params * params) in sched_iorr_init_data() argument
160 data = (struct sched_iorr_data *)obj->data; in sched_iorr_init_data()
207 static void sched_iorr_sleep(struct thread_object *obj) in sched_iorr_sleep() argument
209 runqueue_remove(obj); in sched_iorr_sleep()
212 static void sched_iorr_wake(struct thread_object *obj) in sched_iorr_wake() argument
214 runqueue_add_head(obj); in sched_iorr_wake()