Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/
Dblock_dev.c1504 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()
/kernel/linux/linux-5.10/include/linux/
Dblk_types.h24 int bd_openers; member
/kernel/linux/linux-5.10/drivers/block/
Dxen-blkfront.c2243 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()
Dnbd.c1215 if (bdev->bd_openers > 1) in nbd_bdev_reset()
1604 bdev->bd_openers == 0) in nbd_release()
/kernel/linux/linux-5.10/block/partitions/
Dcore.c570 if (bdevp->bd_openers) in bdev_del_partition()
/kernel/linux/linux-5.10/drivers/block/zram/
Dzram_drv.c1817 if (bdev->bd_openers || zram->claim) { in reset_store()
2030 if (bdev->bd_openers || zram->claim) { in zram_remove()