Home
last modified time | relevance | path

Searched refs:open_mutex (Results 1 – 7 of 7) sorted by relevance

/drivers/s390/block/
Ddasd_genhd.c116 mutex_lock(&block->gdp->open_mutex); in dasd_scan_partitions()
118 mutex_unlock(&block->gdp->open_mutex); in dasd_scan_partitions()
152 mutex_lock(&bdev->bd_disk->open_mutex); in dasd_destroy_partitions()
154 mutex_unlock(&bdev->bd_disk->open_mutex); in dasd_destroy_partitions()
/drivers/bluetooth/
Dhci_vhci.c38 struct mutex open_mutex; member
71 mutex_lock(&data->open_mutex); in vhci_send_frame()
73 mutex_unlock(&data->open_mutex); in vhci_send_frame()
152 mutex_lock(&data->open_mutex); in vhci_create_device()
154 mutex_unlock(&data->open_mutex); in vhci_create_device()
324 mutex_init(&data->open_mutex); in vhci_open()
/drivers/media/rc/
Dati_remote.c263 struct mutex open_mutex; member
328 mutex_lock(&ati_remote->open_mutex); in ati_remote_open()
341 out: mutex_unlock(&ati_remote->open_mutex); in ati_remote_open()
350 mutex_lock(&ati_remote->open_mutex); in ati_remote_close()
353 mutex_unlock(&ati_remote->open_mutex); in ati_remote_close()
890 mutex_init(&ati_remote->open_mutex); in ati_remote_probe()
/drivers/block/zram/
Dzram_drv.c1785 mutex_lock(&bdev->bd_disk->open_mutex); in reset_store()
1788 mutex_unlock(&bdev->bd_disk->open_mutex); in reset_store()
1794 mutex_unlock(&bdev->bd_disk->open_mutex); in reset_store()
1800 mutex_lock(&bdev->bd_disk->open_mutex); in reset_store()
1802 mutex_unlock(&bdev->bd_disk->open_mutex); in reset_store()
1812 WARN_ON(!mutex_is_locked(&bdev->bd_disk->open_mutex)); in zram_open()
1976 mutex_lock(&bdev->bd_disk->open_mutex); in zram_remove()
1978 mutex_unlock(&bdev->bd_disk->open_mutex); in zram_remove()
1983 mutex_unlock(&bdev->bd_disk->open_mutex); in zram_remove()
/drivers/block/
Dloop.c683 mutex_lock(&lo->lo_disk->open_mutex); in loop_reread_partitions()
685 mutex_unlock(&lo->lo_disk->open_mutex); in loop_reread_partitions()
1446 mutex_lock(&lo->lo_disk->open_mutex); in __loop_clr_fd()
1449 mutex_unlock(&lo->lo_disk->open_mutex); in __loop_clr_fd()
/drivers/md/
Dmd.c692 mutex_init(&mddev->open_mutex); in mddev_init()
6370 mutex_lock(&mddev->open_mutex); in md_set_readonly()
6399 mutex_unlock(&mddev->open_mutex); in md_set_readonly()
6432 mutex_lock(&mddev->open_mutex); in do_md_stop()
6438 mutex_unlock(&mddev->open_mutex); in do_md_stop()
6461 mutex_unlock(&mddev->open_mutex); in do_md_stop()
6467 mutex_unlock(&mddev->open_mutex); in do_md_stop()
7619 mutex_lock(&mddev->open_mutex); in md_ioctl()
7621 mutex_unlock(&mddev->open_mutex); in md_ioctl()
7626 mutex_unlock(&mddev->open_mutex); in md_ioctl()
[all …]
Dmd.h411 struct mutex open_mutex; member