Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/infiniband/ulp/iser/
A Diser_verbs.c361 mutex_lock(&iser_conn->state_mutex); in iser_release_work()
363 mutex_unlock(&iser_conn->state_mutex); in iser_release_work()
416 mutex_lock(&iser_conn->state_mutex); in iser_conn_release()
429 mutex_unlock(&iser_conn->state_mutex); in iser_conn_release()
451 lockdep_assert_held(&iser_conn->state_mutex); in iser_conn_terminate()
690 mutex_lock(&iser_conn->state_mutex); in iser_cma_handler()
734 mutex_unlock(&iser_conn->state_mutex); in iser_cma_handler()
748 mutex_init(&iser_conn->state_mutex); in iser_conn_init()
763 mutex_lock(&iser_conn->state_mutex); in iser_connect()
796 mutex_unlock(&iser_conn->state_mutex); in iser_connect()
[all …]
A Discsi_iser.c475 mutex_lock(&iser_conn->state_mutex); in iscsi_iser_conn_bind()
497 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_conn_bind()
543 mutex_lock(&iser_conn->state_mutex); in iscsi_iser_conn_stop()
554 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_conn_stop()
634 mutex_lock(&iser_conn->state_mutex); in iscsi_iser_session_create()
660 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_session_create()
851 mutex_lock(&iser_conn->state_mutex); in iscsi_iser_ep_poll()
855 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_ep_poll()
883 mutex_lock(&iser_conn->state_mutex); in iscsi_iser_ep_disconnect()
895 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_ep_disconnect()
[all …]
A Discsi_iser.h415 struct mutex state_mutex; member
/linux-6.3-rc2/sound/usb/line6/
A 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 …]
A Dpcm.h147 struct mutex state_mutex; member
/linux-6.3-rc2/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
261 return mutex_lock_interruptible(&ctx->state_mutex); in spu_acquire()
266 mutex_unlock(&ctx->state_mutex); in spu_release()
A Drun.c337 mutex_lock(&ctx->state_mutex); in spu_process_callback()
385 mutex_lock(&ctx->state_mutex); in spufs_run_spu()
A Dfault.c134 mutex_lock(&ctx->state_mutex); in spufs_handle_class1()
/linux-6.3-rc2/drivers/scsi/cxlflash/
A Docxl_hw.c134 mutex_lock(&ctx->state_mutex); in ocxlflash_psa_map()
138 mutex_unlock(&ctx->state_mutex); in ocxlflash_psa_map()
141 mutex_unlock(&ctx->state_mutex); in ocxlflash_psa_map()
340 mutex_lock(&ctx->state_mutex); in start_context()
376 mutex_unlock(&ctx->state_mutex); in start_context()
409 mutex_lock(&ctx->state_mutex); in ocxlflash_stop_context()
412 mutex_unlock(&ctx->state_mutex); in ocxlflash_stop_context()
508 mutex_init(&ctx->state_mutex); in ocxlflash_dev_context_init()
543 mutex_lock(&ctx->state_mutex); in ocxlflash_release_context()
551 mutex_unlock(&ctx->state_mutex); in ocxlflash_release_context()
[all …]
A Docxl_hw.h61 struct mutex state_mutex; /* Mutex to update context state */ member
/linux-6.3-rc2/net/nfc/hci/
A Dllc_shdlc.c31 struct mutex state_mutex; member
595 mutex_lock(&shdlc->state_mutex); in llc_shdlc_sm_work()
665 mutex_unlock(&shdlc->state_mutex); in llc_shdlc_sm_work()
676 mutex_lock(&shdlc->state_mutex); in llc_shdlc_connect()
683 mutex_unlock(&shdlc->state_mutex); in llc_shdlc_connect()
694 mutex_lock(&shdlc->state_mutex); in llc_shdlc_disconnect()
698 mutex_unlock(&shdlc->state_mutex); in llc_shdlc_disconnect()
735 mutex_init(&shdlc->state_mutex); in llc_shdlc_init()
/linux-6.3-rc2/drivers/vfio/pci/mlx5/
A Dcmd.c45 lockdep_assert_held(&mvdev->state_mutex); in mlx5vf_cmd_suspend_vhca()
77 lockdep_assert_held(&mvdev->state_mutex); in mlx5vf_cmd_resume_vhca()
96 lockdep_assert_held(&mvdev->state_mutex); in mlx5vf_cmd_query_vhca_migration_state()
160 mutex_lock(&mvdev->state_mutex); in mlx5fv_vf_event()
166 mutex_lock(&mvdev->state_mutex); in mlx5fv_vf_event()
184 mutex_lock(&mvdev->state_mutex); in mlx5vf_cmd_close_migratable()
233 mutex_init(&mvdev->state_mutex); in mlx5vf_cmd_set_migratable()
351 lockdep_assert_held(&mvdev->state_mutex); in mlx5vf_dma_data_buffer()
1395 mutex_lock(&mvdev->state_mutex); in mlx5vf_stop_page_tracker()
1422 mutex_lock(&mvdev->state_mutex); in mlx5vf_start_page_tracker()
[all …]
A Dmain.c412 mutex_lock(&mvdev->state_mutex); in mlx5vf_precopy_ioctl()
844 mutex_lock(&migf->mvdev->state_mutex); in mlx5vf_resume_write()
1161 mutex_unlock(&mvdev->state_mutex); in mlx5vf_state_mutex_unlock()
1175 mutex_lock(&mvdev->state_mutex); in mlx5vf_pci_set_device_state()
1205 mutex_lock(&mvdev->state_mutex); in mlx5vf_pci_get_data_size()
1220 mutex_lock(&mvdev->state_mutex); in mlx5vf_pci_get_device_state()
1242 if (!mutex_trylock(&mvdev->state_mutex)) { in mlx5vf_pci_aer_reset_done()
A Dcmd.h169 struct mutex state_mutex; member
/linux-6.3-rc2/drivers/net/phy/
A Dphylink.c71 struct mutex state_mutex; member
1294 mutex_lock(&pl->state_mutex); in phylink_resolve()
1408 mutex_unlock(&pl->state_mutex); in phylink_resolve()
1510 mutex_init(&pl->state_mutex); in phylink_create()
1596 mutex_lock(&pl->state_mutex); in phylink_phy_change()
1684 mutex_lock(&pl->state_mutex); in phylink_bringup_phy()
1858 mutex_lock(&pl->state_mutex); in phylink_disconnect_phy()
2013 mutex_lock(&pl->state_mutex); in phylink_suspend()
2057 mutex_lock(&pl->state_mutex); in phylink_resume()
2326 mutex_lock(&pl->state_mutex); in phylink_ethtool_ksettings_set()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/fungible/funeth/
A Dfuneth_main.c1226 mutex_lock(&ed->state_mutex); in fun_set_vf_mac()
1237 mutex_unlock(&ed->state_mutex); in fun_set_vf_mac()
1257 mutex_lock(&ed->state_mutex); in fun_set_vf_vlan()
1271 mutex_unlock(&ed->state_mutex); in fun_set_vf_vlan()
1288 mutex_lock(&ed->state_mutex); in fun_set_vf_rate()
1298 mutex_unlock(&ed->state_mutex); in fun_set_vf_rate()
1309 mutex_lock(&ed->state_mutex); in fun_get_vf_config()
1323 mutex_unlock(&ed->state_mutex); in fun_get_vf_config()
1974 mutex_lock(&ed->state_mutex); in funeth_sriov_configure()
1985 mutex_lock(&ed->state_mutex); in funeth_sriov_configure()
[all …]
A Dfuneth.h55 struct mutex state_mutex; /* nests inside RTNL if both taken */ member
/linux-6.3-rc2/drivers/vfio/pci/hisilicon/
A Dhisi_acc_vfio_pci.c650 mutex_unlock(&hisi_acc_vdev->state_mutex); in hisi_acc_vf_state_mutex_unlock()
786 mutex_lock(&hisi_acc_vdev->state_mutex); in hisi_acc_vf_precopy_ioctl()
788 mutex_unlock(&hisi_acc_vdev->state_mutex); in hisi_acc_vf_precopy_ioctl()
810 mutex_unlock(&hisi_acc_vdev->state_mutex); in hisi_acc_vf_precopy_ioctl()
1051 mutex_lock(&hisi_acc_vdev->state_mutex); in hisi_acc_vfio_pci_set_device_state()
1090 mutex_lock(&hisi_acc_vdev->state_mutex); in hisi_acc_vfio_pci_get_device_state()
1113 if (!mutex_trylock(&hisi_acc_vdev->state_mutex)) { in hisi_acc_vf_pci_aer_reset_done()
1352 mutex_init(&hisi_acc_vdev->state_mutex); in hisi_acc_vfio_pci_migrn_init_dev()
A Dhisi_acc_vfio_pci.h104 struct mutex state_mutex; member
/linux-6.3-rc2/drivers/scsi/
A Dscsi_lib.c2650 mutex_lock(&sdev->state_mutex); in scsi_device_quiesce()
2656 mutex_unlock(&sdev->state_mutex); in scsi_device_quiesce()
2677 mutex_lock(&sdev->state_mutex); in scsi_device_resume()
2684 mutex_unlock(&sdev->state_mutex); in scsi_device_resume()
2796 mutex_lock(&sdev->state_mutex); in scsi_internal_device_block()
2800 mutex_unlock(&sdev->state_mutex); in scsi_internal_device_block()
2878 mutex_lock(&sdev->state_mutex); in scsi_internal_device_unblock()
2880 mutex_unlock(&sdev->state_mutex); in scsi_internal_device_unblock()
2953 mutex_lock(&sdev->state_mutex); in scsi_host_block()
2955 mutex_unlock(&sdev->state_mutex); in scsi_host_block()
A Dscsi_sysfs.c814 mutex_lock(&sdev->state_mutex); in store_state_field()
820 mutex_unlock(&sdev->state_mutex); in store_state_field()
830 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()
1468 mutex_lock(&sdev->state_mutex); in __scsi_remove_device()
1470 mutex_unlock(&sdev->state_mutex); in __scsi_remove_device()
A Dscsi_error.c1128 mutex_lock(&sdev->state_mutex); in scsi_send_eh_cmnd()
1130 mutex_unlock(&sdev->state_mutex); in scsi_send_eh_cmnd()
1137 mutex_lock(&sdev->state_mutex); in scsi_send_eh_cmnd()
1143 mutex_unlock(&sdev->state_mutex); in scsi_send_eh_cmnd()
1776 mutex_lock(&sdev->state_mutex); in scsi_eh_offline_sdevs()
1778 mutex_unlock(&sdev->state_mutex); in scsi_eh_offline_sdevs()
A Dscsi_transport_srp.c568 mutex_lock(&sdev->state_mutex); in srp_reconnect_rport()
571 mutex_unlock(&sdev->state_mutex); in srp_reconnect_rport()

Completed in 91 milliseconds

12