Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Discsi_iser.c194 mutex_lock(&iser_conn->state_mutex); in iser_initialize_task_headers()
219 mutex_unlock(&iser_conn->state_mutex); in iser_initialize_task_headers()
481 mutex_lock(&iser_conn->state_mutex); in iscsi_iser_conn_bind()
502 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_conn_bind()
550 mutex_lock(&iser_conn->state_mutex); in iscsi_iser_conn_stop()
561 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_conn_stop()
636 mutex_lock(&iser_conn->state_mutex); in iscsi_iser_session_create()
640 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_session_create()
659 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_session_create()
662 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_session_create()
[all …]
Diser_verbs.c377 mutex_lock(&iser_conn->state_mutex); in iser_release_work()
379 mutex_unlock(&iser_conn->state_mutex); in iser_release_work()
433 mutex_lock(&iser_conn->state_mutex); in iser_conn_release()
446 mutex_unlock(&iser_conn->state_mutex); in iser_conn_release()
700 mutex_lock(&iser_conn->state_mutex); in iser_cma_handler()
744 mutex_unlock(&iser_conn->state_mutex); in iser_cma_handler()
758 mutex_init(&iser_conn->state_mutex); in iser_conn_init()
776 mutex_lock(&iser_conn->state_mutex); in iser_connect()
810 mutex_unlock(&iser_conn->state_mutex); in iser_connect()
822 mutex_unlock(&iser_conn->state_mutex); in iser_connect()
Discsi_iser.h431 struct mutex state_mutex; member
/kernel/linux/linux-5.10/sound/usb/line6/
Dpcm.c307 mutex_lock(&line6pcm->state_mutex); in line6_pcm_acquire()
324 mutex_unlock(&line6pcm->state_mutex); in line6_pcm_acquire()
337 mutex_lock(&line6pcm->state_mutex); in line6_pcm_release()
344 mutex_unlock(&line6pcm->state_mutex); in line6_pcm_release()
356 mutex_lock(&line6pcm->state_mutex); in snd_line6_hw_params()
364 mutex_unlock(&line6pcm->state_mutex); in snd_line6_hw_params()
374 mutex_lock(&line6pcm->state_mutex); in snd_line6_hw_free()
376 mutex_unlock(&line6pcm->state_mutex); in snd_line6_hw_free()
537 mutex_init(&line6pcm->state_mutex); in line6_init_pcm()
591 mutex_lock(&line6pcm->state_mutex); in snd_line6_prepare()
[all …]
Dpcm.h147 struct mutex state_mutex; member
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
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()
Dsched.c548 mutex_unlock(&ctx->state_mutex); in spu_prio_wait()
550 mutex_lock(&ctx->state_mutex); in spu_prio_wait()
664 if (!mutex_trylock(&victim->state_mutex)) { in find_victim()
677 mutex_unlock(&victim->state_mutex); in find_victim()
695 mutex_unlock(&victim->state_mutex); in find_victim()
731 mutex_lock(&ctx->state_mutex); in spu_schedule()
867 mutex_lock(&ctx->state_mutex); in __spu_deactivate()
901 mutex_lock(&ctx->state_mutex); in spu_yield()
903 mutex_unlock(&ctx->state_mutex); in spu_yield()
1037 WARN_ON(!mutex_is_locked(&ctx->state_mutex)); in spuctx_switch_state()
Dspufs.h82 struct mutex state_mutex; member
261 return mutex_lock_interruptible(&ctx->state_mutex); in spu_acquire()
266 mutex_unlock(&ctx->state_mutex); in spu_release()
Drun.c337 mutex_lock(&ctx->state_mutex); in spu_process_callback()
386 mutex_lock(&ctx->state_mutex); in spufs_run_spu()
Dfault.c134 mutex_lock(&ctx->state_mutex); in spufs_handle_class1()
Dfile.c761 mutex_lock(&ctx->state_mutex); in spufs_ibox_poll()
893 mutex_lock(&ctx->state_mutex); in spufs_wbox_poll()
1682 mutex_lock(&ctx->state_mutex); in spufs_mfc_poll()
2493 mutex_lock(&ctx->state_mutex); in spufs_show_ctx()
2523 mutex_unlock(&ctx->state_mutex); in spufs_show_ctx()
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/
Docxl_hw.c133 mutex_lock(&ctx->state_mutex); in ocxlflash_psa_map()
137 mutex_unlock(&ctx->state_mutex); in ocxlflash_psa_map()
140 mutex_unlock(&ctx->state_mutex); in ocxlflash_psa_map()
338 mutex_lock(&ctx->state_mutex); in start_context()
373 mutex_unlock(&ctx->state_mutex); in start_context()
406 mutex_lock(&ctx->state_mutex); in ocxlflash_stop_context()
409 mutex_unlock(&ctx->state_mutex); in ocxlflash_stop_context()
505 mutex_init(&ctx->state_mutex); in ocxlflash_dev_context_init()
540 mutex_lock(&ctx->state_mutex); in ocxlflash_release_context()
544 mutex_unlock(&ctx->state_mutex); in ocxlflash_release_context()
[all …]
Docxl_hw.h61 struct mutex state_mutex; /* Mutex to update context state */ member
/kernel/linux/linux-5.10/net/nfc/hci/
Dllc_shdlc.c31 struct mutex state_mutex; member
606 mutex_lock(&shdlc->state_mutex); in llc_shdlc_sm_work()
678 mutex_unlock(&shdlc->state_mutex); in llc_shdlc_sm_work()
691 mutex_lock(&shdlc->state_mutex); in llc_shdlc_connect()
698 mutex_unlock(&shdlc->state_mutex); in llc_shdlc_connect()
711 mutex_lock(&shdlc->state_mutex); in llc_shdlc_disconnect()
715 mutex_unlock(&shdlc->state_mutex); in llc_shdlc_disconnect()
752 mutex_init(&shdlc->state_mutex); in llc_shdlc_init()
/kernel/linux/linux-5.10/drivers/net/phy/
Dphylink.c70 struct mutex state_mutex; member
650 mutex_lock(&pl->state_mutex); in phylink_resolve()
752 mutex_unlock(&pl->state_mutex); in phylink_resolve()
835 mutex_init(&pl->state_mutex); in phylink_create()
941 mutex_lock(&pl->state_mutex); in phylink_phy_change()
951 mutex_unlock(&pl->state_mutex); in phylink_phy_change()
1015 mutex_lock(&pl->state_mutex); in phylink_bringup_phy()
1026 mutex_unlock(&pl->state_mutex); in phylink_bringup_phy()
1163 mutex_lock(&pl->state_mutex); in phylink_disconnect_phy()
1165 mutex_unlock(&pl->state_mutex); in phylink_disconnect_phy()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_lib.c2555 mutex_lock(&sdev->state_mutex); in scsi_device_quiesce()
2561 mutex_unlock(&sdev->state_mutex); in scsi_device_quiesce()
2582 mutex_lock(&sdev->state_mutex); in scsi_device_resume()
2589 mutex_unlock(&sdev->state_mutex); in scsi_device_resume()
2709 mutex_lock(&sdev->state_mutex); in scsi_internal_device_block()
2713 mutex_unlock(&sdev->state_mutex); in scsi_internal_device_block()
2791 mutex_lock(&sdev->state_mutex); in scsi_internal_device_unblock()
2793 mutex_unlock(&sdev->state_mutex); in scsi_internal_device_unblock()
2866 mutex_lock(&sdev->state_mutex); in scsi_host_block()
2868 mutex_unlock(&sdev->state_mutex); in scsi_host_block()
Dscsi_error.c1086 mutex_lock(&sdev->state_mutex); in scsi_send_eh_cmnd()
1088 mutex_unlock(&sdev->state_mutex); in scsi_send_eh_cmnd()
1095 mutex_lock(&sdev->state_mutex); in scsi_send_eh_cmnd()
1101 mutex_unlock(&sdev->state_mutex); in scsi_send_eh_cmnd()
1729 mutex_lock(&sdev->state_mutex); in scsi_eh_offline_sdevs()
1731 mutex_unlock(&sdev->state_mutex); in scsi_eh_offline_sdevs()
Dscsi_sysfs.c817 mutex_lock(&sdev->state_mutex); in store_state_field()
825 mutex_unlock(&sdev->state_mutex); in store_state_field()
1438 mutex_lock(&sdev->state_mutex); in __scsi_remove_device()
1450 mutex_unlock(&sdev->state_mutex); in __scsi_remove_device()
1471 mutex_lock(&sdev->state_mutex); in __scsi_remove_device()
1473 mutex_unlock(&sdev->state_mutex); in __scsi_remove_device()
Dscsi_transport_srp.c568 mutex_lock(&sdev->state_mutex); in srp_reconnect_rport()
571 mutex_unlock(&sdev->state_mutex); in srp_reconnect_rport()
Dscsi_scan.c235 mutex_init(&sdev->state_mutex); in scsi_alloc_sdev()
930 mutex_lock(&sdev->state_mutex); in scsi_add_lun()
934 mutex_unlock(&sdev->state_mutex); in scsi_add_lun()
/kernel/linux/linux-5.10/drivers/block/
Drbd.c313 struct mutex state_mutex; member
345 struct mutex state_mutex; member
1522 mutex_init(&obj_request->state_mutex); in rbd_obj_request_create()
1641 mutex_init(&img_request->state_mutex); in rbd_img_request_init()
3437 mutex_lock(&obj_req->state_mutex); in __rbd_obj_handle_request()
3442 mutex_unlock(&obj_req->state_mutex); in __rbd_obj_handle_request()
3614 mutex_lock(&img_req->state_mutex); in __rbd_img_handle_request()
3618 mutex_unlock(&img_req->state_mutex); in __rbd_img_handle_request()
3621 mutex_lock(&img_req->state_mutex); in __rbd_img_handle_request()
3623 mutex_unlock(&img_req->state_mutex); in __rbd_img_handle_request()
[all …]
/kernel/linux/linux-5.10/include/scsi/
Dscsi_device.h238 struct mutex state_mutex; member
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_worker.c1784 if (!mutex_trylock(device->state_mutex)) { in drbd_start_resync()
1791 mutex_lock(device->state_mutex); in drbd_start_resync()
1910 mutex_unlock(device->state_mutex); in drbd_start_resync()
Ddrbd_state.c575 mutex_lock(device->state_mutex); in drbd_req_state()
633 mutex_unlock(device->state_mutex); in drbd_req_state()
709 mutex_unlock(device->state_mutex), in _drbd_request_state_holding_state_mutex()
710 mutex_lock(device->state_mutex)); in _drbd_request_state_holding_state_mutex()
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd.c146 mutex_init(&device->state_mutex); in dasd_alloc_device()
586 mutex_lock(&device->state_mutex); in do_kick_device()
588 mutex_unlock(&device->state_mutex); in do_kick_device()
649 mutex_lock(&device->state_mutex); in dasd_set_target_state()
660 mutex_unlock(&device->state_mutex); in dasd_set_target_state()

12