/linux-6.6.21/drivers/block/ |
D | n64cart.c | 145 set_disk_ro(disk, 1); in n64cart_probe()
|
D | sunvdc.c | 860 set_disk_ro(g, 1); in probe_disk() 866 set_disk_ro(g, 1); in probe_disk()
|
D | nbd.c | 1269 set_disk_ro(nbd->disk, true); in nbd_parse_flags() 1271 set_disk_ro(nbd->disk, false); in nbd_parse_flags()
|
D | virtio_blk.c | 1407 set_disk_ro(vblk->disk, 1); in virtblk_probe()
|
D | loop.c | 1069 set_disk_ro(lo->lo_disk, (lo->lo_flags & LO_FLAGS_READ_ONLY) != 0); in loop_configure()
|
D | ublk_drv.c | 521 set_disk_ro(ub->ub_disk, true); in ublk_dev_param_basic_apply()
|
D | xen-blkfront.c | 1170 set_disk_ro(gd, 1); in xlvbd_alloc_gendisk()
|
/linux-6.6.21/drivers/s390/block/ |
D | dcssblk.c | 376 set_disk_ro(dev_info->gd, 1); in dcssblk_shared_store() 397 set_disk_ro(dev_info->gd, 0); in dcssblk_shared_store() 700 set_disk_ro(dev_info->gd,1); in dcssblk_add_store() 703 set_disk_ro(dev_info->gd,0); in dcssblk_add_store()
|
D | dasd_genhd.c | 97 set_disk_ro(gdp, 1); in dasd_gendisk_alloc()
|
D | dasd_devmap.c | 1057 set_disk_ro(device->block->gdp, val); in dasd_ro_store()
|
/linux-6.6.21/drivers/mtd/ |
D | mtd_blkdevs.c | 387 set_disk_ro(gd, 1); in add_mtd_blktrans_dev()
|
/linux-6.6.21/block/ |
D | genhd.c | 1445 void set_disk_ro(struct gendisk *disk, bool read_only) in set_disk_ro() function 1456 EXPORT_SYMBOL(set_disk_ro);
|
/linux-6.6.21/drivers/md/ |
D | dm-ioctl.c | 1200 set_disk_ro(dm_disk(md), 0); in do_resume() 1202 set_disk_ro(dm_disk(md), 1); in do_resume() 2313 set_disk_ro(dm_disk(md), !!(dmi->flags & DM_READONLY_FLAG)); in dm_early_create()
|
D | md.c | 4466 set_disk_ro(mddev->gendisk, 1); in array_state_store() 4478 set_disk_ro(mddev->gendisk, 0); in array_state_store() 4507 set_disk_ro(mddev->gendisk, 0); in array_state_store() 5889 set_disk_ro(mddev->gendisk, 1); in md_run() 6214 set_disk_ro(disk, 0); in restart_array() 6410 set_disk_ro(mddev->gendisk, 1); in md_set_readonly() 6472 set_disk_ro(disk, 0); in do_md_stop()
|
/linux-6.6.21/drivers/mmc/core/ |
D | block.c | 277 set_disk_ro(md->disk, 1); in power_ro_lock_store() 282 set_disk_ro(part_md->disk, 1); in power_ro_lock_store() 318 set_disk_ro(dev_to_disk(dev), set || md->read_only); in force_ro_store() 2519 set_disk_ro(md->disk, md->read_only || default_ro); in mmc_blk_alloc_req()
|
/linux-6.6.21/drivers/nvme/host/ |
D | core.c | 2007 set_disk_ro(ns->disk, nvme_ns_is_readonly(ns, info)); in nvme_update_ns_info_generic() 2012 set_disk_ro(ns->head->disk, nvme_ns_is_readonly(ns, info)); in nvme_update_ns_info_generic() 2074 set_disk_ro(ns->disk, nvme_ns_is_readonly(ns, info)); in nvme_update_ns_info_block() 2087 set_disk_ro(ns->head->disk, nvme_ns_is_readonly(ns, info)); in nvme_update_ns_info_block()
|
/linux-6.6.21/include/linux/ |
D | blkdev.h | 739 void set_disk_ro(struct gendisk *disk, bool read_only);
|
/linux-6.6.21/drivers/nvdimm/ |
D | bus.c | 636 set_disk_ro(disk, nd_region->ro); in nvdimm_check_and_set_ro()
|
/linux-6.6.21/arch/um/drivers/ |
D | ubd_kern.c | 1172 set_disk_ro(disk, !ubd_dev->openflags.w); in ubd_open()
|
/linux-6.6.21/drivers/md/bcache/ |
D | super.c | 1325 set_disk_ro(dc->disk.disk, 1); in bch_cached_dev_attach() 1558 set_disk_ro(d->disk, 1); in flash_dev_run()
|
/linux-6.6.21/drivers/memstick/core/ |
D | mspro_block.c | 1170 set_disk_ro(msb->disk, true); in mspro_block_init_disk()
|
D | ms_block.c | 2128 set_disk_ro(msb->disk, 1); in msb_init_disk()
|
/linux-6.6.21/drivers/scsi/ |
D | sd.c | 2773 set_disk_ro(sdkp->disk, 0); in sd_read_write_protect_flag() 2811 set_disk_ro(sdkp->disk, sdkp->write_prot); in sd_read_write_protect_flag()
|
/linux-6.6.21/drivers/block/rnbd/ |
D | rnbd-clt.c | 1388 set_disk_ro(dev->gd, true); in rnbd_clt_setup_gen_disk()
|
/linux-6.6.21/drivers/block/drbd/ |
D | drbd_main.c | 2718 set_disk_ro(disk, true); in drbd_create_device()
|