Home
last modified time | relevance | path

Searched refs:force_ro (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/Documentation/driver-api/mmc/
Dmmc-dev-parts.rst24 echo 0 > /sys/block/mmcblkXbootY/force_ro
28 echo 1 > /sys/block/mmcblkXbootY/force_ro
Dmmc-dev-attrs.rst11 force_ro Enforce read-only access even if write protect switch is off.
/Linux-v5.10/fs/udf/
Dsuper.c774 goto force_ro; in udf_verify_domain_identifier()
779 goto force_ro; in udf_verify_domain_identifier()
788 goto force_ro; in udf_verify_domain_identifier()
792 force_ro: in udf_verify_domain_identifier()
1031 goto force_ro; in check_partition_desc()
1037 goto force_ro; in check_partition_desc()
1047 goto force_ro; in check_partition_desc()
1051 goto force_ro; in check_partition_desc()
1054 goto force_ro; in check_partition_desc()
1059 goto force_ro; in check_partition_desc()
[all …]
/Linux-v5.10/drivers/mmc/core/
Dblock.c128 struct device_attribute force_ro; member
2608 card->part[idx].force_ro, in mmc_blk_alloc_parts()
2631 device_remove_file(disk_to_dev(md->disk), &md->force_ro); in mmc_blk_remove_req()
2671 md->force_ro.show = force_ro_show; in mmc_add_disk()
2672 md->force_ro.store = force_ro_store; in mmc_add_disk()
2673 sysfs_attr_init(&md->force_ro.attr); in mmc_add_disk()
2674 md->force_ro.attr.name = "force_ro"; in mmc_add_disk()
2675 md->force_ro.attr.mode = S_IRUGO | S_IWUSR; in mmc_add_disk()
2676 ret = device_create_file(disk_to_dev(md->disk), &md->force_ro); in mmc_add_disk()
2703 device_remove_file(disk_to_dev(md->disk), &md->force_ro); in mmc_add_disk()
Dmmc.c307 card->part[card->nr_parts].force_ro = ro; in mmc_part_add()
/Linux-v5.10/include/linux/mmc/
Dcard.h233 bool force_ro; /* to make boot parts RO by default */ member