Lines Matching refs:base
71 sys_dlist_remove(&thread->base.qnode_dlist); in z_priq_dumb_remove()
80 thread = CONTAINER_OF(n, struct k_thread, base.qnode_dlist); in z_priq_dumb_best()
98 thread->base.order_key = pq->next_order_key; in z_priq_rb_add()
108 RB_FOR_EACH_CONTAINER(&pq->tree, t, base.qnode_rb) { in z_priq_rb_add()
109 t->base.order_key = pq->next_order_key; in z_priq_rb_add()
114 rb_insert(&pq->tree, &thread->base.qnode_rb); in z_priq_rb_add()
119 rb_remove(&pq->tree, &thread->base.qnode_rb); in z_priq_rb_remove()
132 thread = CONTAINER_OF(n, struct k_thread, base.qnode_rb); in z_priq_rb_best()
154 thread = CONTAINER_OF(n, struct k_thread, base.qnode_dlist); in z_priq_mq_best()
192 struct prio_info pos = get_prio_info(thread->base.prio); in z_priq_mq_add()
194 sys_dlist_append(&pq->queues[pos.offset_prio], &thread->base.qnode_dlist); in z_priq_mq_add()
201 struct prio_info pos = get_prio_info(thread->base.prio); in z_priq_mq_remove()
203 sys_dlist_remove(&thread->base.qnode_dlist); in z_priq_mq_remove()
220 SYS_DLIST_FOR_EACH_CONTAINER(pq, thread, base.qnode_dlist) { in z_priq_dumb_mask_best()
221 if ((thread->base.cpu_mask & BIT(_current_cpu->id)) != 0) { in z_priq_dumb_mask_best()
236 SYS_DLIST_FOR_EACH_CONTAINER(pq, t, base.qnode_dlist) { in z_priq_dumb_add()
238 sys_dlist_insert(&t->base.qnode_dlist, in z_priq_dumb_add()
239 &thread->base.qnode_dlist); in z_priq_dumb_add()
244 sys_dlist_append(pq, &thread->base.qnode_dlist); in z_priq_dumb_add()