Home
last modified time | relevance | path

Searched refs:set_disk_ro (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/s390/block/
A Ddcssblk.c388 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 Ddasd_genhd.c79 set_disk_ro(gdp, 1); in dasd_gendisk_alloc()
A Ddasd_devmap.c812 set_disk_ro(device->block->gdp, val); in dasd_ro_store()
/linux/drivers/block/
A Dn64cart.c145 set_disk_ro(disk, 1); in n64cart_probe()
A Dsunvdc.c859 set_disk_ro(g, 1); in probe_disk()
866 set_disk_ro(g, 1); in probe_disk()
A Dvirtio_blk.c854 set_disk_ro(vblk->disk, 1); in virtblk_probe()
A Dnbd.c1231 set_disk_ro(nbd->disk, true); in nbd_parse_flags()
1233 set_disk_ro(nbd->disk, false); in nbd_parse_flags()
A Dloop.c1019 set_disk_ro(lo->lo_disk, (lo->lo_flags & LO_FLAGS_READ_ONLY) != 0); in loop_configure()
A Dxen-blkfront.c1161 set_disk_ro(gd, 1); in xlvbd_alloc_gendisk()
A Drbd.c6808 set_disk_ro(rbd_dev->disk, rbd_is_ro(rbd_dev)); in rbd_dev_device_setup()
/linux/include/linux/
A Dgenhd.h218 void set_disk_ro(struct gendisk *disk, bool read_only);
/linux/block/
A Dgenhd.c1411 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 Ddm-ioctl.c1162 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 Dmd.c4465 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 Dmtd_blkdevs.c385 set_disk_ro(gd, 1); in add_mtd_blktrans_dev()
/linux/drivers/mmc/core/
A Dblock.c274 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 Dbus.c635 set_disk_ro(disk, nd_region->ro); in nvdimm_check_and_set_ro()
/linux/arch/um/drivers/
A Dubd_kern.c1176 set_disk_ro(disk, !ubd_dev->openflags.w); in ubd_open()
/linux/drivers/md/bcache/
A Dsuper.c1329 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 Dsd.c2674 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 Drnbd-clt.c1408 set_disk_ro(dev->gd, true); in rnbd_clt_setup_gen_disk()
/linux/drivers/memstick/core/
A Dms_block.c2156 set_disk_ro(msb->disk, 1); in msb_init_disk()
/linux/drivers/block/drbd/
A Ddrbd_main.c2731 set_disk_ro(disk, true); in drbd_create_device()
A Ddrbd_nl.c752 set_disk_ro(device->vdisk, new_role == R_SECONDARY); in drbd_set_role()
/linux/drivers/nvme/host/
A Dcore.c1871 set_disk_ro(disk, (id->nsattr & NVME_NS_ATTR_RO) || in nvme_update_disk_info()

Completed in 102 milliseconds

12