Lines Matching defs:prio
32 static exception_t checkPrio(prio_t prio, tcb_t *auth)
42 if (prio > mcp) {
52 static inline void addToBitmap(word_t cpu, word_t dom, word_t prio)
57 l1index = prio_to_l1index(prio);
62 order to increase the liklihood that high prio threads l2 index word will
64 fastpath is fastest for high prio threads */
65 NODE_STATE_ON_CORE(ksReadyQueuesL2Bitmap[dom][l1index_inverted], cpu) |= BIT(prio & MASK(wordRadix));
68 static inline void removeFromBitmap(word_t cpu, word_t dom, word_t prio)
73 l1index = prio_to_l1index(prio);
75 NODE_STATE_ON_CORE(ksReadyQueuesL2Bitmap[dom][l1index_inverted], cpu) &= ~BIT(prio & MASK(wordRadix));
92 prio_t prio;
96 prio = tcb->tcbPriority;
97 idx = ready_queues_index(dom, prio);
102 addToBitmap(SMP_TERNARY(tcb->tcbAffinity, 0), dom, prio);
127 prio_t prio;
131 prio = tcb->tcbPriority;
132 idx = ready_queues_index(dom, prio);
137 addToBitmap(SMP_TERNARY(tcb->tcbAffinity, 0), dom, prio);
157 prio_t prio;
161 prio = tcb->tcbPriority;
162 idx = ready_queues_index(dom, prio);
170 removeFromBitmap(SMP_TERNARY(tcb->tcbAffinity, 0), dom, prio);