Home
last modified time | relevance | path

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

/arch/powerpc/platforms/cell/spufs/
Dcontext.c51 mutex_init(&ctx->state_mutex); in alloc_spu_context()
85 mutex_lock(&ctx->state_mutex); in destroy_spu_context()
87 mutex_unlock(&ctx->state_mutex); in destroy_spu_context()
120 mutex_lock(&ctx->state_mutex); in spu_forget()
Dsched.c560 mutex_unlock(&ctx->state_mutex); in spu_prio_wait()
562 mutex_lock(&ctx->state_mutex); in spu_prio_wait()
676 if (!mutex_trylock(&victim->state_mutex)) { in find_victim()
689 mutex_unlock(&victim->state_mutex); in find_victim()
707 mutex_unlock(&victim->state_mutex); in find_victim()
743 mutex_lock(&ctx->state_mutex); in spu_schedule()
879 mutex_lock(&ctx->state_mutex); in __spu_deactivate()
913 mutex_lock(&ctx->state_mutex); in spu_yield()
915 mutex_unlock(&ctx->state_mutex); in spu_yield()
1049 WARN_ON(!mutex_is_locked(&ctx->state_mutex)); in spuctx_switch_state()
Dspufs.h94 struct mutex state_mutex; member
277 return mutex_lock_interruptible(&ctx->state_mutex); in spu_acquire()
282 mutex_unlock(&ctx->state_mutex); in spu_release()
Drun.c336 mutex_lock(&ctx->state_mutex); in spu_process_callback()
385 mutex_lock(&ctx->state_mutex); in spufs_run_spu()
Dfault.c158 mutex_lock(&ctx->state_mutex); in spufs_handle_class1()
Dfile.c844 mutex_lock(&ctx->state_mutex); in spufs_ibox_poll()
994 mutex_lock(&ctx->state_mutex); in spufs_wbox_poll()
1808 mutex_lock(&ctx->state_mutex); in spufs_mfc_poll()
2631 mutex_lock(&ctx->state_mutex); in spufs_show_ctx()
2661 mutex_unlock(&ctx->state_mutex); in spufs_show_ctx()