Home
last modified time | relevance | path

Searched refs:runq (Results 1 – 8 of 8) 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_ule.c293 struct runq tdq_runq; /* (t) Run queue. */
368 static inline struct thread *runq_choose_realtime(struct runq *const rq);
369 static inline struct thread *runq_choose_timeshare(struct runq *const rq,
371 static inline struct thread *runq_choose_idle(struct runq *const rq);
382 static void runq_print(struct runq *rq);
391 static inline struct thread *runq_steal_range(struct runq *const rq,
393 static inline struct thread *runq_steal_realtime(struct runq *const rq,
395 static inline struct thread *runq_steal_timeshare(struct runq *const rq,
397 static inline struct thread *runq_steal_idle(struct runq *const rq,
412 runq_print(struct runq *rq) in runq_print()
[all …]
H A Dsched_4bsd.c172 static struct runq runq_global;
178 DPCPU_DEFINE_STATIC(struct runq, runq_pcpu);
1501 struct runq *runq; in sched_4bsd_choose() local
1507 runq = &runq_global; in sched_4bsd_choose()
1517 runq = DPCPU_PTR(runq_pcpu); in sched_4bsd_choose()
1523 runq = &runq_global; in sched_4bsd_choose()
1532 runq_remove(runq, td); in sched_4bsd_choose()
/freebsd/.github/
H A DCODEOWNERS133 sys/sys/runq.h @OlCe2
/freebsd/tools/build/test-includes/
H A Dbadfiles.inc99 sys/runq.h \
/freebsd/
H A DMAINTAINERS125 sys/sys/runq.h olce,#scheduler Pre-commit review requested.
H A DObsoleteFiles.inc813 # 20250728: Machine versions of 'runq.h' do not exist anymore
814 OLD_FILES+=usr/include/machine/runq.h