Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/sched/
Dcpupri.c30 int cpupri; in convert_prio() local
33 cpupri = CPUPRI_INVALID; in convert_prio()
35 cpupri = CPUPRI_IDLE; in convert_prio()
37 cpupri = CPUPRI_NORMAL; in convert_prio()
39 cpupri = MAX_RT_PRIO - prio + 1; in convert_prio()
41 return cpupri; in convert_prio()
44 static inline int __cpupri_find(struct cpupri *cp, struct task_struct *p, in __cpupri_find()
100 int cpupri_find(struct cpupri *cp, struct task_struct *p, in cpupri_find()
123 int cpupri_find_fitness(struct cpupri *cp, struct task_struct *p, in cpupri_find_fitness()
189 void cpupri_set(struct cpupri *cp, int cpu, int newpri) in cpupri_set()
[all …]
Dcpupri.h15 struct cpupri { struct
21 int cpupri_find(struct cpupri *cp, struct task_struct *p, argument
23 int cpupri_find_fitness(struct cpupri *cp, struct task_struct *p,
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);
DMakefile29 obj-$(CONFIG_SMP) += cpupri.o cpudeadline.o topology.o stop_task.o pelt.o
Drt.c1117 cpupri_set(&rq->rd->cpupri, rq->cpu, prio); in inc_rt_prio_smp()
1133 cpupri_set(&rq->rd->cpupri, rq->cpu, rt_rq->highest_prio.curr); in dec_rt_prio_smp()
1547 !cpupri_find(&rq->rd->cpupri, rq->curr, NULL)) in check_preempt_equal_prio()
1555 cpupri_find(&rq->rd->cpupri, p, NULL)) in check_preempt_equal_prio()
1915 ret = cpupri_find_fitness(&task_rq(task)->rd->cpupri, in find_lowest_rq()
1920 ret = cpupri_find(&task_rq(task)->rd->cpupri, in find_lowest_rq()
2449 cpupri_set(&rq->rd->cpupri, rq->cpu, rq->rt.highest_prio.curr); in rq_online_rt()
2460 cpupri_set(&rq->rd->cpupri, rq->cpu, CPUPRI_INVALID); in rq_offline_rt()
Dtopology.c442 cpupri_cleanup(&rd->cpupri); in free_rootdomain()
523 if (cpupri_init(&rd->cpupri) != 0) in init_rootdomain()
Dsched.h921 struct cpupri cpupri; member
/kernel/linux/linux-5.10/Documentation/driver-api/
Dbasics.rst27 .. kernel-doc:: kernel/sched/cpupri.c