Home
last modified time | relevance | path

Searched refs:PRI_MIN_TIMESHARE (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/kern/
H A Dksched.c97 #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()
H A Dsched_4bsd.c611 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()
H A Dsched_ule.c124 #define PRI_TIMESHARE_RANGE (PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE + 1)
128 #define PRI_MIN_INTERACT PRI_MIN_TIMESHARE
129 #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()
H A Dkern_resource.c484 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()
H A Dkern_umtx.c112 #define UPRI(td) (((td)->td_user_pri >= PRI_MIN_TIMESHARE &&\
/freebsd/sys/sys/
H A Dpriority.h105 #define PRI_MAX_KERN (PRI_MIN_TIMESHARE - 1)
118 #define PRI_MIN_TIMESHARE (88) macro
121 #define PUSER (PRI_MIN_TIMESHARE)
/freebsd/sys/tests/epoch/
H A Depoch_test.c140 pri_range = PRI_MIN_TIMESHARE - PRI_MIN_REALTIME; in test_modinit()
/freebsd/bin/ps/
H A Dprint.c712 if (level >= PRI_MIN_TIMESHARE) in priorityr()
713 asprintf(&str, "normal:%u", level - PRI_MIN_TIMESHARE); in priorityr()
/freebsd/sys/compat/linux/
H A Dlinux_misc.c1296 PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE; in linux_sched_setscheduler()
1877 PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE; in linux_sched_setparam()