Searched refs:state_mutex (Results 1 – 6 of 6) sorted by relevance
51 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()
560 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()
94 struct mutex state_mutex; member277 return mutex_lock_interruptible(&ctx->state_mutex); in spu_acquire()282 mutex_unlock(&ctx->state_mutex); in spu_release()
336 mutex_lock(&ctx->state_mutex); in spu_process_callback()385 mutex_lock(&ctx->state_mutex); in spufs_run_spu()
158 mutex_lock(&ctx->state_mutex); in spufs_handle_class1()
844 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()