Home
last modified time | relevance | path

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

/linux-6.1.9/block/
Dbdev.c682 if (!atomic_read(&bdev->bd_openers)) in blkdev_get_whole()
686 atomic_inc(&bdev->bd_openers); in blkdev_get_whole()
692 if (atomic_dec_and_test(&bdev->bd_openers)) in blkdev_put_whole()
703 if (atomic_read(&part->bd_openers)) in blkdev_get_part()
717 atomic_inc(&part->bd_openers); in blkdev_get_part()
729 if (!atomic_dec_and_test(&part->bd_openers)) in blkdev_put_part()
908 if (atomic_read(&bdev->bd_openers) == 1) in blkdev_put()
1053 if (!atomic_read(&bdev->bd_openers)) { in sync_bdevs()
/linux-6.1.9/include/linux/
Dblk_types.h47 atomic_t bd_openers; member
Dblkdev.h224 return atomic_read(&disk->part0->bd_openers); in disk_openers()
/linux-6.1.9/block/partitions/
Dcore.c480 if (atomic_read(&part->bd_openers)) in bdev_del_partition()