Searched refs:bd_openers (Results 1 – 4 of 4) sorted by relevance
652 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()
52 atomic_t bd_openers; member
229 return atomic_read(&disk->part0->bd_openers); in disk_openers()
490 if (atomic_read(&part->bd_openers)) in bdev_del_partition()