Home
last modified time | relevance | path

Searched refs:cpupri (Results 1 – 6 of 6) sorted by relevance

/kernel/sched/
Dcpupri.c39 int cpupri; in convert_prio() local
42 cpupri = CPUPRI_INVALID; in convert_prio()
44 cpupri = CPUPRI_IDLE; in convert_prio()
46 cpupri = CPUPRI_NORMAL; in convert_prio()
48 cpupri = MAX_RT_PRIO - prio + 1; in convert_prio()
50 return cpupri; in convert_prio()
68 int cpupri_find(struct cpupri *cp, struct task_struct *p, in cpupri_find()
140 void cpupri_set(struct cpupri *cp, int cpu, int newpri) in cpupri_set()
208 int cpupri_init(struct cpupri *cp) in cpupri_init()
241 void cpupri_cleanup(struct cpupri *cp) in cpupri_cleanup()
Dcpupri.h18 struct cpupri { struct
24 int cpupri_find(struct cpupri *cp, argument
26 void cpupri_set(struct cpupri *cp, int cpu, int pri);
27 int cpupri_init(struct cpupri *cp);
28 void cpupri_cleanup(struct cpupri *cp);
DMakefile21 obj-$(CONFIG_SMP) += cpupri.o cpudeadline.o energy.o
Drt.c1140 cpupri_set(&rq->rd->cpupri, rq->cpu, prio); in inc_rt_prio_smp()
1156 cpupri_set(&rq->rd->cpupri, rq->cpu, rt_rq->highest_prio.curr); in dec_rt_prio_smp()
1575 !cpupri_find(&rq->rd->cpupri, rq->curr, NULL)) in check_preempt_equal_prio()
1583 && cpupri_find(&rq->rd->cpupri, p, NULL)) in check_preempt_equal_prio()
1769 if (!cpupri_find(&task_rq(task)->rd->cpupri, task, lowest_mask)) in find_lowest_rq()
2295 cpupri_set(&rq->rd->cpupri, rq->cpu, rq->rt.highest_prio.curr); in rq_online_rt()
2306 cpupri_set(&rq->rd->cpupri, rq->cpu, CPUPRI_INVALID); in rq_offline_rt()
Dsched.h581 struct cpupri cpupri; member
Dcore.c6082 cpupri_cleanup(&rd->cpupri); in free_rootdomain()
6164 if (cpupri_init(&rd->cpupri) != 0) in init_rootdomain()