Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Drunq.h98 struct runq { struct
103 void runq_init(struct runq *); argument
104 bool runq_is_queue_empty(struct runq *, int _idx);
105 void runq_add(struct runq *, struct thread *, int _flags);
106 void runq_add_idx(struct runq *, struct thread *, int _idx, int _flags);
107 bool runq_remove(struct runq *, struct thread *);
114 int runq_findq(struct runq *const rq, const int lvl_min,
117 struct thread *runq_first_thread_range(struct runq *const rq,
120 bool runq_not_empty(struct runq *);
121 struct thread *runq_choose(struct runq *);
[all …]
/freebsd/sys/kern/
H A Dkern_switch.c272 static inline uintptr_t runq_sw_apply(struct runq *rq, int idx,
283 static inline void runq_sw_set_not_empty(struct runq *rq, int idx);
284 static inline void runq_sw_set_empty(struct runq *rq, int idx);
285 static inline bool runq_sw_is_empty(struct runq *rq, int idx);
291 runq_init(struct runq *rq) in runq_init()
308 runq_sw_apply(struct runq *rq, int idx, runq_sw_op *op) in runq_sw_apply()
342 runq_sw_set_not_empty(struct runq *rq, int idx) in runq_sw_set_not_empty()
367 runq_sw_set_empty(struct runq *rq, int idx) in runq_sw_set_empty()
383 runq_sw_is_empty(struct runq *rq, int idx) in runq_sw_is_empty()
392 runq_is_queue_empty(struct runq *rq, int idx) in runq_is_queue_empty()
[all …]
H A Dsched_4bsd.c100 struct runq *ts_runq; /* runq the thread is currently on */
117 ((ts)->ts_runq != 0 && (ts)->ts_runq != &runq)
161 static struct runq runq; variable
167 static struct runq runq_pcpu[MAXCPU];
189 runq_init(&runq); in setup_runqs()
687 return (runq_not_empty(&runq) || in sched_4bsd_runnable()
690 return (runq_not_empty(&runq)); in sched_4bsd_runnable()
1377 ts->ts_runq = &runq; in sched_4bsd_add()
1442 ts->ts_runq = &runq;
1473 if (ts->ts_runq != &runq) in sched_4bsd_rem()
[all …]
H A Dsched_ule.c287 struct runq tdq_runq; /* (t) Run queue. */
362 static inline struct thread *runq_choose_realtime(struct runq *const rq);
363 static inline struct thread *runq_choose_timeshare(struct runq *const rq,
365 static inline struct thread *runq_choose_idle(struct runq *const rq);
376 static void runq_print(struct runq *rq);
385 static inline struct thread *runq_steal_range(struct runq *const rq,
387 static inline struct thread *runq_steal_realtime(struct runq *const rq,
389 static inline struct thread *runq_steal_timeshare(struct runq *const rq,
391 static inline struct thread *runq_steal_idle(struct runq *const rq,
406 runq_print(struct runq *rq) in runq_print()
[all …]
/freebsd/tools/build/test-includes/
H A Dbadfiles.inc99 sys/runq.h \
/freebsd/
H A DObsoleteFiles.inc739 # 20250728: Machine versions of 'runq.h' do not exist anymore
740 OLD_FILES+=usr/include/machine/runq.h