Home
last modified time | relevance | path

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

/linux/include/linux/
A Dgenhd.h220 static inline int get_disk_ro(struct gendisk *disk) in get_disk_ro() function
228 return bdev->bd_read_only || get_disk_ro(bdev->bd_disk); in bdev_read_only()
/linux/block/
A Dgenhd.c903 return sprintf(buf, "%d\n", get_disk_ro(disk) ? 1 : 0); in disk_ro_show()
/linux/drivers/nvdimm/
A Dbus.c626 int disk_ro = get_disk_ro(disk); in nvdimm_check_and_set_ro()
/linux/drivers/md/
A Ddm-ioctl.c832 if (get_disk_ro(disk)) in __dev_status()
/linux/drivers/mmc/core/
A Dblock.c297 get_disk_ro(dev_to_disk(dev)) ^ in force_ro_show()

Completed in 17 milliseconds