Home
last modified time | relevance | path

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

/drivers/infiniband/ulp/iser/
Discsi_iser.c194 mutex_lock(&iser_conn->state_mutex); in iser_initialize_task_headers()
218 mutex_unlock(&iser_conn->state_mutex); in iser_initialize_task_headers()
483 mutex_lock(&iser_conn->state_mutex); in iscsi_iser_conn_bind()
504 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_conn_bind()
552 mutex_lock(&iser_conn->state_mutex); in iscsi_iser_conn_stop()
561 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_conn_stop()
637 mutex_lock(&iser_conn->state_mutex); in iscsi_iser_session_create()
641 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_session_create()
666 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_session_create()
669 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_session_create()
[all …]
Diser_verbs.c618 mutex_lock(&iser_conn->state_mutex); in iser_release_work()
620 mutex_unlock(&iser_conn->state_mutex); in iser_release_work()
673 mutex_lock(&iser_conn->state_mutex); in iser_conn_release()
686 mutex_unlock(&iser_conn->state_mutex); in iser_conn_release()
924 mutex_lock(&iser_conn->state_mutex); in iser_cma_handler()
965 mutex_unlock(&iser_conn->state_mutex); in iser_cma_handler()
979 mutex_init(&iser_conn->state_mutex); in iser_conn_init()
994 mutex_lock(&iser_conn->state_mutex); in iser_connect()
1031 mutex_unlock(&iser_conn->state_mutex); in iser_connect()
1043 mutex_unlock(&iser_conn->state_mutex); in iser_connect()
Discsi_iser.h541 struct mutex state_mutex; member
/drivers/block/drbd/
Ddrbd_worker.c1679 if (!mutex_trylock(device->state_mutex)) { in drbd_start_resync()
1686 mutex_lock(device->state_mutex); in drbd_start_resync()
1699 mutex_unlock(device->state_mutex); in drbd_start_resync()
1810 mutex_unlock(device->state_mutex); in drbd_start_resync()
Ddrbd_state.c344 mutex_lock(device->state_mutex); in drbd_req_state()
398 mutex_unlock(device->state_mutex); in drbd_req_state()
435 mutex_unlock(device->state_mutex), in _drbd_request_state_holding_state_mutex()
436 mutex_lock(device->state_mutex)); in _drbd_request_state_holding_state_mutex()
Ddrbd_receiver.c877 device->state_mutex = peer_device->connection->agreed_pro_version < 100 ? in drbd_connected()
1072 mutex_lock(peer_device->device->state_mutex); in conn_connect()
1077 mutex_unlock(peer_device->device->state_mutex); in conn_connect()
3933 mutex_lock(device->state_mutex); in receive_uuids()
3934 mutex_unlock(device->state_mutex); in receive_uuids()
3992 mutex_is_locked(device->state_mutex)) { in receive_req_state()
Ddrbd_nl.c585 mutex_lock(device->state_mutex); in drbd_set_role()
703 mutex_unlock(device->state_mutex); in drbd_set_role()
3351 mutex_lock(device->state_mutex); /* Protects us against serialized state changes. */ in drbd_adm_new_c_uuid()
3394 mutex_unlock(device->state_mutex); in drbd_adm_new_c_uuid()
Ddrbd_int.h957 …struct mutex *state_mutex; /* either own_state_mutex or first_peer_device(device)->connection->cst… member
Ddrbd_main.c1925 device->state_mutex = &device->own_state_mutex; in drbd_init_set_defaults()
/drivers/s390/block/
Ddasd_int.h446 struct mutex state_mutex; member
Ddasd.c128 mutex_init(&device->state_mutex); in dasd_alloc_device()
573 mutex_lock(&device->state_mutex); in do_kick_device()
575 mutex_unlock(&device->state_mutex); in do_kick_device()
636 mutex_lock(&device->state_mutex); in dasd_set_target_state()
647 mutex_unlock(&device->state_mutex); in dasd_set_target_state()