Searched refs:runq (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.1-release/sys/pc98/include/
H A Drunq.h6 #include <i386/runq.h>
/freebsd-10.1-release/sys/sys/
H A Drunq.h32 #include <machine/runq.h>
60 struct runq { struct
65 void runq_add(struct runq *, struct thread *, int);
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 *, struc
[all...]
H A Dproc.h54 #include <sys/runq.h>
/freebsd-10.1-release/sys/kern/
H A Dkern_switch.c235 runq_init(struct runq *rq)
249 runq_clrbit(struct runq *rq, int pri)
266 runq_findbit(struct runq *rq)
285 runq_findbit_from(struct runq *rq, u_char pri)
321 runq_setbit(struct runq *rq, int pri)
338 runq_add(struct runq *rq, struct thread *td, int flags)
357 runq_add_pri(struct runq *rq, struct thread *td, u_char pri, int flags)
379 runq_check(struct runq *rq)
400 runq_choose_fuzz(struct runq *rq, int fuzz)
442 runq_choose(struct runq *r
[all...]
H A Dsched_4bsd.c99 struct runq *ts_runq; /* runq the thread is currently on */
114 ((ts)->ts_runq != 0 && (ts)->ts_runq != &runq)
157 static struct runq runq; variable in typeref:struct:runq
163 static struct runq runq_pcpu[MAXCPU];
185 runq_init(&runq);
698 return runq_check(&runq) + runq_check(&runq_pcpu[PCPU_GET(cpuid)]);
700 return runq_check(&runq);
1274 KTR_STATE2(KTR_SCHED, "thread", sched_tdname(td), "runq ad
[all...]
H A Dsched_ule.c91 struct runq *ts_runq; /* Run-queue we're queued on. */
180 * INTERACT_THRESH: Threshold for placement on the current runq.
246 struct runq tdq_realtime; /* real-time run queue. */
247 struct runq tdq_timeshare; /* timeshare run queue. */
248 struct runq tdq_idle; /* Queue of IDLE threads. */
315 static void runq_print(struct runq *rq);
322 static struct thread *runq_steal(struct runq *, int);
363 runq_print(struct runq *rq)
407 printf("\trealtime runq:\n");
409 printf("\ttimeshare runq
[all...]
/freebsd-10.1-release/tools/KSE/ksetest/
H A Dkse_threads_test.c68 struct uts_runq *runq; member in struct:uts_data
237 data->runq = q;
415 runq_insert(data->runq, tm);
419 simplelock_lock(&data->runq->lock);
424 if ((data->runq->head != NULL) && SIGNOTEMPTY(km->km_sigscaught)) {
427 signalcontext(&data->runq->head->tm_context,
437 p = runq_remove_nolock(data->runq);
438 simplelock_unlock(&data->runq->lock);
490 runq_insert(data->runq, tm);
/freebsd-10.1-release/tools/KSE/rr/
H A Drr.c72 struct uts_runq *runq; member in struct:uts_data
182 data->runq = q;
345 runq_insert(data->runq, tm);
352 simplelock_lock(&data->runq->lock);
353 p = runq_remove_nolock(data->runq);
354 simplelock_unlock(&data->runq->lock);
401 runq_insert(data->runq, tm);
/freebsd-10.1-release/sys/dev/usb/
H A Dusb_process.h33 #include <sys/runq.h>

Completed in 104 milliseconds