Home
last modified time | relevance | path

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

/arch/powerpc/platforms/cell/spufs/
Dcontext.c52 mutex_init(&ctx->state_mutex); in alloc_spu_context()
87 mutex_lock(&ctx->state_mutex); in destroy_spu_context()
89 mutex_unlock(&ctx->state_mutex); in destroy_spu_context()
122 mutex_lock(&ctx->state_mutex); in spu_forget()
Dsched.c561 mutex_unlock(&ctx->state_mutex); in spu_prio_wait()
563 mutex_lock(&ctx->state_mutex); in spu_prio_wait()
677 if (!mutex_trylock(&victim->state_mutex)) { in find_victim()
690 mutex_unlock(&victim->state_mutex); in find_victim()
708 mutex_unlock(&victim->state_mutex); in find_victim()
744 mutex_lock(&ctx->state_mutex); in spu_schedule()
880 mutex_lock(&ctx->state_mutex); in __spu_deactivate()
914 mutex_lock(&ctx->state_mutex); in spu_yield()
916 mutex_unlock(&ctx->state_mutex); in spu_yield()
1052 WARN_ON(!mutex_is_locked(&ctx->state_mutex)); in spuctx_switch_state()
Dspufs.h95 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()
Dfault.c158 mutex_lock(&ctx->state_mutex); in spufs_handle_class1()
Drun.c336 mutex_lock(&ctx->state_mutex); in spu_process_callback()
385 mutex_lock(&ctx->state_mutex); in spufs_run_spu()
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()
2633 mutex_lock(&ctx->state_mutex); in spufs_show_ctx()
2663 mutex_unlock(&ctx->state_mutex); in spufs_show_ctx()