Home
last modified time | relevance | path

Searched refs:cpudl (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/kernel/sched/
Dcpudeadline.h14 struct cpudl { struct
23 int cpudl_find(struct cpudl *cp, struct task_struct *p, argument
25 void cpudl_set(struct cpudl *cp, int cpu, u64 dl, int is_valid);
26 int cpudl_init(struct cpudl *cp);
27 void cpudl_set_freecpu(struct cpudl *cp, int cpu);
28 void cpudl_clear_freecpu(struct cpudl *cp, int cpu);
29 void cpudl_cleanup(struct cpudl *cp);
Dcpudeadline.c39 static void cpudl_exchange(struct cpudl *cp, int a, int b) in cpudl_exchange()
49 static void cpudl_heapify(struct cpudl *cp, int idx) in cpudl_heapify()
74 static void cpudl_change_key(struct cpudl *cp, int idx, u64 new_dl) in cpudl_change_key()
91 static inline int cpudl_maximum(struct cpudl *cp) in cpudl_maximum()
104 int cpudl_find(struct cpudl *cp, struct task_struct *p, in cpudl_find()
137 void cpudl_set(struct cpudl *cp, int cpu, u64 dl, int is_valid) in cpudl_set()
194 void cpudl_set_freecpu(struct cpudl *cp, int cpu) in cpudl_set_freecpu()
204 void cpudl_clear_freecpu(struct cpudl *cp, int cpu) in cpudl_clear_freecpu()
213 int cpudl_init(struct cpudl *cp) in cpudl_init()
242 void cpudl_cleanup(struct cpudl *cp) in cpudl_cleanup()
Ddeadline.c751 cpudl_set(&rq->rd->cpudl, rq->cpu, deadline, 1); in inc_dl_deadline()
775 cpudl_set(&rq->rd->cpudl, rq->cpu, 0, 0); in dec_dl_deadline()
783 cpudl_set(&rq->rd->cpudl, rq->cpu, entry->deadline, 1); in dec_dl_deadline()
1031 cpudl_find(&rq->rd->cpudl, rq->curr, NULL) == -1) in check_preempt_equal_dl()
1039 cpudl_find(&rq->rd->cpudl, p, NULL) != -1) in check_preempt_equal_dl()
1253 best_cpu = cpudl_find(&task_rq(task)->rd->cpudl, in find_later_rq()
1647 cpudl_set_freecpu(&rq->rd->cpudl, rq->cpu); in rq_online_dl()
1649 cpudl_set(&rq->rd->cpudl, rq->cpu, rq->dl.earliest_dl.curr, 1); in rq_online_dl()
1658 cpudl_set(&rq->rd->cpudl, rq->cpu, 0, 0); in rq_offline_dl()
1659 cpudl_clear_freecpu(&rq->rd->cpudl, rq->cpu); in rq_offline_dl()
Dsched.h535 struct cpudl cpudl; member
Dcore.c5570 cpudl_cleanup(&rd->cpudl); in free_rootdomain()
5629 if (cpudl_init(&rd->cpudl) != 0) in init_rootdomain()