/kernel/linux/linux-6.6/kernel/sched/ |
H A D | deadline.c | 58 static inline struct task_struct *dl_task_of(struct sched_dl_entity *dl_se) in dl_task_of() argument 60 return container_of(dl_se, struct task_struct, dl); in dl_task_of() 68 static inline struct dl_rq *dl_rq_of_se(struct sched_dl_entity *dl_se) in dl_rq_of_se() argument 70 struct task_struct *p = dl_task_of(dl_se); in dl_rq_of_se() 76 static inline int on_dl_rq(struct sched_dl_entity *dl_se) in on_dl_rq() argument 78 return !RB_EMPTY_NODE(&dl_se->rb_node); in on_dl_rq() 82 static inline struct sched_dl_entity *pi_of(struct sched_dl_entity *dl_se) in pi_of() argument 84 return dl_se->pi_se; in pi_of() 87 static inline bool is_dl_boosted(struct sched_dl_entity *dl_se) in is_dl_boosted() argument 89 return pi_of(dl_se) ! in is_dl_boosted() 92 pi_of(struct sched_dl_entity *dl_se) pi_of() argument 97 is_dl_boosted(struct sched_dl_entity *dl_se) is_dl_boosted() 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 395 struct sched_dl_entity *dl_se = &p->dl; task_non_contending() local 449 task_contending(struct sched_dl_entity *dl_se, int flags) task_contending() argument 488 struct sched_dl_entity *dl_se = &p->dl; is_leftmost() local 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 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 769 replenish_dl_new_period(struct sched_dl_entity *dl_se, struct rq *rq) replenish_dl_new_period() argument 789 setup_new_dl_entity(struct sched_dl_entity *dl_se) setup_new_dl_entity() argument 831 replenish_dl_entity(struct sched_dl_entity *dl_se) replenish_dl_entity() argument 903 dl_entity_overflow(struct sched_dl_entity *dl_se, u64 t) dl_entity_overflow() argument 951 update_dl_revised_wakeup(struct sched_dl_entity *dl_se, struct rq *rq) update_dl_revised_wakeup() argument 977 dl_is_implicit(struct sched_dl_entity *dl_se) dl_is_implicit() argument 1012 update_dl_entity(struct sched_dl_entity *dl_se) update_dl_entity() argument 1031 dl_next_period(struct sched_dl_entity *dl_se) dl_next_period() argument 1048 struct sched_dl_entity *dl_se = &p->dl; start_dl_timer() local 1106 struct sched_dl_entity *dl_se = container_of(timer, dl_task_timer() local 1211 init_dl_task_timer(struct sched_dl_entity *dl_se) init_dl_task_timer() argument 1237 dl_check_constrained_dl(struct sched_dl_entity *dl_se) dl_check_constrained_dl() argument 1253 dl_runtime_exceeded(struct sched_dl_entity *dl_se) dl_runtime_exceeded() argument 1275 grub_reclaim(u64 delta, struct rq *rq, struct sched_dl_entity *dl_se) grub_reclaim() argument 1302 struct sched_dl_entity *dl_se = &curr->dl; update_curr_dl() local 1402 struct sched_dl_entity *dl_se = container_of(timer, inactive_task_timer() local 1442 init_dl_inactive_task_timer(struct sched_dl_entity *dl_se) init_dl_inactive_task_timer() 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 1533 __schedstats_from_dl_se(struct sched_dl_entity *dl_se) __schedstats_from_dl_se() 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 1608 __enqueue_dl_entity(struct sched_dl_entity *dl_se) __enqueue_dl_entity() argument 1619 __dequeue_dl_entity(struct sched_dl_entity *dl_se) __dequeue_dl_entity() argument 1634 enqueue_dl_entity(struct sched_dl_entity *dl_se, int flags) enqueue_dl_entity() argument 1638 update_stats_enqueue_dl(dl_rq_of_se(dl_se), dl_se, flags); enqueue_dl_entity() local 1659 dequeue_dl_entity(struct sched_dl_entity *dl_se) dequeue_dl_entity() argument 1977 struct sched_dl_entity *dl_se = &p->dl; set_next_task_dl() local 2011 struct sched_dl_entity *dl_se; pick_task_dl() local 2038 struct sched_dl_entity *dl_se = &p->dl; put_prev_task_dl() local 2924 struct sched_dl_entity *dl_se = &p->dl; __setparam_dl() local 2936 struct sched_dl_entity *dl_se = &p->dl; __getparam_dl() local 3006 struct sched_dl_entity *dl_se = &p->dl; __dl_clear_params() local 3027 struct sched_dl_entity *dl_se = &p->dl; dl_param_changed() local [all...] |
H A D | cpudeadline.c | 119 const struct sched_dl_entity *dl_se = &p->dl; in cpudl_find() local 154 dl_time_before(dl_se->deadline, cp->elements[0].dl)) { in cpudl_find()
|
H A D | sched.h | 336 static inline bool dl_entity_is_special(const struct sched_dl_entity *dl_se) in dl_entity_is_special() argument 339 return unlikely(dl_se->flags & SCHED_FLAG_SUGOV); in dl_entity_is_special() 2605 extern void init_dl_task_timer(struct sched_dl_entity *dl_se); 2606 extern void init_dl_inactive_task_timer(struct sched_dl_entity *dl_se);
|
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | deadline.c | 25 static inline struct task_struct *dl_task_of(struct sched_dl_entity *dl_se) in dl_task_of() argument 27 return container_of(dl_se, struct task_struct, dl); in dl_task_of() 35 static inline struct dl_rq *dl_rq_of_se(struct sched_dl_entity *dl_se) in dl_rq_of_se() argument 37 struct task_struct *p = dl_task_of(dl_se); in dl_rq_of_se() 43 static inline int on_dl_rq(struct sched_dl_entity *dl_se) in on_dl_rq() argument 45 return !RB_EMPTY_NODE(&dl_se->rb_node); in on_dl_rq() 49 static inline struct sched_dl_entity *pi_of(struct sched_dl_entity *dl_se) in pi_of() argument 51 return dl_se->pi_se; in pi_of() 54 static inline bool is_dl_boosted(struct sched_dl_entity *dl_se) in is_dl_boosted() argument 56 return pi_of(dl_se) ! in is_dl_boosted() 59 pi_of(struct sched_dl_entity *dl_se) pi_of() argument 64 is_dl_boosted(struct sched_dl_entity *dl_se) is_dl_boosted() 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 302 struct sched_dl_entity *dl_se = &p->dl; task_non_contending() local 356 task_contending(struct sched_dl_entity *dl_se, int flags) task_contending() argument 395 struct sched_dl_entity *dl_se = &p->dl; is_leftmost() local 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 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 720 setup_new_dl_entity(struct sched_dl_entity *dl_se) setup_new_dl_entity() argument 763 replenish_dl_entity(struct sched_dl_entity *dl_se) replenish_dl_entity() argument 838 dl_entity_overflow(struct sched_dl_entity *dl_se, u64 t) dl_entity_overflow() argument 886 update_dl_revised_wakeup(struct sched_dl_entity *dl_se, struct rq *rq) update_dl_revised_wakeup() argument 912 dl_is_implicit(struct sched_dl_entity *dl_se) dl_is_implicit() argument 947 update_dl_entity(struct sched_dl_entity *dl_se) update_dl_entity() argument 967 dl_next_period(struct sched_dl_entity *dl_se) dl_next_period() argument 984 struct sched_dl_entity *dl_se = &p->dl; start_dl_timer() local 1042 struct sched_dl_entity *dl_se = container_of(timer, dl_task_timer() local 1147 init_dl_task_timer(struct sched_dl_entity *dl_se) init_dl_task_timer() argument 1173 dl_check_constrained_dl(struct sched_dl_entity *dl_se) dl_check_constrained_dl() argument 1189 dl_runtime_exceeded(struct sched_dl_entity *dl_se) dl_runtime_exceeded() argument 1215 grub_reclaim(u64 delta, struct rq *rq, struct sched_dl_entity *dl_se) grub_reclaim() argument 1244 struct sched_dl_entity *dl_se = &curr->dl; update_curr_dl() local 1346 struct sched_dl_entity *dl_se = container_of(timer, inactive_task_timer() local 1386 init_dl_inactive_task_timer(struct sched_dl_entity *dl_se) init_dl_inactive_task_timer() 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 1466 __enqueue_dl_entity(struct sched_dl_entity *dl_se) __enqueue_dl_entity() argument 1493 __dequeue_dl_entity(struct sched_dl_entity *dl_se) __dequeue_dl_entity() argument 1507 enqueue_dl_entity(struct sched_dl_entity *dl_se, int flags) enqueue_dl_entity() argument 1530 dequeue_dl_entity(struct sched_dl_entity *dl_se) dequeue_dl_entity() argument 1866 struct sched_dl_entity *dl_se; pick_next_task_dl() local 2728 struct sched_dl_entity *dl_se = &p->dl; __setparam_dl() local 2740 struct sched_dl_entity *dl_se = &p->dl; __getparam_dl() local 2818 struct sched_dl_entity *dl_se = &p->dl; __dl_clear_params() local 2839 struct sched_dl_entity *dl_se = &p->dl; dl_param_changed() local [all...] |
H A D | cpudeadline.c | 120 const struct sched_dl_entity *dl_se = &p->dl; in cpudl_find() local 155 dl_time_before(dl_se->deadline, cp->elements[0].dl)) { in cpudl_find()
|
H A D | sched.h | 313 static inline bool dl_entity_is_special(struct sched_dl_entity *dl_se) in dl_entity_is_special() argument 316 return unlikely(dl_se->flags & SCHED_FLAG_SUGOV); in dl_entity_is_special() 2095 extern void init_dl_task_timer(struct sched_dl_entity *dl_se); 2096 extern void init_dl_inactive_task_timer(struct sched_dl_entity *dl_se);
|