Home
last modified time | relevance | path

Searched refs:bd_openers (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/block/
Dbdev.c652 if (!atomic_read(&bdev->bd_openers)) in blkdev_get_whole()
656 atomic_inc(&bdev->bd_openers); in blkdev_get_whole()
662 if (atomic_dec_and_test(&bdev->bd_openers)) in blkdev_put_whole()
681 if (!atomic_read(&part->bd_openers)) { in blkdev_get_part()
685 atomic_inc(&part->bd_openers); in blkdev_get_part()
697 if (atomic_dec_and_test(&part->bd_openers)) { in blkdev_put_part()
883 if (atomic_read(&bdev->bd_openers) == 1) in blkdev_put()
1012 if (!atomic_read(&bdev->bd_openers)) { in sync_bdevs()
/linux-6.6.21/include/linux/
Dblk_types.h52 atomic_t bd_openers; member
Dblkdev.h229 return atomic_read(&disk->part0->bd_openers); in disk_openers()
/linux-6.6.21/block/partitions/
Dcore.c490 if (atomic_read(&part->bd_openers)) in bdev_del_partition()