Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dblkdev.h755 static inline int get_disk_ro(struct gendisk *disk) in get_disk_ro() function
763 return bdev->bd_read_only || get_disk_ro(bdev->bd_disk); in bdev_read_only()
/openbmc/linux/drivers/nvdimm/
H A Dbus.c627 int disk_ro = get_disk_ro(disk); in nvdimm_check_and_set_ro()
/openbmc/linux/block/
H A Dgenhd.c931 return sprintf(buf, "%d\n", get_disk_ro(disk) ? 1 : 0); in disk_ro_show()
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-clt.c928 if (get_disk_ro(dev->gd) && (mode & BLK_OPEN_WRITE)) in rnbd_client_open()
/openbmc/linux/drivers/md/
H A Ddm-ioctl.c857 if (get_disk_ro(disk)) in __dev_status()
/openbmc/linux/drivers/mmc/core/
H A Dblock.c300 get_disk_ro(dev_to_disk(dev)) ^ in force_ro_show()