Home
last modified time | relevance | path

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

/openbmc/linux/drivers/block/
H A Dloop.c1244 if (disk_openers(lo->lo_disk) > 1) { in loop_clr_fd()
1727 if (disk_openers(disk) > 0) in lo_release()
2152 if (lo->lo_state != Lo_unbound || disk_openers(lo->lo_disk) > 0) { in loop_control_remove()
H A Dnbd.c1275 if (disk_openers(nbd->disk) > 1) in nbd_bdev_reset()
1652 disk_openers(disk) == 0) in nbd_release()
/openbmc/linux/drivers/block/zram/
H A Dzram_drv.c2120 if (disk_openers(disk) || zram->claim) { in reset_store()
2304 if (disk_openers(zram->disk)) { in zram_remove()
/openbmc/linux/include/linux/
H A Dblkdev.h227 static inline unsigned int disk_openers(struct gendisk *disk) in disk_openers() function