Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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.
/kernel/linux/linux-5.10/fs/udf/
Dsuper.c776 goto force_ro; in udf_verify_domain_identifier()
781 goto force_ro; in udf_verify_domain_identifier()
790 goto force_ro; in udf_verify_domain_identifier()
794 force_ro: in udf_verify_domain_identifier()
1033 goto force_ro; in check_partition_desc()
1039 goto force_ro; in check_partition_desc()
1049 goto force_ro; in check_partition_desc()
1053 goto force_ro; in check_partition_desc()
1056 goto force_ro; in check_partition_desc()
1061 goto force_ro; in check_partition_desc()
[all …]
/kernel/linux/linux-5.10/drivers/mmc/core/
Dblock.c128 struct device_attribute force_ro; member
2635 card->part[idx].force_ro, in mmc_blk_alloc_parts()
2658 device_remove_file(disk_to_dev(md->disk), &md->force_ro); in mmc_blk_remove_req()
2698 md->force_ro.show = force_ro_show; in mmc_add_disk()
2699 md->force_ro.store = force_ro_store; in mmc_add_disk()
2700 sysfs_attr_init(&md->force_ro.attr); in mmc_add_disk()
2701 md->force_ro.attr.name = "force_ro"; in mmc_add_disk()
2702 md->force_ro.attr.mode = S_IRUGO | S_IWUSR; in mmc_add_disk()
2703 ret = device_create_file(disk_to_dev(md->disk), &md->force_ro); in mmc_add_disk()
2730 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()
/kernel/linux/linux-5.10/include/linux/mmc/
Dcard.h233 bool force_ro; /* to make boot parts RO by default */ member
/kernel/linux/linux-5.10/fs/ext4/
Dsuper.c633 static void ext4_handle_error(struct super_block *sb, bool force_ro, int error, in ext4_handle_error() argument
638 bool continue_fs = !force_ro && test_opt(sb, ERRORS_CONT); in ext4_handle_error()
738 unsigned int line, bool force_ro, int error, __u64 block, in __ext4_error() argument
757 ext4_handle_error(sb, force_ro, error, 0, block, function, line); in __ext4_error()