Searched refs:PRI_MIN_TIMESHARE (Results 1 – 9 of 9) sorted by relevance
97 #define p4prio_to_tsprio(P) ((PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE) - (P))98 #define tsprio_to_p4prio(P) ((PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE) - (P))149 if (PRI_MIN_TIMESHARE < rtp.prio) in ksched_getparam()155 PRI_MIN_TIMESHARE; in ksched_getparam()192 (PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE)) { in ksched_setscheduler()235 *prio = PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE; in ksched_get_priority_max()
611 newpriority = min(max(newpriority, PRI_MIN_TIMESHARE), in resetpriority() 625 if (td->td_priority < PRI_MIN_TIMESHARE || in resetpriority_thread() 905 if (td->td_base_pri >= PRI_MIN_TIMESHARE && in sched_unlend_prio()
124 #define PRI_TIMESHARE_RANGE (PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE + 1)128 #define PRI_MIN_INTERACT PRI_MIN_TIMESHARE129 #define PRI_MAX_INTERACT (PRI_MIN_TIMESHARE + PRI_INTERACT_RANGE - 1)130 #define PRI_MIN_BATCH (PRI_MIN_TIMESHARE + PRI_INTERACT_RANGE)1923 if (td->td_base_pri >= PRI_MIN_TIMESHARE && in sched_unlend_prio()
484 if (rtp->prio > (PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE)) in rtp_to_pri()486 newpri = PRI_MIN_TIMESHARE + rtp->prio; in rtp_to_pri()525 rtp->prio = td->td_base_user_pri - PRI_MIN_TIMESHARE; in pri_to_rtp()
112 #define UPRI(td) (((td)->td_user_pri >= PRI_MIN_TIMESHARE &&\
105 #define PRI_MAX_KERN (PRI_MIN_TIMESHARE - 1)118 #define PRI_MIN_TIMESHARE (88) macro121 #define PUSER (PRI_MIN_TIMESHARE)
140 pri_range = PRI_MIN_TIMESHARE - PRI_MIN_REALTIME; in test_modinit()
712 if (level >= PRI_MIN_TIMESHARE) in priorityr()713 asprintf(&str, "normal:%u", level - PRI_MIN_TIMESHARE); in priorityr()
1296 PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE; in linux_sched_setscheduler()1877 PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE; in linux_sched_setparam()