Searched refs:obj (Results 1 – 8 of 8) sorted by relevance
20 uint16_t pcpu_id = obj->pcpu_id; in is_idle_thread()36 obj->status = status; in set_thread_status()62 return obj->pcpu_id; in sched_get_pcpuid()219 scheduler->sleep(obj); in sleep_thread()221 if (is_running(obj)) { in sleep_thread()223 obj->be_blocking = true; in sleep_thread()232 sleep_thread(obj); in sleep_thread_sync()245 if (is_blocked(obj) || obj->be_blocking) { in wake_thread()248 scheduler->wake(obj); in wake_thread()250 if (is_blocked(obj)) { in wake_thread()[all …]
26 bool is_inqueue(struct thread_object *obj) in is_inqueue() argument38 void runqueue_add_head(struct thread_object *obj) in runqueue_add_head() argument43 if (!is_inqueue(obj)) { in runqueue_add_head()54 void runqueue_add_tail(struct thread_object *obj) in runqueue_add_tail() argument59 if (!is_inqueue(obj)) { in runqueue_add_tail()68 void runqueue_remove(struct thread_object *obj) in runqueue_remove() argument160 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() argument209 runqueue_remove(obj); in sched_iorr_sleep()212 static void sched_iorr_wake(struct thread_object *obj) in sched_iorr_wake() argument[all …]
29 static void sched_prio_init_data(struct thread_object *obj, struct sched_params *params) in sched_prio_init_data() argument33 data = (struct sched_prio_data *)obj->data; in sched_prio_init_data()52 static void prio_queue_add(struct thread_object *obj) in prio_queue_add() argument55 (struct sched_prio_control *)obj->sched_ctl->priv; in prio_queue_add()56 struct sched_prio_data *data = (struct sched_prio_data *)obj->data; in prio_queue_add()76 static void prio_queue_remove(struct thread_object *obj) in prio_queue_remove() argument78 struct sched_prio_data *data = (struct sched_prio_data *)obj->data; in prio_queue_remove()83 static void sched_prio_sleep(struct thread_object *obj) in sched_prio_sleep() argument85 prio_queue_remove(obj); in sched_prio_sleep()88 static void sched_prio_wake(struct thread_object *obj) in sched_prio_wake() argument[all …]
68 static bool is_inqueue(struct thread_object *obj) in is_inqueue() argument120 if (!is_inqueue(obj)) { in runqueue_add()206 data = (struct sched_bvt_data *)obj->data; in sched_bvt_init_data()239 data = (struct sched_bvt_data *)obj->data; in update_vt()251 if (is_inqueue(obj)) { in update_vt()252 runqueue_remove(obj); in update_vt()253 runqueue_add(obj); in update_vt()314 runqueue_remove(obj); in sched_bvt_sleep()322 data = (struct sched_bvt_data *)obj->data; in sched_bvt_wake()323 svt = get_svt(obj); in sched_bvt_wake()[all …]
31 static void sched_noop_sleep(struct thread_object *obj) in sched_noop_sleep() argument33 struct sched_noop_control *noop_ctl = (struct sched_noop_control *)obj->sched_ctl->priv; in sched_noop_sleep()35 if (noop_ctl->noop_thread_obj == obj) { in sched_noop_sleep()40 static void sched_noop_wake(struct thread_object *obj) in sched_noop_wake() argument42 struct sched_noop_control *noop_ctl = (struct sched_noop_control *)obj->sched_ctl->priv; in sched_noop_wake()45 noop_ctl->noop_thread_obj = obj; in sched_noop_wake()
18 void vcpu_thread(struct thread_object *obj) in vcpu_thread() argument20 struct acrn_vcpu *vcpu = container_of(obj, struct acrn_vcpu, thread_obj); in vcpu_thread()77 void default_idle(__unused struct thread_object *obj) in default_idle() argument
55 typedef void (*switch_t)(struct thread_object *obj);91 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);132 bool is_idle_thread(const struct thread_object *obj);144 void deinit_thread_data(struct thread_object *obj);149 void run_thread(struct thread_object *obj);150 void sleep_thread(struct thread_object *obj);151 void sleep_thread_sync(struct thread_object *obj);[all …]
376 void default_idle(__unused struct thread_object *obj);377 void vcpu_thread(struct thread_object *obj);
Completed in 13 milliseconds