Searched refs:dl_se (Results 1 – 5 of 5) sorted by relevance
| /linux/kernel/sched/ |
| H A D | deadline.c | 66 static inline struct rq *rq_of_dl_se(struct sched_dl_entity *dl_se) in rq_of_dl_se() argument 68 struct rq *rq = dl_se->rq; in rq_of_dl_se() 70 if (!dl_server(dl_se)) in rq_of_dl_se() 71 rq = task_rq(dl_task_of(dl_se)); in rq_of_dl_se() 76 static inline struct dl_rq *dl_rq_of_se(struct sched_dl_entity *dl_se) in dl_rq_of_se() argument 78 return &rq_of_dl_se(dl_se)->dl; in dl_rq_of_se() 81 static inline int on_dl_rq(struct sched_dl_entity *dl_se) in on_dl_rq() argument 83 return !RB_EMPTY_NODE(&dl_se->rb_node); in on_dl_rq() 87 static inline struct sched_dl_entity *pi_of(struct sched_dl_entity *dl_se) in pi_of() argument 89 return dl_se->pi_se; in pi_of() [all …]
|
| H A D | sched.h | 289 static inline bool dl_entity_is_special(const struct sched_dl_entity *dl_se) in dl_entity_is_special() argument 292 return unlikely(dl_se->flags & SCHED_FLAG_SUGOV); in dl_entity_is_special() 364 extern s64 dl_scaled_delta_exec(struct rq *rq, struct sched_dl_entity *dl_se, s64 delta_exec); 411 extern void dl_server_update_idle(struct sched_dl_entity *dl_se, s64 delta_exec); 412 extern void dl_server_update(struct sched_dl_entity *dl_se, s64 delta_exec); 413 extern void dl_server_start(struct sched_dl_entity *dl_se); 414 extern void dl_server_stop(struct sched_dl_entity *dl_se); 415 extern void dl_server_init(struct sched_dl_entity *dl_se, struct rq *rq, 421 extern void __dl_server_attach_root(struct sched_dl_entity *dl_se, struct rq *rq); 422 extern int dl_server_apply_params(struct sched_dl_entity *dl_se, [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()
|
| /linux/include/linux/sched/ |
| H A D | deadline.h | 49 static inline bool dl_server(struct sched_dl_entity *dl_se) in dl_server() argument 51 return dl_se->dl_server; in dl_server() 54 static inline struct task_struct *dl_task_of(struct sched_dl_entity *dl_se) in dl_task_of() argument 56 BUG_ON(dl_server(dl_se)); in dl_task_of() 57 return container_of(dl_se, struct task_struct, dl); in dl_task_of() 71 static inline bool dl_is_implicit(struct sched_dl_entity *dl_se) in dl_is_implicit() argument 73 return dl_se->dl_deadline == dl_se->dl_period; in dl_is_implicit()
|
| /linux/kernel/sched/ext/ |
| H A D | ext.c | 3432 ext_server_pick_task(struct sched_dl_entity *dl_se, struct rq_flags *rf) in ext_server_pick_task() argument 3437 return do_pick_task_scx(dl_se->rq, rf, true); in ext_server_pick_task() 3445 struct sched_dl_entity *dl_se = &rq->ext_server; in ext_server_init() local 3447 init_dl_entity(dl_se); in ext_server_init() 3449 dl_server_init(dl_se, rq, ext_server_pick_task); in ext_server_init()
|