Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/block/
Dloop.c1247 if (disk_openers(lo->lo_disk) > 1) { in loop_clr_fd()
1730 if (disk_openers(disk) > 0) in lo_release()
2163 if (lo->lo_state != Lo_unbound || disk_openers(lo->lo_disk) > 0) { in loop_control_remove()
Dnbd.c1260 if (disk_openers(nbd->disk) > 1) in nbd_bdev_reset()
1637 disk_openers(disk) == 0) in nbd_release()
/linux-6.6.21/drivers/block/zram/
Dzram_drv.c2088 if (disk_openers(disk) || zram->claim) { in reset_store()
2272 if (disk_openers(zram->disk)) { in zram_remove()
/linux-6.6.21/include/linux/
Dblkdev.h227 static inline unsigned int disk_openers(struct gendisk *disk) in disk_openers() function