Searched refs:spu_prio (Results 1 – 1 of 1) sorted by relevance
49 static struct spu_prio_array *spu_prio; variable171 spin_lock(&spu_prio->runq_lock); in node_allowed()173 spin_unlock(&spu_prio->runq_lock); in node_allowed()491 list_add_tail(&ctx->rq, &spu_prio->runq[ctx->prio]); in __spu_add_to_rq()492 set_bit(ctx->prio, spu_prio->bitmap); in __spu_add_to_rq()493 if (!spu_prio->nr_waiting++) in __spu_add_to_rq()500 spin_lock(&spu_prio->runq_lock); in spu_add_to_rq()502 spin_unlock(&spu_prio->runq_lock); in spu_add_to_rq()510 if (!--spu_prio->nr_waiting) in __spu_del_from_rq()514 if (list_empty(&spu_prio->runq[prio])) in __spu_del_from_rq()[all …]