Lines Matching refs:thread
84 void sched_exit(struct proc *p, struct thread *childtd);
85 void sched_fork(struct thread *td, struct thread *childtd);
86 void sched_fork_exit(struct thread *td);
87 void sched_class(struct thread *td, int class);
94 void sched_exit_thread(struct thread *td, struct thread *child);
95 u_int sched_estcpu(struct thread *td);
96 void sched_fork_thread(struct thread *td, struct thread *child);
97 void sched_lend_prio(struct thread *td, u_char prio);
98 void sched_lend_user_prio(struct thread *td, u_char pri);
99 void sched_lend_user_prio_cond(struct thread *td, u_char pri);
100 fixpt_t sched_pctcpu(struct thread *td);
101 void sched_prio(struct thread *td, u_char prio);
102 void sched_sleep(struct thread *td, int prio);
103 void sched_switch(struct thread *td, int flags);
104 void sched_throw(struct thread *td);
105 void sched_unlend_prio(struct thread *td, u_char prio);
106 void sched_user_prio(struct thread *td, u_char prio);
107 void sched_userret_slowpath(struct thread *td);
110 fixpt_t sched_pctcpu_delta(struct thread *td);
115 sched_userret(struct thread *td) in sched_userret()
136 void sched_add(struct thread *td, int flags);
137 struct thread *sched_choose(void);
138 void sched_clock(struct thread *td, int cnt);
140 void sched_preempt(struct thread *td);
141 void sched_relinquish(struct thread *td);
142 void sched_rem(struct thread *td);
143 void sched_wakeup(struct thread *td, int srqflags);
149 void sched_bind(struct thread *td, int cpu);
151 void sched_unbind(struct thread *td);
153 int sched_is_bound(struct thread *td);
154 void sched_affinity(struct thread *td);
167 char *sched_tdname(struct thread *td);
169 void sched_clear_tdname(struct thread *td);