Searched refs:force_ro (Results 1 – 6 of 6) sorted by relevance
24 echo 0 > /sys/block/mmcblkXbootY/force_ro28 echo 1 > /sys/block/mmcblkXbootY/force_ro
11 force_ro Enforce read-only access even if write protect switch is off.
774 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 …]
128 struct device_attribute force_ro; member2608 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()
307 card->part[card->nr_parts].force_ro = ro; in mmc_part_add()
233 bool force_ro; /* to make boot parts RO by default */ member