Home
last modified time | relevance | path

Searched refs:cpudl (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/kernel/sched/
H A Dcpudeadline.h11 struct cpudl { struct
19 int cpudl_find(struct cpudl *cp, struct task_struct *p, struct cpumask *later_mask);
20 void cpudl_set(struct cpudl *cp, int cpu, u64 dl);
21 void cpudl_clear(struct cpudl *cp, int cpu);
22 int cpudl_init(struct cpudl *cp);
23 void cpudl_set_freecpu(struct cpudl *cp, int cpu);
24 void cpudl_clear_freecpu(struct cpudl *cp, int cpu);
25 void cpudl_cleanup(struct cpudl *cp);
H A Dcpudeadline.c3 * kernel/sched/cpudl.c
26 static void cpudl_heapify_down(struct cpudl *cp, int idx) in cpudl_heapify_down()
69 static void cpudl_heapify_up(struct cpudl *cp, int idx) in cpudl_heapify_up()
95 static void cpudl_heapify(struct cpudl *cp, int idx) in cpudl_heapify()
104 static inline int cpudl_maximum(struct cpudl *cp) in cpudl_maximum()
111 * @cp: the cpudl max-heap context
117 int cpudl_find(struct cpudl *cp, struct task_struct *p, in cpudl_find()
166 * cpudl_clear - remove a CPU from the cpudl max-heap
167 * @cp: the cpudl max-heap context
174 void cpudl_clear(struct cpudl *c
[all...]
H A Ddeadline.c1403 cpudl_set(&rq->rd->cpudl, rq->cpu, deadline); in inc_dl_deadline()
1418 cpudl_clear(&rq->rd->cpudl, rq->cpu); in dec_dl_deadline()
1425 cpudl_set(&rq->rd->cpudl, rq->cpu, entry->deadline); in dec_dl_deadline()
1769 !cpudl_find(&rq->rd->cpudl, rq->curr, NULL)) in check_preempt_equal_dl()
1777 cpudl_find(&rq->rd->cpudl, p, NULL)) in check_preempt_equal_dl()
1979 if (!cpudl_find(&task_rq(task)->rd->cpudl, task, later_mask)) in find_later_rq()
2360 cpudl_set_freecpu(&rq->rd->cpudl, rq->cpu); in rq_online_dl()
2362 cpudl_set(&rq->rd->cpudl, rq->cpu, rq->dl.earliest_dl.curr); in rq_online_dl()
2371 cpudl_clear(&rq->rd->cpudl, rq->cpu); in rq_offline_dl()
2372 cpudl_clear_freecpu(&rq->rd->cpudl, r in rq_offline_dl()
[all...]
H A Dtopology.c443 cpudl_cleanup(&rd->cpudl); in free_rootdomain()
520 if (cpudl_init(&rd->cpudl) != 0) in init_rootdomain()
532 cpudl_cleanup(&rd->cpudl); in init_rootdomain()
H A Dsched.h903 struct cpudl cpudl; member
/kernel/linux/linux-6.6/kernel/sched/
H A Dcpudeadline.h11 struct cpudl { struct
19 int cpudl_find(struct cpudl *cp, struct task_struct *p, struct cpumask *later_mask);
20 void cpudl_set(struct cpudl *cp, int cpu, u64 dl);
21 void cpudl_clear(struct cpudl *cp, int cpu);
22 int cpudl_init(struct cpudl *cp);
23 void cpudl_set_freecpu(struct cpudl *cp, int cpu);
24 void cpudl_clear_freecpu(struct cpudl *cp, int cpu);
25 void cpudl_cleanup(struct cpudl *cp);
H A Dcpudeadline.c25 static void cpudl_heapify_down(struct cpudl *cp, int idx) in cpudl_heapify_down()
68 static void cpudl_heapify_up(struct cpudl *cp, int idx) in cpudl_heapify_up()
94 static void cpudl_heapify(struct cpudl *cp, int idx) in cpudl_heapify()
103 static inline int cpudl_maximum(struct cpudl *cp) in cpudl_maximum()
110 * @cp: the cpudl max-heap context
116 int cpudl_find(struct cpudl *cp, struct task_struct *p, in cpudl_find()
165 * cpudl_clear - remove a CPU from the cpudl max-heap
166 * @cp: the cpudl max-heap context
173 void cpudl_clear(struct cpudl *cp, int cpu) in cpudl_clear()
204 * cpudl_set - update the cpudl ma
[all...]
H A Ddeadline.c1464 cpudl_set(&rq->rd->cpudl, rq->cpu, deadline); in inc_dl_deadline()
1479 cpudl_clear(&rq->rd->cpudl, rq->cpu); in dec_dl_deadline()
1486 cpudl_set(&rq->rd->cpudl, rq->cpu, entry->deadline); in dec_dl_deadline()
1909 !cpudl_find(&rq->rd->cpudl, rq->curr, NULL)) in check_preempt_equal_dl()
1917 cpudl_find(&rq->rd->cpudl, p, NULL)) in check_preempt_equal_dl()
2143 if (!cpudl_find(&task_rq(task)->rd->cpudl, task, later_mask)) in find_later_rq()
2523 cpudl_set_freecpu(&rq->rd->cpudl, rq->cpu); in rq_online_dl()
2525 cpudl_set(&rq->rd->cpudl, rq->cpu, rq->dl.earliest_dl.curr); in rq_online_dl()
2534 cpudl_clear(&rq->rd->cpudl, rq->cpu); in rq_offline_dl()
2535 cpudl_clear_freecpu(&rq->rd->cpudl, r in rq_offline_dl()
[all...]
H A Dtopology.c478 cpudl_cleanup(&rd->cpudl); in free_rootdomain()
556 if (cpudl_init(&rd->cpudl) != 0) in init_rootdomain()
568 cpudl_cleanup(&rd->cpudl); in init_rootdomain()
H A Dsched.h955 struct cpudl cpudl; member

Completed in 24 milliseconds