Home
last modified time | relevance | path

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

/linux-3.4.99/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.c560 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()
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()
Drun.c336 mutex_lock(&ctx->state_mutex); in spu_process_callback()
385 mutex_lock(&ctx->state_mutex); in spufs_run_spu()
Dfault.c158 mutex_lock(&ctx->state_mutex); in spufs_handle_class1()
Dfile.c845 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()
/linux-3.4.99/include/linux/
Dmemory.h36 struct mutex state_mutex; member
/linux-3.4.99/drivers/base/
Dmemory.c288 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()
/linux-3.4.99/drivers/s390/block/
Ddasd_int.h440 struct mutex state_mutex; member
Ddasd.c127 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()
/linux-3.4.99/drivers/block/drbd/
Ddrbd_nl.c323 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()
Ddrbd_main.c574 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()
Ddrbd_int.h1119 struct mutex state_mutex; member