Home
last modified time | relevance | path

Searched refs:spu_prio (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/arch/powerpc/platforms/cell/spufs/
Dsched.c49 static struct spu_prio_array *spu_prio; variable
171 spin_lock(&spu_prio->runq_lock); in node_allowed()
173 spin_unlock(&spu_prio->runq_lock); in node_allowed()
497 list_add_tail(&ctx->rq, &spu_prio->runq[ctx->prio]); in __spu_add_to_rq()
498 set_bit(ctx->prio, spu_prio->bitmap); in __spu_add_to_rq()
499 if (!spu_prio->nr_waiting++) in __spu_add_to_rq()
506 spin_lock(&spu_prio->runq_lock); in spu_add_to_rq()
508 spin_unlock(&spu_prio->runq_lock); in spu_add_to_rq()
516 if (!--spu_prio->nr_waiting) in __spu_del_from_rq()
520 if (list_empty(&spu_prio->runq[prio])) in __spu_del_from_rq()
[all …]