Lines Matching refs:cpupri
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()
211 void cpupri_set(struct cpupri *cp, int cpu, int newpri) in cpupri_set()
279 int cpupri_init(struct cpupri *cp) in cpupri_init()
310 void cpupri_cleanup(struct cpupri *cp) in cpupri_cleanup()