Home
last modified time | relevance | path

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

/drivers/s390/block/
Ddasd_genhd.c141 mutex_lock(&block->gdp->open_mutex); in dasd_scan_partitions()
143 mutex_unlock(&block->gdp->open_mutex); in dasd_scan_partitions()
177 mutex_lock(&bdev->bd_disk->open_mutex); in dasd_destroy_partitions()
179 mutex_unlock(&bdev->bd_disk->open_mutex); in dasd_destroy_partitions()
/drivers/media/rc/
Dati_remote.c261 struct mutex open_mutex; member
326 mutex_lock(&ati_remote->open_mutex); in ati_remote_open()
339 out: mutex_unlock(&ati_remote->open_mutex); in ati_remote_open()
348 mutex_lock(&ati_remote->open_mutex); in ati_remote_close()
351 mutex_unlock(&ati_remote->open_mutex); in ati_remote_close()
889 mutex_init(&ati_remote->open_mutex); in ati_remote_probe()
/drivers/bluetooth/
Dhci_vhci.c40 struct mutex open_mutex; member
378 mutex_lock(&data->open_mutex); in vhci_create_device()
380 mutex_unlock(&data->open_mutex); in vhci_create_device()
550 mutex_init(&data->open_mutex); in vhci_open()
/drivers/block/zram/
Dzram_drv.c1804 mutex_lock(&disk->open_mutex); in reset_store()
1807 mutex_unlock(&disk->open_mutex); in reset_store()
1813 mutex_unlock(&disk->open_mutex); in reset_store()
1819 mutex_lock(&disk->open_mutex); in reset_store()
1821 mutex_unlock(&disk->open_mutex); in reset_store()
1831 WARN_ON(!mutex_is_locked(&bdev->bd_disk->open_mutex)); in zram_open()
1985 mutex_lock(&zram->disk->open_mutex); in zram_remove()
1987 mutex_unlock(&zram->disk->open_mutex); in zram_remove()
1994 mutex_unlock(&zram->disk->open_mutex); in zram_remove()
/drivers/block/
Dloop.c515 mutex_lock(&lo->lo_disk->open_mutex); in loop_reread_partitions()
517 mutex_unlock(&lo->lo_disk->open_mutex); in loop_reread_partitions()
1186 mutex_lock(&lo->lo_disk->open_mutex); in __loop_clr_fd()
1189 mutex_unlock(&lo->lo_disk->open_mutex); in __loop_clr_fd()
/drivers/md/
Dmd.c692 mutex_init(&mddev->open_mutex); in mddev_init()
6388 mutex_lock(&mddev->open_mutex); in md_set_readonly()
6417 mutex_unlock(&mddev->open_mutex); in md_set_readonly()
6450 mutex_lock(&mddev->open_mutex); in do_md_stop()
6456 mutex_unlock(&mddev->open_mutex); in do_md_stop()
6479 mutex_unlock(&mddev->open_mutex); in do_md_stop()
6485 mutex_unlock(&mddev->open_mutex); in do_md_stop()
7640 mutex_lock(&mddev->open_mutex); in md_ioctl()
7642 mutex_unlock(&mddev->open_mutex); in md_ioctl()
7647 mutex_unlock(&mddev->open_mutex); in md_ioctl()
[all …]
Dmd.h428 struct mutex open_mutex; member