Home
last modified time | relevance | path

Searched refs:CMP_PRIO (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/uts/common/os/
H A Dsleepq.c130 #define CMP_PRIO(t) ((DISP_PRIO(t) << 1) + (t)->t_writer) macro
142 tpri = CMP_PRIO(t); in sleepq_insert()
145 next_pri = CMP_PRIO(next_tp); in sleepq_insert()
/titanic_50/usr/src/lib/libc/port/threads/
H A Dsynch.c608 #define CMP_PRIO(ulwp) ((real_priority(ulwp) << 1) + (ulwp)->ul_writer) macro
616 int pri = CMP_PRIO(ulwp); in enqueue()
674 if (pri <= CMP_PRIO(qrp->qr_tail)) in enqueue()
679 if (pri > CMP_PRIO(next)) in enqueue()
690 if (pri >= CMP_PRIO(next)) in enqueue()
728 tpri = rt? CMP_PRIO(ulwp) : 0; in queue_slot_runnable()
750 int priority = CMP_PRIO(ulwp); in queue_slot_rt()
757 tpri = CMP_PRIO(ulwp); in queue_slot_rt()