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

/illumos-gate/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);
145 next_pri = CMP_PRIO(next_tp);
/illumos-gate/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);
674 if (pri <= CMP_PRIO(qrp->qr_tail))
679 if (pri > CMP_PRIO(next))
690 if (pri >= CMP_PRIO(next))
728 tpri = rt? CMP_PRIO(ulwp) : 0;
750 int priority = CMP_PRIO(ulwp);
757 tpri = CMP_PRIO(ulwp);

Completed in 1335 milliseconds