Home
last modified time | relevance | path

Searched refs:io_mutex (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.1.9/drivers/most/
Dmost_cdev.c35 struct mutex io_mutex; member
131 mutex_lock(&c->io_mutex); in comp_open()
133 mutex_unlock(&c->io_mutex); in comp_open()
138 mutex_unlock(&c->io_mutex); in comp_open()
146 mutex_unlock(&c->io_mutex); in comp_open()
161 mutex_lock(&c->io_mutex); in comp_close()
167 mutex_unlock(&c->io_mutex); in comp_close()
169 mutex_unlock(&c->io_mutex); in comp_close()
190 mutex_lock(&c->io_mutex); in comp_write()
192 mutex_unlock(&c->io_mutex); in comp_write()
[all …]
Dmost_usb.c117 struct mutex io_mutex; member
254 mutex_lock(&mdev->io_mutex); in hdm_poison_channel()
263 mutex_unlock(&mdev->io_mutex); in hdm_poison_channel()
478 mutex_lock(&mdev->io_mutex); in hdm_enqueue()
524 mutex_unlock(&mdev->io_mutex); in hdm_enqueue()
531 mutex_unlock(&mdev->io_mutex); in hdm_enqueue()
737 mutex_lock(&mdev->io_mutex); in wq_clear_halt()
763 mutex_unlock(&mdev->io_mutex); in wq_clear_halt()
969 mutex_init(&mdev->io_mutex); in hdm_probe()
1059 mutex_lock(&mdev->io_mutex); in hdm_probe()
[all …]
/linux-6.1.9/drivers/usb/misc/
Dyurex.c62 struct mutex io_mutex; member
204 mutex_init(&dev->io_mutex); in yurex_probe()
321 mutex_lock(&dev->io_mutex); in yurex_disconnect()
323 mutex_unlock(&dev->io_mutex); in yurex_disconnect()
378 mutex_lock(&dev->io_mutex); in yurex_open()
380 mutex_unlock(&dev->io_mutex); in yurex_open()
409 mutex_lock(&dev->io_mutex); in yurex_read()
411 mutex_unlock(&dev->io_mutex); in yurex_read()
418 mutex_unlock(&dev->io_mutex); in yurex_read()
444 mutex_lock(&dev->io_mutex); in yurex_write()
[all …]
/linux-6.1.9/drivers/usb/
Dusb-skeleton.c63 struct mutex io_mutex; /* synchronize I/O with disconnect */ member
146 mutex_lock(&dev->io_mutex); in skel_flush()
155 mutex_unlock(&dev->io_mutex); in skel_flush()
237 rv = mutex_lock_interruptible(&dev->io_mutex); in skel_read()
328 mutex_unlock(&dev->io_mutex); in skel_read()
422 mutex_lock(&dev->io_mutex); in skel_write()
424 mutex_unlock(&dev->io_mutex); in skel_write()
438 mutex_unlock(&dev->io_mutex); in skel_write()
502 mutex_init(&dev->io_mutex); in skel_probe()
573 mutex_lock(&dev->io_mutex); in skel_disconnect()
[all …]
/linux-6.1.9/drivers/s390/cio/
Dvfio_ccw_async.c26 mutex_lock(&private->io_mutex); in vfio_ccw_async_region_read()
32 mutex_unlock(&private->io_mutex); in vfio_ccw_async_region_read()
48 if (!mutex_trylock(&private->io_mutex)) in vfio_ccw_async_region_write()
62 mutex_unlock(&private->io_mutex); in vfio_ccw_async_region_write()
Dvfio_ccw_chp.c27 mutex_lock(&private->io_mutex); in vfio_ccw_schib_region_read()
45 mutex_unlock(&private->io_mutex); in vfio_ccw_schib_region_read()
98 mutex_lock(&private->io_mutex); in vfio_ccw_crw_region_read()
111 mutex_unlock(&private->io_mutex); in vfio_ccw_crw_region_read()
Dvfio_ccw_drv.c92 mutex_lock(&private->io_mutex); in vfio_ccw_sch_io_todo()
94 mutex_unlock(&private->io_mutex); in vfio_ccw_sch_io_todo()
139 mutex_init(&private->io_mutex); in vfio_ccw_alloc_private()
182 mutex_destroy(&private->io_mutex); in vfio_ccw_alloc_private()
201 mutex_destroy(&private->io_mutex); in vfio_ccw_free_private()
Dvfio_ccw_ops.c179 mutex_lock(&private->io_mutex); in vfio_ccw_mdev_read_io_region()
185 mutex_unlock(&private->io_mutex); in vfio_ccw_mdev_read_io_region()
224 if (!mutex_trylock(&private->io_mutex)) in vfio_ccw_mdev_write_io_region()
237 mutex_unlock(&private->io_mutex); in vfio_ccw_mdev_write_io_region()
Dvfio_ccw_private.h100 struct mutex io_mutex; member
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_lpc_mec.c17 static DEFINE_MUTEX(io_mutex);
95 mutex_lock(&io_mutex); in cros_ec_lpc_io_bytes_mec()
137 mutex_unlock(&io_mutex); in cros_ec_lpc_io_bytes_mec()
152 mutex_destroy(&io_mutex); in cros_ec_lpc_mec_destroy()
/linux-6.1.9/drivers/media/usb/hdpvr/
Dhdpvr-video.c191 mutex_lock(&dev->io_mutex); in hdpvr_submit_buffers()
222 mutex_unlock(&dev->io_mutex); in hdpvr_submit_buffers()
230 mutex_lock(&dev->io_mutex); in hdpvr_get_next_buffer()
233 mutex_unlock(&dev->io_mutex); in hdpvr_get_next_buffer()
239 mutex_unlock(&dev->io_mutex); in hdpvr_get_next_buffer()
338 mutex_unlock(&dev->io_mutex); in hdpvr_stop_streaming()
345 mutex_lock(&dev->io_mutex); in hdpvr_stop_streaming()
392 mutex_lock(&dev->io_mutex); in hdpvr_release()
397 mutex_unlock(&dev->io_mutex); in hdpvr_release()
418 mutex_lock(&dev->io_mutex); in hdpvr_read()
[all …]
Dhdpvr-core.c296 mutex_init(&dev->io_mutex); in hdpvr_probe()
349 mutex_lock(&dev->io_mutex); in hdpvr_probe()
351 mutex_unlock(&dev->io_mutex); in hdpvr_probe()
356 mutex_unlock(&dev->io_mutex); in hdpvr_probe()
418 mutex_lock(&dev->io_mutex); in hdpvr_disconnect()
422 mutex_unlock(&dev->io_mutex); in hdpvr_disconnect()
426 mutex_lock(&dev->io_mutex); in hdpvr_disconnect()
428 mutex_unlock(&dev->io_mutex); in hdpvr_disconnect()
Dhdpvr.h96 struct mutex io_mutex; member
/linux-6.1.9/drivers/net/wireless/realtek/rtl818x/rtl8187/
Drtl8225.c27 mutex_lock(&priv->io_mutex); in rtl818x_ioread8_idx()
34 mutex_unlock(&priv->io_mutex); in rtl818x_ioread8_idx()
44 mutex_lock(&priv->io_mutex); in rtl818x_ioread16_idx()
51 mutex_unlock(&priv->io_mutex); in rtl818x_ioread16_idx()
61 mutex_lock(&priv->io_mutex); in rtl818x_ioread32_idx()
68 mutex_unlock(&priv->io_mutex); in rtl818x_ioread32_idx()
76 mutex_lock(&priv->io_mutex); in rtl818x_iowrite8_idx()
84 mutex_unlock(&priv->io_mutex); in rtl818x_iowrite8_idx()
90 mutex_lock(&priv->io_mutex); in rtl818x_iowrite16_idx()
98 mutex_unlock(&priv->io_mutex); in rtl818x_iowrite16_idx()
[all …]
/linux-6.1.9/drivers/usb/class/
Dusbtmc.c109 struct mutex io_mutex; /* only one i/o function running at a time */ member
189 mutex_lock(&data->io_mutex); in usbtmc_open()
204 mutex_unlock(&data->io_mutex); in usbtmc_open()
228 mutex_lock(&data->io_mutex); in usbtmc_flush()
241 mutex_unlock(&data->io_mutex); in usbtmc_flush()
251 mutex_lock(&file_data->data->io_mutex); in usbtmc_release()
257 mutex_unlock(&file_data->data->io_mutex); in usbtmc_release()
619 mutex_unlock(&data->io_mutex); in usbtmc488_ioctl_wait_srq()
627 mutex_lock(&data->io_mutex); in usbtmc488_ioctl_wait_srq()
1383 mutex_lock(&data->io_mutex); in usbtmc_read()
[all …]
/linux-6.1.9/fs/ubifs/
Dio.c692 if (mutex_is_locked(&wbuf->io_mutex)) in ubifs_bg_wbufs_sync()
695 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()
697 mutex_unlock(&wbuf->io_mutex); in ubifs_bg_wbufs_sync()
702 mutex_unlock(&wbuf->io_mutex); in ubifs_bg_wbufs_sync()
717 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()
719 mutex_unlock(&wbuf->io_mutex); in ubifs_bg_wbufs_sync()
755 ubifs_assert(c, mutex_is_locked(&wbuf->io_mutex)); in ubifs_wbuf_write_nolock()
1177 mutex_init(&wbuf->io_mutex); in ubifs_wbuf_init()
1257 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_sync_wbufs_by_inode()
1260 mutex_unlock(&wbuf->io_mutex); in ubifs_sync_wbufs_by_inode()
Dmisc.h131 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()
133 mutex_unlock(&wbuf->io_mutex); in ubifs_wbuf_sync()
Dgc.c682 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_garbage_collect()
851 mutex_unlock(&wbuf->io_mutex); in ubifs_garbage_collect()
859 mutex_unlock(&wbuf->io_mutex); in ubifs_garbage_collect()
958 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_gc_end_commit()
973 mutex_unlock(&wbuf->io_mutex); in ubifs_gc_end_commit()
/linux-6.1.9/drivers/md/
Draid5-ppl.c120 struct mutex io_mutex; member
376 mutex_lock(&log->io_mutex); in ppl_write_stripe()
379 mutex_unlock(&log->io_mutex); in ppl_write_stripe()
393 mutex_unlock(&log->io_mutex); in ppl_write_stripe()
541 mutex_lock(&log->io_mutex); in ppl_write_stripe_run()
543 mutex_unlock(&log->io_mutex); in ppl_write_stripe_run()
1414 mutex_init(&log->io_mutex); in ppl_init_log()
1480 mutex_lock(&log->io_mutex); in ppl_modify_log()
1491 mutex_unlock(&log->io_mutex); in ppl_modify_log()
Draid5-cache.c101 struct mutex io_mutex; member
877 mutex_lock(&log->io_mutex); in r5l_append_flush_payload()
881 mutex_unlock(&log->io_mutex); in r5l_append_flush_payload()
898 mutex_unlock(&log->io_mutex); in r5l_append_flush_payload()
1040 mutex_lock(&log->io_mutex); in r5l_write_stripe()
1083 mutex_unlock(&log->io_mutex); in r5l_write_stripe()
1093 mutex_lock(&log->io_mutex); in r5l_write_stripe_run()
1095 mutex_unlock(&log->io_mutex); in r5l_write_stripe_run()
1116 mutex_lock(&log->io_mutex); in r5l_handle_flush_request()
1123 mutex_unlock(&log->io_mutex); in r5l_handle_flush_request()
[all …]
/linux-6.1.9/drivers/s390/char/
Dvmur.c113 mutex_init(&urd->io_mutex); in urdev_alloc()
260 rc = mutex_lock_interruptible(&urd->io_mutex); in do_ur_io()
279 mutex_unlock(&urd->io_mutex); in do_ur_io()
574 rc = mutex_lock_interruptible(&urd->io_mutex); in ur_read()
578 mutex_unlock(&urd->io_mutex); in ur_read()
Dvmur.h68 struct mutex io_mutex; /* Serialises device IO */ member
/linux-6.1.9/sound/soc/
Dsoc-component.c713 mutex_lock(&component->io_mutex); in snd_soc_component_read()
715 mutex_unlock(&component->io_mutex); in snd_soc_component_read()
748 mutex_lock(&component->io_mutex); in snd_soc_component_write()
750 mutex_unlock(&component->io_mutex); in snd_soc_component_write()
763 mutex_lock(&component->io_mutex); in snd_soc_component_update_bits_legacy()
772 mutex_unlock(&component->io_mutex); in snd_soc_component_update_bits_legacy()
/linux-6.1.9/drivers/md/bcache/
Ddebug.c40 down(&b->io_mutex); in bch_btree_verify()
105 up(&b->io_mutex); in bch_btree_verify()
/linux-6.1.9/drivers/spi/
Dspi-mux.c144 lockdep_set_subclass(&ctlr->io_mutex, 1); in spi_mux_probe()

12