Searched refs:CMP_PRIO (Results 1 – 2 of 2) sorted by relevance
130 #define CMP_PRIO(t) ((DISP_PRIO(t) << 1) + (t)->t_writer) macro142 tpri = CMP_PRIO(t); in sleepq_insert()145 next_pri = CMP_PRIO(next_tp); in sleepq_insert()
607 #define CMP_PRIO(ulwp) ((real_priority(ulwp) << 1) + (ulwp)->ul_writer) macro615 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()