Searched refs:prio (Results 1 – 3 of 3) sorted by relevance
20 pub fn prio_to_nice(prio: i32) -> i32 { in prio_to_nice()21 prio - DEFAULT_PRIO in prio_to_nice()25 pub fn dl_prio(prio: i32) -> bool { in dl_prio()26 return prio < MAX_DL_PRIO; in dl_prio()30 pub fn rt_prio(prio: i32) -> bool { in rt_prio()31 return prio < MAX_RT_PRIO; in rt_prio()
7 pub mod prio; module44 prio::PrioUtil,940 prio_guard.prio = current.sched_info().prio_data.read_irqsave().normal_prio; in sched_fork()942 if PrioUtil::dl_prio(prio_guard.prio) { in sched_fork()944 } else if PrioUtil::rt_prio(prio_guard.prio) { in sched_fork()
56 completion::Completion, cpu_rq, fair::FairSchedEntity, prio::MAX_PRIO, DequeueFlag,1226 pub prio: i32, field1234 prio: MAX_PRIO - 20, in default()