Home
last modified time | relevance | path

Searched refs:runq (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/sys/
H A Drunq.h62 struct runq { struct
67 void runq_add(struct runq *, struct thread *, int); argument
68 void runq_add_pri(struct runq *, struct thread *, u_char, int);
69 int runq_check(struct runq *);
70 struct thread *runq_choose(struct runq *);
71 struct thread *runq_choose_from(struct runq *, u_char);
72 struct thread *runq_choose_fuzz(struct runq *, int);
73 void runq_init(struct runq *);
74 void runq_remove(struct runq *, struct thread *);
75 void runq_remove_idx(struct runq *, struct thread *, u_char *);
/f-stack/freebsd/kern/
H A Dkern_switch.c266 runq_init(struct runq *rq) in runq_init()
280 runq_clrbit(struct runq *rq, int pri) in runq_clrbit()
297 runq_findbit(struct runq *rq) in runq_findbit()
316 runq_findbit_from(struct runq *rq, u_char pri) in runq_findbit_from()
352 runq_setbit(struct runq *rq, int pri) in runq_setbit()
369 runq_add(struct runq *rq, struct thread *td, int flags) in runq_add()
410 runq_check(struct runq *rq) in runq_check()
431 runq_choose_fuzz(struct runq *rq, int fuzz) in runq_choose_fuzz()
473 runq_choose(struct runq *rq) in runq_choose()
493 runq_choose_from(struct runq *rq, u_char idx) in runq_choose_from()
[all …]
H A Dsched_4bsd.c163 static struct runq runq; variable
191 runq_init(&runq); in setup_runqs()
687 return runq_check(&runq); in sched_runnable()
1348 ts->ts_runq = &runq; in sched_add()
1413 ts->ts_runq = &runq;
1444 if (ts->ts_runq != &runq) in sched_rem()
1459 struct runq *rq; in sched_choose()
1465 rq = &runq; in sched_choose()
1481 rq = &runq; in sched_choose()
1482 td = runq_choose(&runq); in sched_choose()
[all …]
H A Dsched_ule.c93 struct runq *ts_runq; /* Run-queue we're queued on. */
251 struct runq tdq_realtime; /* real-time run queue. */
252 struct runq tdq_timeshare; /* timeshare run queue. */
253 struct runq tdq_idle; /* Queue of IDLE threads. */
322 static void runq_print(struct runq *rq);
329 static struct thread *runq_steal(struct runq *, int);
369 runq_print(struct runq *rq) in runq_print()
1111 runq_steal_from(struct runq *rq, int cpu, u_char start) in runq_steal_from()
1155 runq_steal(struct runq *rq, int cpu) in runq_steal()