/kernel/linux/linux-5.10/drivers/s390/block/ |
D | dasd_genhd.c | 74 set_disk_ro(gdp, 1); in dasd_gendisk_alloc()
|
D | dcssblk.c | 390 set_disk_ro(dev_info->gd, 1); in dcssblk_shared_store() 411 set_disk_ro(dev_info->gd, 0); in dcssblk_shared_store() 710 set_disk_ro(dev_info->gd,1); in dcssblk_add_store() 713 set_disk_ro(dev_info->gd,0); in dcssblk_add_store()
|
D | dasd_ioctl.c | 555 set_disk_ro(bdev->bd_disk, intval); in dasd_ioctl_set_ro()
|
D | dasd_devmap.c | 804 set_disk_ro(device->block->gdp, val); in dasd_ro_store()
|
/kernel/linux/linux-5.10/include/linux/ |
D | genhd.h | 308 extern void set_disk_ro(struct gendisk *disk, int flag);
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-ioctl.c | 1078 set_disk_ro(dm_disk(md), 0); in do_resume() 1080 set_disk_ro(dm_disk(md), 1); in do_resume() 2133 set_disk_ro(dm_disk(md), !!(dmi->flags & DM_READONLY_FLAG)); in dm_early_create()
|
D | md.c | 4478 set_disk_ro(mddev->gendisk, 1); in array_state_store() 4490 set_disk_ro(mddev->gendisk, 0); in array_state_store() 4519 set_disk_ro(mddev->gendisk, 0); in array_state_store() 5849 set_disk_ro(mddev->gendisk, 1); in md_run() 6154 set_disk_ro(disk, 0); in restart_array() 6341 set_disk_ro(mddev->gendisk, 1); in md_set_readonly() 6398 set_disk_ro(disk, 0); in do_md_stop() 7703 set_disk_ro(mddev->gendisk, 0); in md_ioctl()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-floppy.c | 338 set_disk_ro(disk, !!(drive->dev_flags & IDE_DFLAG_WP)); in ide_floppy_get_flexible_disk_page()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | sunvdc.c | 879 set_disk_ro(g, 1); in probe_disk() 886 set_disk_ro(g, 1); in probe_disk()
|
D | virtio_blk.c | 805 set_disk_ro(vblk->disk, 1); in virtblk_probe()
|
D | nbd.c | 1220 set_disk_ro(nbd->disk, true); in nbd_parse_flags() 1222 set_disk_ro(nbd->disk, false); in nbd_parse_flags()
|
D | xen-blkfront.c | 1190 set_disk_ro(gd, 1); in xlvbd_alloc_gendisk()
|
D | rbd.c | 6881 set_disk_ro(rbd_dev->disk, rbd_is_ro(rbd_dev)); in rbd_dev_device_setup()
|
/kernel/linux/linux-5.10/drivers/mtd/ |
D | mtd_blkdevs.c | 456 set_disk_ro(gd, 1); in add_mtd_blktrans_dev()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | block.c | 263 set_disk_ro(md->disk, 1); in power_ro_lock_store() 268 set_disk_ro(part_md->disk, 1); in power_ro_lock_store() 301 set_disk_ro(dev_to_disk(dev), set || md->read_only); in force_ro_store() 2349 set_disk_ro(md->disk, md->read_only || default_ro); in mmc_blk_alloc_req()
|
/kernel/linux/linux-5.10/block/ |
D | genhd.c | 1865 void set_disk_ro(struct gendisk *disk, int flag) in set_disk_ro() function 1881 EXPORT_SYMBOL(set_disk_ro);
|
/kernel/linux/linux-5.10/drivers/nvdimm/ |
D | bus.c | 646 set_disk_ro(disk, 1); in nvdimm_check_and_set_ro()
|
/kernel/linux/linux-5.10/drivers/md/bcache/ |
D | super.c | 1354 set_disk_ro(dc->disk.disk, 1); in bch_cached_dev_attach() 1583 set_disk_ro(d->disk, 1); in flash_dev_run()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
D | ubd_kern.c | 1233 set_disk_ro(disk, !ubd_dev->openflags.w); in ubd_open()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | sd.c | 2668 set_disk_ro(sdkp->disk, 0); in sd_read_write_protect_flag() 2706 set_disk_ro(sdkp->disk, sdkp->write_prot); in sd_read_write_protect_flag()
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
D | rnbd-clt.c | 1333 set_disk_ro(dev->gd, true); in rnbd_clt_setup_gen_disk()
|
/kernel/linux/linux-5.10/drivers/memstick/core/ |
D | ms_block.c | 2152 set_disk_ro(msb->disk, 1); in msb_init_disk()
|
/kernel/linux/linux-5.10/drivers/block/drbd/ |
D | drbd_main.c | 2756 set_disk_ro(disk, true); in drbd_create_device()
|
D | drbd_nl.c | 752 set_disk_ro(device->vdisk, new_role == R_SECONDARY); in drbd_set_role()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | core.c | 2069 set_disk_ro(disk, true); in nvme_update_disk_info()
|