Home
last modified time | relevance | path

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

/arch/powerpc/platforms/cell/spufs/
A Dcontext.c40 mutex_init(&ctx->state_mutex); in alloc_spu_context()
74 mutex_lock(&ctx->state_mutex); in destroy_spu_context()
76 mutex_unlock(&ctx->state_mutex); in destroy_spu_context()
109 mutex_lock(&ctx->state_mutex); in spu_forget()
A Dsched.c542 mutex_unlock(&ctx->state_mutex); in spu_prio_wait()
544 mutex_lock(&ctx->state_mutex); in spu_prio_wait()
658 if (!mutex_trylock(&victim->state_mutex)) { in find_victim()
671 mutex_unlock(&victim->state_mutex); in find_victim()
689 mutex_unlock(&victim->state_mutex); in find_victim()
725 mutex_lock(&ctx->state_mutex); in spu_schedule()
861 mutex_lock(&ctx->state_mutex); in __spu_deactivate()
895 mutex_lock(&ctx->state_mutex); in spu_yield()
897 mutex_unlock(&ctx->state_mutex); in spu_yield()
1031 WARN_ON(!mutex_is_locked(&ctx->state_mutex)); in spuctx_switch_state()
A Dspufs.h82 struct mutex state_mutex; member
263 return mutex_lock_interruptible(&ctx->state_mutex); in spu_acquire()
268 mutex_unlock(&ctx->state_mutex); in spu_release()
A Dfault.c134 mutex_lock(&ctx->state_mutex); in spufs_handle_class1()
A Drun.c337 mutex_lock(&ctx->state_mutex); in spu_process_callback()
385 mutex_lock(&ctx->state_mutex); in spufs_run_spu()
A Dfile.c758 mutex_lock(&ctx->state_mutex); in spufs_ibox_poll()
888 mutex_lock(&ctx->state_mutex); in spufs_wbox_poll()
1669 mutex_lock(&ctx->state_mutex); in spufs_mfc_poll()
2464 mutex_lock(&ctx->state_mutex); in spufs_show_ctx()
2494 mutex_unlock(&ctx->state_mutex); in spufs_show_ctx()

Completed in 17 milliseconds