Home
last modified time | relevance | path

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

/linux-4.4.14/kernel/sched/
Dcpudeadline.h15 struct cpudl { struct
24 int cpudl_find(struct cpudl *cp, struct task_struct *p, argument
26 void cpudl_set(struct cpudl *cp, int cpu, u64 dl, int is_valid);
27 int cpudl_init(struct cpudl *cp);
28 void cpudl_set_freecpu(struct cpudl *cp, int cpu);
29 void cpudl_clear_freecpu(struct cpudl *cp, int cpu);
30 void cpudl_cleanup(struct cpudl *cp);
Dcpudeadline.c34 static void cpudl_exchange(struct cpudl *cp, int a, int b) in cpudl_exchange()
44 static void cpudl_heapify(struct cpudl *cp, int idx) in cpudl_heapify()
69 static void cpudl_change_key(struct cpudl *cp, int idx, u64 new_dl) in cpudl_change_key()
86 static inline int cpudl_maximum(struct cpudl *cp) in cpudl_maximum()
99 int cpudl_find(struct cpudl *cp, struct task_struct *p, in cpudl_find()
132 void cpudl_set(struct cpudl *cp, int cpu, u64 dl, int is_valid) in cpudl_set()
189 void cpudl_set_freecpu(struct cpudl *cp, int cpu) in cpudl_set_freecpu()
199 void cpudl_clear_freecpu(struct cpudl *cp, int cpu) in cpudl_clear_freecpu()
208 int cpudl_init(struct cpudl *cp) in cpudl_init()
237 void cpudl_cleanup(struct cpudl *cp) in cpudl_cleanup()
Ddeadline.c811 cpudl_set(&rq->rd->cpudl, rq->cpu, deadline, 1); in inc_dl_deadline()
835 cpudl_set(&rq->rd->cpudl, rq->cpu, 0, 0); in dec_dl_deadline()
843 cpudl_set(&rq->rd->cpudl, rq->cpu, entry->deadline, 1); in dec_dl_deadline()
1094 cpudl_find(&rq->rd->cpudl, rq->curr, NULL) == -1) in check_preempt_equal_dl()
1102 cpudl_find(&rq->rd->cpudl, p, NULL) != -1) in check_preempt_equal_dl()
1345 best_cpu = cpudl_find(&task_rq(task)->rd->cpudl, in find_later_rq()
1716 cpudl_set_freecpu(&rq->rd->cpudl, rq->cpu); in rq_online_dl()
1718 cpudl_set(&rq->rd->cpudl, rq->cpu, rq->dl.earliest_dl.curr, 1); in rq_online_dl()
1727 cpudl_set(&rq->rd->cpudl, rq->cpu, 0, 0); in rq_offline_dl()
1728 cpudl_clear_freecpu(&rq->rd->cpudl, rq->cpu); in rq_offline_dl()
Dsched.h538 struct cpudl cpudl; member
Dcore.c5827 cpudl_cleanup(&rd->cpudl); in free_rootdomain()
5886 if (cpudl_init(&rd->cpudl) != 0) in init_rootdomain()