Home
last modified time | relevance | path

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

/linux-6.3-rc2/kernel/sched/
A 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()
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()
277 int cpupri_init(struct cpupri *cp) in cpupri_init()
[all …]
A 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);
A 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()
1901 ret = cpupri_find_fitness(&task_rq(task)->rd->cpupri, in find_lowest_rq()
1906 ret = cpupri_find(&task_rq(task)->rd->cpupri, in find_lowest_rq()
2483 cpupri_set(&rq->rd->cpupri, rq->cpu, rq->rt.highest_prio.curr); in rq_online_rt()
2494 cpupri_set(&rq->rd->cpupri, rq->cpu, CPUPRI_INVALID); in rq_offline_rt()
A Dsched.h878 struct cpupri cpupri; member
A Dtopology.c477 cpupri_cleanup(&rd->cpupri); in free_rootdomain()
559 if (cpupri_init(&rd->cpupri) != 0) in init_rootdomain()
A 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.3-rc2/Documentation/driver-api/
A Dbasics.rst27 .. kernel-doc:: kernel/sched/cpupri.c

Completed in 35 milliseconds