Searched refs:state_mutex (Results 1 – 6 of 6) sorted by relevance
53 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()
561 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()1050 WARN_ON(!mutex_is_locked(&ctx->state_mutex)); in spuctx_switch_state()
95 struct mutex state_mutex; member275 return mutex_lock_interruptible(&ctx->state_mutex); in spu_acquire()280 mutex_unlock(&ctx->state_mutex); in spu_release()
337 mutex_lock(&ctx->state_mutex); in spu_process_callback()386 mutex_lock(&ctx->state_mutex); in spufs_run_spu()
158 mutex_lock(&ctx->state_mutex); in spufs_handle_class1()
776 mutex_lock(&ctx->state_mutex); in spufs_ibox_poll()912 mutex_lock(&ctx->state_mutex); in spufs_wbox_poll()1705 mutex_lock(&ctx->state_mutex); in spufs_mfc_poll()2520 mutex_lock(&ctx->state_mutex); in spufs_show_ctx()2550 mutex_unlock(&ctx->state_mutex); in spufs_show_ctx()