Searched refs:bd_openers (Results 1 – 6 of 6) sorted by relevance
1504 if (!bdev->bd_openers) { in __blkdev_get()1575 bdev->bd_openers++; in __blkdev_get()1790 if (bdev->bd_openers == 1) in __blkdev_put()1797 if (!--bdev->bd_openers) { in __blkdev_put()1808 if (!bdev->bd_openers) { in __blkdev_put()2164 if (bdev->bd_openers) in iterate_bdevs()
24 int bd_openers; member
2243 if (bdev->bd_openers) { in blkfront_closing()2616 xbdev->nodename, bdev->bd_openers); in blkfront_remove()2618 if (info && !bdev->bd_openers) { in blkfront_remove()2681 if (bdev->bd_openers) in blkif_release()
1215 if (bdev->bd_openers > 1) in nbd_bdev_reset()1604 bdev->bd_openers == 0) in nbd_release()
570 if (bdevp->bd_openers) in bdev_del_partition()
1817 if (bdev->bd_openers || zram->claim) { in reset_store()2030 if (bdev->bd_openers || zram->claim) { in zram_remove()