Home
last modified time | relevance | path

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

/titanic_41/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_41/usr/src/lib/libc/port/threads/
H A Dsynch.c607 #define CMP_PRIO(ulwp) ((real_priority(ulwp) << 1) + (ulwp)->ul_writer) macro
615 int pri = CMP_PRIO(ulwp); in enqueue()
673 if (pri <= CMP_PRIO(qrp->qr_tail)) in enqueue()
678 if (pri > CMP_PRIO(next)) in enqueue()
689 if (pri >= CMP_PRIO(next)) in enqueue()
727 tpri = rt? CMP_PRIO(ulwp) : 0; in queue_slot_runnable()
749 int priority = CMP_PRIO(ulwp); in queue_slot_rt()
756 tpri = CMP_PRIO(ulwp); in queue_slot_rt()