/linux-6.6.21/drivers/vfio/pci/pds/ |
D | vfio_dev.c | 45 mutex_unlock(&pds_vfio->state_mutex); in pds_vfio_state_mutex_unlock() 54 if (!mutex_trylock(&pds_vfio->state_mutex)) { in pds_vfio_reset() 71 mutex_lock(&pds_vfio->state_mutex); in pds_vfio_set_device_state() 115 mutex_lock(&pds_vfio->state_mutex); in pds_vfio_get_device_state() 158 mutex_init(&pds_vfio->state_mutex); in pds_vfio_init_device() 180 mutex_destroy(&pds_vfio->state_mutex); in pds_vfio_release_device() 210 mutex_lock(&pds_vfio->state_mutex); in pds_vfio_close_device() 214 mutex_unlock(&pds_vfio->state_mutex); in pds_vfio_close_device()
|
D | pci_drv.c | 40 mutex_lock(&pds_vfio->state_mutex); in pds_vfio_recovery() 46 mutex_unlock(&pds_vfio->state_mutex); in pds_vfio_recovery()
|
D | vfio_dev.h | 19 struct mutex state_mutex; /* protect migration state */ member
|
D | dirty.c | 529 mutex_lock(&pds_vfio->state_mutex); in pds_vfio_dma_logging_report() 545 mutex_lock(&pds_vfio->state_mutex); in pds_vfio_dma_logging_start() 559 mutex_lock(&pds_vfio->state_mutex); in pds_vfio_dma_logging_stop()
|
/linux-6.6.21/drivers/infiniband/ulp/iser/ |
D | iser_verbs.c | 354 mutex_lock(&iser_conn->state_mutex); in iser_release_work() 356 mutex_unlock(&iser_conn->state_mutex); in iser_release_work() 409 mutex_lock(&iser_conn->state_mutex); in iser_conn_release() 422 mutex_unlock(&iser_conn->state_mutex); in iser_conn_release() 444 lockdep_assert_held(&iser_conn->state_mutex); in iser_conn_terminate() 482 lockdep_assert_held(&iser_conn->state_mutex); in iser_connect_error() 530 lockdep_assert_held(&iser_conn->state_mutex); in iser_addr_handler() 581 lockdep_assert_held(&iser_conn->state_mutex); in iser_route_handler() 625 lockdep_assert_held(&iser_conn->state_mutex); in iser_connected_handler() 655 lockdep_assert_held(&iser_conn->state_mutex); in iser_cleanup_handler() [all …]
|
D | iscsi_iser.c | 475 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() 638 mutex_unlock(&iser_conn->state_mutex); in iscsi_iser_session_create() 657 mutex_unlock(&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() [all …]
|
/linux-6.6.21/sound/usb/line6/ |
D | pcm.c | 307 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 …]
|
D | pcm.h | 147 struct mutex state_mutex; member
|
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/ |
D | context.c | 40 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()
|
D | sched.c | 542 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()
|
D | spufs.h | 82 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()
|
D | run.c | 337 mutex_lock(&ctx->state_mutex); in spu_process_callback() 385 mutex_lock(&ctx->state_mutex); in spufs_run_spu()
|
D | fault.c | 134 mutex_lock(&ctx->state_mutex); in spufs_handle_class1()
|
/linux-6.6.21/drivers/scsi/cxlflash/ |
D | ocxl_hw.c | 134 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() 547 mutex_unlock(&ctx->state_mutex); in ocxlflash_release_context() [all …]
|
D | ocxl_hw.h | 61 struct mutex state_mutex; /* Mutex to update context state */ member
|
/linux-6.6.21/net/nfc/hci/ |
D | llc_shdlc.c | 31 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.6.21/drivers/vfio/pci/mlx5/ |
D | cmd.c | 45 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() 379 lockdep_assert_held(&migf->mvdev->state_mutex); in mlx5vf_free_data_buffer() 442 lockdep_assert_held(&migf->mvdev->state_mutex); in mlx5vf_get_data_buffer() [all …]
|
D | main.c | 412 mutex_lock(&mvdev->state_mutex); in mlx5vf_precopy_ioctl() 838 mutex_lock(&migf->mvdev->state_mutex); in mlx5vf_resume_write() 1155 mutex_unlock(&mvdev->state_mutex); in mlx5vf_state_mutex_unlock() 1169 mutex_lock(&mvdev->state_mutex); in mlx5vf_pci_set_device_state() 1199 mutex_lock(&mvdev->state_mutex); in mlx5vf_pci_get_data_size() 1214 mutex_lock(&mvdev->state_mutex); in mlx5vf_pci_get_device_state() 1236 if (!mutex_trylock(&mvdev->state_mutex)) { in mlx5vf_pci_aer_reset_done()
|
/linux-6.6.21/drivers/net/ethernet/fungible/funeth/ |
D | funeth_main.c | 1226 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() 1976 mutex_unlock(&ed->state_mutex); in funeth_sriov_configure() [all …]
|
D | funeth.h | 55 struct mutex state_mutex; /* nests inside RTNL if both taken */ member
|
/linux-6.6.21/drivers/vfio/pci/hisilicon/ |
D | hisi_acc_vfio_pci.c | 650 mutex_unlock(&hisi_acc_vdev->state_mutex); in hisi_acc_vf_state_mutex_unlock() 787 mutex_lock(&hisi_acc_vdev->state_mutex); in hisi_acc_vf_precopy_ioctl() 789 mutex_unlock(&hisi_acc_vdev->state_mutex); in hisi_acc_vf_precopy_ioctl() 811 mutex_unlock(&hisi_acc_vdev->state_mutex); in hisi_acc_vf_precopy_ioctl() 1054 mutex_lock(&hisi_acc_vdev->state_mutex); in hisi_acc_vfio_pci_set_device_state() 1093 mutex_lock(&hisi_acc_vdev->state_mutex); in hisi_acc_vfio_pci_get_device_state() 1116 if (!mutex_trylock(&hisi_acc_vdev->state_mutex)) { in hisi_acc_vf_pci_aer_reset_done() 1355 mutex_init(&hisi_acc_vdev->state_mutex); in hisi_acc_vfio_pci_migrn_init_dev()
|
D | hisi_acc_vfio_pci.h | 104 struct mutex state_mutex; member
|
/linux-6.6.21/drivers/net/phy/ |
D | phylink.c | 75 struct mutex state_mutex; member 1420 mutex_lock(&pl->state_mutex); in phylink_resolve() 1527 mutex_unlock(&pl->state_mutex); in phylink_resolve() 1628 mutex_init(&pl->state_mutex); in phylink_create() 1734 mutex_lock(&pl->state_mutex); in phylink_phy_change() 1745 mutex_unlock(&pl->state_mutex); in phylink_phy_change() 1822 mutex_lock(&pl->state_mutex); in phylink_bringup_phy() 1834 mutex_unlock(&pl->state_mutex); in phylink_bringup_phy() 1996 mutex_lock(&pl->state_mutex); in phylink_disconnect_phy() 1998 mutex_unlock(&pl->state_mutex); in phylink_disconnect_phy() [all …]
|
/linux-6.6.21/drivers/scsi/ |
D | scsi_lib.c | 2657 mutex_lock(&sdev->state_mutex); in scsi_device_quiesce() 2663 mutex_unlock(&sdev->state_mutex); in scsi_device_quiesce() 2684 mutex_lock(&sdev->state_mutex); in scsi_device_resume() 2691 mutex_unlock(&sdev->state_mutex); in scsi_device_resume() 2796 mutex_lock(&sdev->state_mutex); in scsi_device_block() 2807 mutex_unlock(&sdev->state_mutex); in scsi_device_block() 2886 mutex_lock(&sdev->state_mutex); in scsi_internal_device_unblock() 2888 mutex_unlock(&sdev->state_mutex); in scsi_internal_device_unblock() 2969 mutex_lock(&sdev->state_mutex); in scsi_host_block() 2971 mutex_unlock(&sdev->state_mutex); in scsi_host_block()
|
D | scsi_sysfs.c | 815 mutex_lock(&sdev->state_mutex); in store_state_field() 821 mutex_unlock(&sdev->state_mutex); in store_state_field() 831 mutex_unlock(&sdev->state_mutex); in store_state_field() 1468 mutex_lock(&sdev->state_mutex); in __scsi_remove_device() 1480 mutex_unlock(&sdev->state_mutex); in __scsi_remove_device() 1498 mutex_lock(&sdev->state_mutex); in __scsi_remove_device() 1500 mutex_unlock(&sdev->state_mutex); in __scsi_remove_device()
|