spu_prio 49 arch/powerpc/platforms/cell/spufs/sched.c static struct spu_prio_array *spu_prio; spu_prio 171 arch/powerpc/platforms/cell/spufs/sched.c spin_lock(&spu_prio->runq_lock); spu_prio 173 arch/powerpc/platforms/cell/spufs/sched.c spin_unlock(&spu_prio->runq_lock); spu_prio 497 arch/powerpc/platforms/cell/spufs/sched.c list_add_tail(&ctx->rq, &spu_prio->runq[ctx->prio]); spu_prio 498 arch/powerpc/platforms/cell/spufs/sched.c set_bit(ctx->prio, spu_prio->bitmap); spu_prio 499 arch/powerpc/platforms/cell/spufs/sched.c if (!spu_prio->nr_waiting++) spu_prio 506 arch/powerpc/platforms/cell/spufs/sched.c spin_lock(&spu_prio->runq_lock); spu_prio 508 arch/powerpc/platforms/cell/spufs/sched.c spin_unlock(&spu_prio->runq_lock); spu_prio 516 arch/powerpc/platforms/cell/spufs/sched.c if (!--spu_prio->nr_waiting) spu_prio 520 arch/powerpc/platforms/cell/spufs/sched.c if (list_empty(&spu_prio->runq[prio])) spu_prio 521 arch/powerpc/platforms/cell/spufs/sched.c clear_bit(prio, spu_prio->bitmap); spu_prio 527 arch/powerpc/platforms/cell/spufs/sched.c spin_lock(&spu_prio->runq_lock); spu_prio 529 arch/powerpc/platforms/cell/spufs/sched.c spin_unlock(&spu_prio->runq_lock); spu_prio 543 arch/powerpc/platforms/cell/spufs/sched.c spin_lock(&spu_prio->runq_lock); spu_prio 547 arch/powerpc/platforms/cell/spufs/sched.c spin_unlock(&spu_prio->runq_lock); spu_prio 551 arch/powerpc/platforms/cell/spufs/sched.c spin_lock(&spu_prio->runq_lock); spu_prio 554 arch/powerpc/platforms/cell/spufs/sched.c spin_unlock(&spu_prio->runq_lock); spu_prio 830 arch/powerpc/platforms/cell/spufs/sched.c spin_lock(&spu_prio->runq_lock); spu_prio 831 arch/powerpc/platforms/cell/spufs/sched.c best = find_first_bit(spu_prio->bitmap, prio); spu_prio 833 arch/powerpc/platforms/cell/spufs/sched.c struct list_head *rq = &spu_prio->runq[best]; spu_prio 846 arch/powerpc/platforms/cell/spufs/sched.c spin_unlock(&spu_prio->runq_lock); spu_prio 961 arch/powerpc/platforms/cell/spufs/sched.c nr_active += spu_prio->nr_waiting; spu_prio 1089 arch/powerpc/platforms/cell/spufs/sched.c spu_prio = kzalloc(sizeof(struct spu_prio_array), GFP_KERNEL); spu_prio 1090 arch/powerpc/platforms/cell/spufs/sched.c if (!spu_prio) spu_prio 1094 arch/powerpc/platforms/cell/spufs/sched.c INIT_LIST_HEAD(&spu_prio->runq[i]); spu_prio 1095 arch/powerpc/platforms/cell/spufs/sched.c __clear_bit(i, spu_prio->bitmap); spu_prio 1097 arch/powerpc/platforms/cell/spufs/sched.c spin_lock_init(&spu_prio->runq_lock); spu_prio 1121 arch/powerpc/platforms/cell/spufs/sched.c kfree(spu_prio); spu_prio 1144 arch/powerpc/platforms/cell/spufs/sched.c kfree(spu_prio);