Home
last modified time | relevance | path

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

/linux-6.1.9/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()
120 int cpupri_find(struct cpupri *cp, struct task_struct *p, in cpupri_find()
143 int cpupri_find_fitness(struct cpupri *cp, struct task_struct *p, in cpupri_find_fitness()
209 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.c1141 cpupri_set(&rq->rd->cpupri, rq->cpu, prio); in inc_rt_prio_smp()
1157 cpupri_set(&rq->rd->cpupri, rq->cpu, rt_rq->highest_prio.curr); in dec_rt_prio_smp()
1677 !cpupri_find(&rq->rd->cpupri, rq->curr, NULL)) in check_preempt_equal_prio()
1685 cpupri_find(&rq->rd->cpupri, p, NULL)) in check_preempt_equal_prio()
1898 ret = cpupri_find_fitness(&task_rq(task)->rd->cpupri, in find_lowest_rq()
1903 ret = cpupri_find(&task_rq(task)->rd->cpupri, in find_lowest_rq()
2480 cpupri_set(&rq->rd->cpupri, rq->cpu, rq->rt.highest_prio.curr); in rq_online_rt()
2491 cpupri_set(&rq->rd->cpupri, rq->cpu, CPUPRI_INVALID); in rq_offline_rt()
Dtopology.c475 cpupri_cleanup(&rd->cpupri); in free_rootdomain()
557 if (cpupri_init(&rd->cpupri) != 0) in init_rootdomain()
Dsched.h875 struct cpupri cpupri; member
Ddeadline.c1470 cpupri_set(&rq->rd->cpupri, rq->cpu, CPUPRI_HIGHER); in inc_dl_deadline()
1488 cpupri_set(&rq->rd->cpupri, rq->cpu, rq->rt.highest_prio.curr); in dec_dl_deadline()
/linux-6.1.9/Documentation/driver-api/
Dbasics.rst27 .. kernel-doc:: kernel/sched/cpupri.c