Home
last modified time | relevance | path

Searched refs:bd_mutex (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_genhd.c112 mutex_lock(&bdev->bd_mutex); in dasd_scan_partitions()
114 mutex_unlock(&bdev->bd_mutex); in dasd_scan_partitions()
148 mutex_lock(&bdev->bd_mutex); in dasd_destroy_partitions()
150 mutex_unlock(&bdev->bd_mutex); in dasd_destroy_partitions()
/kernel/linux/linux-5.10/block/partitions/
Dcore.c532 mutex_lock(&bdev->bd_mutex); in bdev_add_partition()
547 mutex_unlock(&bdev->bd_mutex); in bdev_add_partition()
561 mutex_lock(&bdevp->bd_mutex); in bdev_del_partition()
562 mutex_lock_nested(&bdev->bd_mutex, 1); in bdev_del_partition()
579 mutex_unlock(&bdev->bd_mutex); in bdev_del_partition()
580 mutex_unlock(&bdevp->bd_mutex); in bdev_del_partition()
603 mutex_lock(&bdevp->bd_mutex); in bdev_resize_partition()
604 mutex_lock_nested(&bdev->bd_mutex, 1); in bdev_resize_partition()
619 mutex_unlock(&bdevp->bd_mutex); in bdev_resize_partition()
620 mutex_unlock(&bdev->bd_mutex); in bdev_resize_partition()
/kernel/linux/linux-5.10/fs/
Dblock_dev.c825 mutex_init(&bdev->bd_mutex); in init_once()
1249 mutex_lock(&bdev->bd_mutex); in bd_link_disk_holder()
1294 mutex_unlock(&bdev->bd_mutex); in bd_link_disk_holder()
1313 mutex_lock(&bdev->bd_mutex); in bd_unlink_disk_holder()
1326 mutex_unlock(&bdev->bd_mutex); in bd_unlink_disk_holder()
1409 lockdep_assert_held(&bdev->bd_mutex); in bdev_disk_changed()
1503 mutex_lock_nested(&bdev->bd_mutex, for_part); in __blkdev_get()
1592 mutex_unlock(&bdev->bd_mutex); in __blkdev_get()
1614 mutex_unlock(&bdev->bd_mutex); in __blkdev_get()
1793 mutex_lock_nested(&bdev->bd_mutex, for_part); in __blkdev_put()
[all …]
/kernel/linux/linux-5.10/drivers/block/zram/
Dzram_drv.c1815 mutex_lock(&bdev->bd_mutex); in reset_store()
1818 mutex_unlock(&bdev->bd_mutex); in reset_store()
1825 mutex_unlock(&bdev->bd_mutex); in reset_store()
1833 mutex_lock(&bdev->bd_mutex); in reset_store()
1835 mutex_unlock(&bdev->bd_mutex); in reset_store()
1845 WARN_ON(!mutex_is_locked(&bdev->bd_mutex)); in zram_open()
2029 mutex_lock(&bdev->bd_mutex); in zram_remove()
2031 mutex_unlock(&bdev->bd_mutex); in zram_remove()
2037 mutex_unlock(&bdev->bd_mutex); in zram_remove()
/kernel/linux/linux-5.10/include/linux/
Dblk_types.h27 struct mutex bd_mutex; /* open/close mutex */ member
/kernel/linux/linux-5.10/drivers/block/
Dloop.c645 mutex_lock(&bdev->bd_mutex); in loop_reread_partitions()
647 mutex_unlock(&bdev->bd_mutex); in loop_reread_partitions()
1275 mutex_lock(&bdev->bd_mutex); in __loop_clr_fd()
1278 mutex_unlock(&bdev->bd_mutex); in __loop_clr_fd()
Dxen-blkfront.c2241 mutex_lock(&bdev->bd_mutex); in blkfront_closing()
2252 mutex_unlock(&bdev->bd_mutex); in blkfront_closing()
2611 mutex_lock(&bdev->bd_mutex); in blkfront_remove()
2626 mutex_unlock(&bdev->bd_mutex); in blkfront_remove()
/kernel/linux/linux-5.10/Documentation/filesystems/
Dlocking.rst478 ops bd_mutex
/kernel/linux/linux-5.10/Documentation/locking/
Dlockdep-design.rst222 mutex_lock_nested(&bdev->bd_contains->bd_mutex, BD_MUTEX_PARTITION);