Home
last modified time | relevance | path

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

/freebsd-14.2/sys/sys/
H A Drunq.h60 struct runq { struct
65 void runq_add(struct runq *, struct thread *, int); argument
66 void runq_add_pri(struct runq *, struct thread *, u_char, int);
67 int runq_check(struct runq *);
68 struct thread *runq_choose(struct runq *);
69 struct thread *runq_choose_from(struct runq *, u_char);
70 struct thread *runq_choose_fuzz(struct runq *, int);
71 void runq_init(struct runq *);
72 void runq_remove(struct runq *, struct thread *);
73 void runq_remove_idx(struct runq *, struct thread *, u_char *);
/freebsd-14.2/sys/kern/
H A Dkern_switch.c260 runq_init(struct runq *rq) in runq_init()
274 runq_clrbit(struct runq *rq, int pri) in runq_clrbit()
291 runq_findbit(struct runq *rq) in runq_findbit()
310 runq_findbit_from(struct runq *rq, u_char pri) in runq_findbit_from()
346 runq_setbit(struct runq *rq, int pri) in runq_setbit()
363 runq_add(struct runq *rq, struct thread *td, int flags) in runq_add()
404 runq_check(struct runq *rq) in runq_check()
425 runq_choose_fuzz(struct runq *rq, int fuzz) in runq_choose_fuzz()
467 runq_choose(struct runq *rq) in runq_choose()
487 runq_choose_from(struct runq *rq, u_char idx) in runq_choose_from()
[all …]
H A Dsched_4bsd.c161 static struct runq runq; variable
189 runq_init(&runq); in setup_runqs()
692 return runq_check(&runq); in sched_runnable()
1381 ts->ts_runq = &runq; in sched_add()
1446 ts->ts_runq = &runq;
1477 if (ts->ts_runq != &runq) in sched_rem()
1492 struct runq *rq; in sched_choose()
1498 rq = &runq; in sched_choose()
1514 rq = &runq; in sched_choose()
1515 td = runq_choose(&runq); in sched_choose()
[all …]
H A Dsched_ule.c91 struct runq *ts_runq; /* Run-queue we're queued on. */
258 struct runq tdq_realtime; /* (t) real-time run queue. */
259 struct runq tdq_timeshare; /* (t) timeshare run queue. */
260 struct runq tdq_idle; /* (t) Queue of IDLE threads. */
340 static void runq_print(struct runq *rq);
347 static struct thread *runq_steal(struct runq *, int);
387 runq_print(struct runq *rq) in runq_print()
1186 runq_steal_from(struct runq *rq, int cpu, u_char start) in runq_steal_from()
1232 runq_steal(struct runq *rq, int cpu) in runq_steal()
/freebsd-14.2/include/arm/
H A DMakefile35 runq.h \
/freebsd-14.2/tools/build/test-includes/
H A Dbadfiles.inc108 sys/runq.h \