Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/sched/
Dcpupri.c44 int cpupri; in convert_prio() local
48 cpupri = CPUPRI_INVALID; /* -1 */ in convert_prio()
52 cpupri = MAX_RT_PRIO-1 - prio; /* 1 ... 99 */ in convert_prio()
56 cpupri = CPUPRI_NORMAL; /* 0 */ in convert_prio()
60 cpupri = CPUPRI_HIGHER; /* 100 */ in convert_prio()
64 return cpupri; in convert_prio()
67 static inline int __cpupri_find(struct cpupri *cp, struct task_struct *p, in __cpupri_find()
121 int cpupri_find(struct cpupri *cp, struct task_struct *p, in cpupri_find()
144 int cpupri_find_fitness(struct cpupri *cp, struct task_struct *p, in cpupri_find_fitness()
210 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);
Drt.c1145 cpupri_set(&rq->rd->cpupri, rq->cpu, prio); in inc_rt_prio_smp()
1161 cpupri_set(&rq->rd->cpupri, rq->cpu, rt_rq->highest_prio.curr); in dec_rt_prio_smp()
1681 !cpupri_find(&rq->rd->cpupri, rq->curr, NULL)) in check_preempt_equal_prio()
1689 cpupri_find(&rq->rd->cpupri, p, NULL)) in check_preempt_equal_prio()
1905 ret = cpupri_find_fitness(&task_rq(task)->rd->cpupri, in find_lowest_rq()
1910 ret = cpupri_find(&task_rq(task)->rd->cpupri, in find_lowest_rq()
2495 cpupri_set(&rq->rd->cpupri, rq->cpu, rq->rt.highest_prio.curr); in rq_online_rt()
2506 cpupri_set(&rq->rd->cpupri, rq->cpu, CPUPRI_INVALID); in rq_offline_rt()
Dtopology.c477 cpupri_cleanup(&rd->cpupri); in free_rootdomain()
559 if (cpupri_init(&rd->cpupri) != 0) in init_rootdomain()
Dsched.h883 struct cpupri cpupri; member
Ddeadline.c1461 cpupri_set(&rq->rd->cpupri, rq->cpu, CPUPRI_HIGHER); in inc_dl_deadline()
1479 cpupri_set(&rq->rd->cpupri, rq->cpu, rq->rt.highest_prio.curr); in dec_dl_deadline()
/linux-6.6.21/Documentation/driver-api/
Dbasics.rst27 .. kernel-doc:: kernel/sched/cpupri.c