/kernel/linux/linux-6.6/kernel/sched/ |
H A D | deadline.c | 63 static inline struct rq *rq_of_dl_rq(struct dl_rq *dl_rq) in rq_of_dl_rq() argument 65 return container_of(dl_rq, struct rq, dl); in rq_of_dl_rq() 68 static inline struct dl_rq *dl_rq_of_se(struct sched_dl_entity *dl_se) in dl_rq_of_se() 207 struct dl_rq *dl = container_of(dl_b, struct dl_rq, dl_bw); in __dl_update() 235 void __add_running_bw(u64 dl_bw, struct dl_rq *dl_rq) in __add_running_bw() argument 237 u64 old = dl_rq->running_bw; in __add_running_bw() 239 lockdep_assert_rq_held(rq_of_dl_rq(dl_rq)); in __add_running_bw() 248 __sub_running_bw(u64 dl_bw, struct dl_rq *dl_rq) __sub_running_bw() argument 262 __add_rq_bw(u64 dl_bw, struct dl_rq *dl_rq) __add_rq_bw() argument 272 __sub_rq_bw(u64 dl_bw, struct dl_rq *dl_rq) __sub_rq_bw() argument 285 add_rq_bw(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) add_rq_bw() argument 292 sub_rq_bw(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) sub_rq_bw() argument 299 add_running_bw(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) add_running_bw() argument 306 sub_running_bw(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) sub_running_bw() argument 397 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); task_non_contending() local 451 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); task_contending() local 486 is_leftmost(struct task_struct *p, struct dl_rq *dl_rq) is_leftmost() argument 505 init_dl_rq(struct dl_rq *dl_rq) init_dl_rq() argument 557 update_dl_migration(struct dl_rq *dl_rq) update_dl_migration() argument 570 inc_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) inc_dl_migration() argument 580 dec_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) dec_dl_migration() argument 617 struct dl_rq *dl_rq = &rq->dl; dequeue_pushable_dl_task() local 747 inc_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) inc_dl_migration() argument 752 dec_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) dec_dl_migration() argument 791 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); setup_new_dl_entity() local 833 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); replenish_dl_entity() local 1014 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); update_dl_entity() local 1455 inc_dl_deadline(struct dl_rq *dl_rq, u64 deadline) inc_dl_deadline() argument 1468 dec_dl_deadline(struct dl_rq *dl_rq, u64 deadline) dec_dl_deadline() argument 1492 inc_dl_deadline(struct dl_rq *dl_rq, u64 deadline) inc_dl_deadline() argument 1493 dec_dl_deadline(struct dl_rq *dl_rq, u64 deadline) dec_dl_deadline() argument 1498 inc_dl_tasks(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) inc_dl_tasks() argument 1513 dec_dl_tasks(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) dec_dl_tasks() argument 1539 update_stats_wait_start_dl(struct dl_rq *dl_rq, struct sched_dl_entity *dl_se) update_stats_wait_start_dl() argument 1551 update_stats_wait_end_dl(struct dl_rq *dl_rq, struct sched_dl_entity *dl_se) update_stats_wait_end_dl() argument 1563 update_stats_enqueue_sleeper_dl(struct dl_rq *dl_rq, struct sched_dl_entity *dl_se) update_stats_enqueue_sleeper_dl() argument 1575 update_stats_enqueue_dl(struct dl_rq *dl_rq, struct sched_dl_entity *dl_se, int flags) update_stats_enqueue_dl() argument 1586 update_stats_dequeue_dl(struct dl_rq *dl_rq, struct sched_dl_entity *dl_se, int flags) update_stats_dequeue_dl() argument 1610 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); __enqueue_dl_entity() local 1621 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); __dequeue_dl_entity() local 1978 struct dl_rq *dl_rq = &rq->dl; set_next_task_dl() local 1999 pick_next_dl_entity(struct dl_rq *dl_rq) pick_next_dl_entity() argument 2012 struct dl_rq *dl_rq = &rq->dl; pick_task_dl() local 2039 struct dl_rq *dl_rq = &rq->dl; put_prev_task_dl() local 2805 init_dl_rq_bw_ratio(struct dl_rq *dl_rq) init_dl_rq_bw_ratio() argument [all...] |
H A D | debug.c | 740 void print_dl_rq(struct seq_file *m, int cpu, struct dl_rq *dl_rq) in print_dl_rq() argument 745 SEQ_printf(m, "dl_rq[%d]:\n", cpu); in print_dl_rq() 748 SEQ_printf(m, " .%-30s: %lu\n", #x, (unsigned long)(dl_rq->x)) in print_dl_rq() 755 dl_bw = &dl_rq->dl_bw; in print_dl_rq()
|
H A D | sched.h | 807 struct dl_rq { struct 1104 struct dl_rq dl; 3027 extern void print_dl_rq(struct seq_file *m, int cpu, struct dl_rq *dl_rq); 3043 extern void init_dl_rq(struct dl_rq *dl_rq);
|
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | deadline.c | 30 static inline struct rq *rq_of_dl_rq(struct dl_rq *dl_rq) in rq_of_dl_rq() argument 32 return container_of(dl_rq, struct rq, dl); in rq_of_dl_rq() 35 static inline struct dl_rq *dl_rq_of_se(struct sched_dl_entity *dl_se) in dl_rq_of_se() 142 void __add_running_bw(u64 dl_bw, struct dl_rq *dl_rq) in __add_running_bw() argument 144 u64 old = dl_rq->running_bw; in __add_running_bw() 146 lockdep_assert_held(&(rq_of_dl_rq(dl_rq))->lock); in __add_running_bw() 147 dl_rq->running_bw += dl_bw; in __add_running_bw() 148 SCHED_WARN_ON(dl_rq in __add_running_bw() 155 __sub_running_bw(u64 dl_bw, struct dl_rq *dl_rq) __sub_running_bw() argument 169 __add_rq_bw(u64 dl_bw, struct dl_rq *dl_rq) __add_rq_bw() argument 179 __sub_rq_bw(u64 dl_bw, struct dl_rq *dl_rq) __sub_rq_bw() argument 192 add_rq_bw(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) add_rq_bw() argument 199 sub_rq_bw(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) sub_rq_bw() argument 206 add_running_bw(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) add_running_bw() argument 213 sub_running_bw(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) sub_running_bw() argument 304 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); task_non_contending() local 358 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); task_contending() local 393 is_leftmost(struct task_struct *p, struct dl_rq *dl_rq) is_leftmost() argument 421 init_dl_rq(struct dl_rq *dl_rq) init_dl_rq() argument 473 update_dl_migration(struct dl_rq *dl_rq) update_dl_migration() argument 486 inc_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) inc_dl_migration() argument 496 dec_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) dec_dl_migration() argument 512 struct dl_rq *dl_rq = &rq->dl; enqueue_pushable_dl_task() local 542 struct dl_rq *dl_rq = &rq->dl; dequeue_pushable_dl_task() local 677 inc_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) inc_dl_migration() argument 682 dec_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) dec_dl_migration() argument 722 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); setup_new_dl_entity() local 765 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); replenish_dl_entity() local 949 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); update_dl_entity() local 1396 inc_dl_deadline(struct dl_rq *dl_rq, u64 deadline) inc_dl_deadline() argument 1407 dec_dl_deadline(struct dl_rq *dl_rq, u64 deadline) dec_dl_deadline() argument 1431 inc_dl_deadline(struct dl_rq *dl_rq, u64 deadline) inc_dl_deadline() argument 1432 dec_dl_deadline(struct dl_rq *dl_rq, u64 deadline) dec_dl_deadline() argument 1437 inc_dl_tasks(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) inc_dl_tasks() argument 1452 dec_dl_tasks(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) dec_dl_tasks() argument 1468 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); __enqueue_dl_entity() local 1495 struct dl_rq *dl_rq = dl_rq_of_se(dl_se); __dequeue_dl_entity() local 1854 pick_next_dl_entity(struct dl_rq *dl_rq) pick_next_dl_entity() argument 1867 struct dl_rq *dl_rq = &rq->dl; pick_next_task_dl() local 2610 init_dl_rq_bw_ratio(struct dl_rq *dl_rq) init_dl_rq_bw_ratio() argument [all...] |
H A D | debug.c | 662 void print_dl_rq(struct seq_file *m, int cpu, struct dl_rq *dl_rq) in print_dl_rq() argument 667 SEQ_printf(m, "dl_rq[%d]:\n", cpu); in print_dl_rq() 670 SEQ_printf(m, " .%-30s: %lu\n", #x, (unsigned long)(dl_rq->x)) in print_dl_rq() 677 dl_bw = &dl_rq->dl_bw; in print_dl_rq()
|
H A D | sched.h | 761 struct dl_rq { struct 1037 struct dl_rq dl; 2435 extern void print_dl_rq(struct seq_file *m, int cpu, struct dl_rq *dl_rq); 2447 extern void init_dl_rq(struct dl_rq *dl_rq); 2488 struct dl_rq *dl = container_of(dl_b, struct dl_rq, dl_bw); in __dl_update()
|