Searched refs:state_mutex (Results 1 – 13 of 13) sorted by relevance
52 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()
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()1051 WARN_ON(!mutex_is_locked(&ctx->state_mutex)); in spuctx_switch_state()
95 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()
845 mutex_lock(&ctx->state_mutex); in spufs_ibox_poll()995 mutex_lock(&ctx->state_mutex); in spufs_wbox_poll()1809 mutex_lock(&ctx->state_mutex); in spufs_mfc_poll()2635 mutex_lock(&ctx->state_mutex); in spufs_show_ctx()2665 mutex_unlock(&ctx->state_mutex); in spufs_show_ctx()
36 struct mutex state_mutex; member
288 mutex_lock(&mem->state_mutex); in memory_block_change_state()317 mutex_unlock(&mem->state_mutex); in memory_block_change_state()556 mutex_init(&mem->state_mutex); in init_memory_block()
440 struct mutex state_mutex; member
127 mutex_init(&device->state_mutex); in dasd_alloc_device()553 mutex_lock(&device->state_mutex); in do_kick_device()555 mutex_unlock(&device->state_mutex); in do_kick_device()612 mutex_lock(&device->state_mutex); in dasd_set_target_state()623 mutex_unlock(&device->state_mutex); in dasd_set_target_state()
323 mutex_lock(&mdev->state_mutex); in drbd_set_role()442 mutex_unlock(&mdev->state_mutex); in drbd_set_role()2197 mutex_lock(&mdev->state_mutex); /* Protects us against serialized state changes. */ in drbd_nl_new_c_uuid()2239 mutex_unlock(&mdev->state_mutex); in drbd_nl_new_c_uuid()
574 mutex_lock(&mdev->state_mutex); in drbd_req_state()629 mutex_unlock(&mdev->state_mutex); in drbd_req_state()2996 mutex_init(&mdev->state_mutex); in drbd_init_set_defaults()
1119 struct mutex state_mutex; member