Searched refs:cpupri (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/kernel/sched/ |
D | cpupri.c | 44 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 …]
|
D | cpupri.h | 15 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);
|
D | rt.c | 1145 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()
|
D | topology.c | 477 cpupri_cleanup(&rd->cpupri); in free_rootdomain() 559 if (cpupri_init(&rd->cpupri) != 0) in init_rootdomain()
|
D | sched.h | 883 struct cpupri cpupri; member
|
D | deadline.c | 1461 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/ |
D | basics.rst | 27 .. kernel-doc:: kernel/sched/cpupri.c
|