Home
last modified time | relevance | path

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

/linux-3.4.99/kernel/sched/
Dcpupri.c36 int cpupri; in convert_prio() local
39 cpupri = CPUPRI_INVALID; in convert_prio()
41 cpupri = CPUPRI_IDLE; in convert_prio()
43 cpupri = CPUPRI_NORMAL; in convert_prio()
45 cpupri = MAX_RT_PRIO - prio + 1; in convert_prio()
47 return cpupri; in convert_prio()
65 int cpupri_find(struct cpupri *cp, struct task_struct *p, in cpupri_find()
137 void cpupri_set(struct cpupri *cp, int cpu, int newpri) in cpupri_set()
205 int cpupri_init(struct cpupri *cp) in cpupri_init()
233 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);
DMakefile15 obj-$(CONFIG_SMP) += cpupri.o
Drt.c967 cpupri_set(&rq->rd->cpupri, rq->cpu, prio); in inc_rt_prio_smp()
983 cpupri_set(&rq->rd->cpupri, rq->cpu, rt_rq->highest_prio.curr); in dec_rt_prio_smp()
1311 && cpupri_find(&rq->rd->cpupri, p, NULL)) in check_preempt_equal_prio()
1314 if (!cpupri_find(&rq->rd->cpupri, rq->curr, NULL)) in check_preempt_equal_prio()
1498 if (!cpupri_find(&task_rq(task)->rd->cpupri, task, lowest_mask)) in find_lowest_rq()
1882 cpupri_set(&rq->rd->cpupri, rq->cpu, rq->rt.highest_prio.curr); in rq_online_rt()
1893 cpupri_set(&rq->rd->cpupri, rq->cpu, CPUPRI_INVALID); in rq_offline_rt()
Dsched.h334 struct cpupri cpupri; member
Dcore.c5878 cpupri_cleanup(&rd->cpupri); in free_rootdomain()
5933 if (cpupri_init(&rd->cpupri) != 0) in init_rootdomain()