Searched refs:get_disk_ro (Results 1 – 9 of 9) sorted by relevance
348 p->policy = get_disk_ro(disk); in add_partition()
1154 return sprintf(buf, "%d\n", get_disk_ro(disk) ? 1 : 0); in disk_ro_show()
444 static inline int get_disk_ro(struct gendisk *disk) in get_disk_ro() function
630 int disk_ro = get_disk_ro(disk); in nvdimm_revalidate_disk()
814 if (get_disk_ro(cd->disk)) in cdrom_start_rw()
452 if (get_disk_ro(cmd->bdev->bd_disk)) in __check_incompat_features()
750 if (get_disk_ro(disk)) in __dev_status()
631 if (get_disk_ro(pmd->bdev->bd_disk)) in __check_incompat_features()
279 get_disk_ro(dev_to_disk(dev)) ^ in force_ro_show()