/linux/drivers/s390/block/ |
A D | dcssblk.c | 388 set_disk_ro(dev_info->gd, 1); in dcssblk_shared_store() 409 set_disk_ro(dev_info->gd, 0); in dcssblk_shared_store() 707 set_disk_ro(dev_info->gd,1); in dcssblk_add_store() 710 set_disk_ro(dev_info->gd,0); in dcssblk_add_store()
|
A D | dasd_genhd.c | 79 set_disk_ro(gdp, 1); in dasd_gendisk_alloc()
|
A D | dasd_devmap.c | 812 set_disk_ro(device->block->gdp, val); in dasd_ro_store()
|
/linux/drivers/block/ |
A D | n64cart.c | 145 set_disk_ro(disk, 1); in n64cart_probe()
|
A D | sunvdc.c | 859 set_disk_ro(g, 1); in probe_disk() 866 set_disk_ro(g, 1); in probe_disk()
|
A D | virtio_blk.c | 854 set_disk_ro(vblk->disk, 1); in virtblk_probe()
|
A D | nbd.c | 1231 set_disk_ro(nbd->disk, true); in nbd_parse_flags() 1233 set_disk_ro(nbd->disk, false); in nbd_parse_flags()
|
A D | loop.c | 1019 set_disk_ro(lo->lo_disk, (lo->lo_flags & LO_FLAGS_READ_ONLY) != 0); in loop_configure()
|
A D | xen-blkfront.c | 1161 set_disk_ro(gd, 1); in xlvbd_alloc_gendisk()
|
A D | rbd.c | 6808 set_disk_ro(rbd_dev->disk, rbd_is_ro(rbd_dev)); in rbd_dev_device_setup()
|
/linux/include/linux/ |
A D | genhd.h | 218 void set_disk_ro(struct gendisk *disk, bool read_only);
|
/linux/block/ |
A D | genhd.c | 1411 void set_disk_ro(struct gendisk *disk, bool read_only) in set_disk_ro() function 1422 EXPORT_SYMBOL(set_disk_ro);
|
/linux/drivers/md/ |
A D | dm-ioctl.c | 1162 set_disk_ro(dm_disk(md), 0); in do_resume() 1164 set_disk_ro(dm_disk(md), 1); in do_resume() 2219 set_disk_ro(dm_disk(md), !!(dmi->flags & DM_READONLY_FLAG)); in dm_early_create()
|
A D | md.c | 4465 set_disk_ro(mddev->gendisk, 1); in array_state_store() 4477 set_disk_ro(mddev->gendisk, 0); in array_state_store() 4506 set_disk_ro(mddev->gendisk, 0); in array_state_store() 5837 set_disk_ro(mddev->gendisk, 1); in md_run() 6153 set_disk_ro(disk, 0); in restart_array() 6343 set_disk_ro(mddev->gendisk, 1); in md_set_readonly() 6400 set_disk_ro(disk, 0); in do_md_stop()
|
/linux/drivers/mtd/ |
A D | mtd_blkdevs.c | 385 set_disk_ro(gd, 1); in add_mtd_blktrans_dev()
|
/linux/drivers/mmc/core/ |
A D | block.c | 274 set_disk_ro(md->disk, 1); in power_ro_lock_store() 279 set_disk_ro(part_md->disk, 1); in power_ro_lock_store() 315 set_disk_ro(dev_to_disk(dev), set || md->read_only); in force_ro_store() 2397 set_disk_ro(md->disk, md->read_only || default_ro); in mmc_blk_alloc_req()
|
/linux/drivers/nvdimm/ |
A D | bus.c | 635 set_disk_ro(disk, nd_region->ro); in nvdimm_check_and_set_ro()
|
/linux/arch/um/drivers/ |
A D | ubd_kern.c | 1176 set_disk_ro(disk, !ubd_dev->openflags.w); in ubd_open()
|
/linux/drivers/md/bcache/ |
A D | super.c | 1329 set_disk_ro(dc->disk.disk, 1); in bch_cached_dev_attach() 1563 set_disk_ro(d->disk, 1); in flash_dev_run()
|
/linux/drivers/scsi/ |
A D | sd.c | 2674 set_disk_ro(sdkp->disk, 0); in sd_read_write_protect_flag() 2712 set_disk_ro(sdkp->disk, sdkp->write_prot); in sd_read_write_protect_flag()
|
/linux/drivers/block/rnbd/ |
A D | rnbd-clt.c | 1408 set_disk_ro(dev->gd, true); in rnbd_clt_setup_gen_disk()
|
/linux/drivers/memstick/core/ |
A D | ms_block.c | 2156 set_disk_ro(msb->disk, 1); in msb_init_disk()
|
/linux/drivers/block/drbd/ |
A D | drbd_main.c | 2731 set_disk_ro(disk, true); in drbd_create_device()
|
A D | drbd_nl.c | 752 set_disk_ro(device->vdisk, new_role == R_SECONDARY); in drbd_set_role()
|
/linux/drivers/nvme/host/ |
A D | core.c | 1871 set_disk_ro(disk, (id->nsattr & NVME_NS_ATTR_RO) || in nvme_update_disk_info()
|