Searched refs:spu_prio (Results 1 – 1 of 1) sorted by relevance
61 static struct spu_prio_array *spu_prio; variable183 spin_lock(&spu_prio->runq_lock); in node_allowed()185 spin_unlock(&spu_prio->runq_lock); in node_allowed()509 list_add_tail(&ctx->rq, &spu_prio->runq[ctx->prio]); in __spu_add_to_rq()510 set_bit(ctx->prio, spu_prio->bitmap); in __spu_add_to_rq()511 if (!spu_prio->nr_waiting++) in __spu_add_to_rq()518 spin_lock(&spu_prio->runq_lock); in spu_add_to_rq()520 spin_unlock(&spu_prio->runq_lock); in spu_add_to_rq()528 if (!--spu_prio->nr_waiting) in __spu_del_from_rq()532 if (list_empty(&spu_prio->runq[prio])) in __spu_del_from_rq()[all …]