Searched refs:get_disk_ro (Results 1 – 10 of 10) sorted by relevance
310 static inline int get_disk_ro(struct gendisk *disk) in get_disk_ro() function
424 p->policy = get_disk_ro(disk); in add_partition()
635 int disk_ro = get_disk_ro(disk); in nvdimm_check_and_set_ro()
452 if (get_disk_ro(cmd->bdev->bd_disk)) in __check_incompat_features()
751 if (get_disk_ro(disk)) in __dev_status()
639 if (get_disk_ro(pmd->bdev->bd_disk)) in __check_incompat_features()
815 if (get_disk_ro(cd->disk)) in cdrom_start_rw()
1284 return sprintf(buf, "%d\n", get_disk_ro(disk) ? 1 : 0); in disk_ro_show()
283 get_disk_ro(dev_to_disk(dev)) ^ in force_ro_show()
49070 + p->policy = get_disk_ro(disk);