/system/core/fs_mgr/ |
D | fs_mgr.c | 96 static void check_fs(char *blk_device, char *fs_type, char *target) in check_fs() argument 106 blk_device in check_fs() 129 ret = mount(blk_device, target, fs_type, tmpmnt_flags, tmpmnt_opts); in check_fs() 131 __func__, blk_device, target, fs_type, ret, strerror(errno)); in check_fs() 153 E2FSCK_BIN, blk_device); in check_fs() 155 INFO("Running %s on %s\n", E2FSCK_BIN, blk_device); in check_fs() 170 blk_device in check_fs() 172 INFO("Running %s -a %s\n", F2FS_FSCK_BIN, blk_device); in check_fs() 337 check_fs(fstab->recs[i].blk_device, fstab->recs[i].fs_type, in mount_with_alternatives() 340 if (!__mount(fstab->recs[i].blk_device, fstab->recs[i].mount_point, &fstab->recs[i])) { in mount_with_alternatives() [all …]
|
D | fs_mgr_slotselect.c | 49 misc_fd = open(fstab->recs[n].blk_device, O_RDONLY); in get_active_slot_suffix_from_misc() 52 fstab->recs[n].blk_device, in get_active_slot_suffix_from_misc() 130 if (asprintf(&tmp, "%s%s", fstab->recs[n].blk_device, in fs_mgr_update_for_slotselect() 132 free(fstab->recs[n].blk_device); in fs_mgr_update_for_slotselect() 133 fstab->recs[n].blk_device = tmp; in fs_mgr_update_for_slotselect()
|
D | fs_mgr_format.c | 108 ERROR("%s: Format %s as '%s'.\n", __func__, fstab->blk_device, fstab->fs_type); in fs_mgr_do_format() 111 rc = format_f2fs(fstab->blk_device); in fs_mgr_do_format() 113 rc = format_ext4(fstab->blk_device, fstab->mount_point); in fs_mgr_do_format()
|
D | fs_mgr_verity.cpp | 630 if (fec_open(&f, fstab->blk_device, O_RDONLY, FEC_VERITY_DISABLE, in compare_last_signature() 632 ERROR("Failed to open '%s' (%s)\n", fstab->blk_device, in compare_last_signature() 639 ERROR("Failed to get verity metadata '%s' (%s)\n", fstab->blk_device, in compare_last_signature() 878 if (fec_open(&f, fstab->blk_device, O_RDONLY, FEC_VERITY_DISABLE, in fs_mgr_setup_verity() 880 ERROR("Failed to open '%s' (%s)\n", fstab->blk_device, in fs_mgr_setup_verity() 887 ERROR("Failed to get verity metadata '%s' (%s)\n", fstab->blk_device, in fs_mgr_setup_verity() 905 params.ecc_dev = fstab->blk_device; in fs_mgr_setup_verity() 1001 fs_mgr_set_blk_ro(fstab->blk_device); in fs_mgr_setup_verity() 1004 free(fstab->blk_device); in fs_mgr_setup_verity() 1005 fstab->blk_device = verity_blk_name; in fs_mgr_setup_verity() [all …]
|
D | fs_mgr_fstab.c | 298 fstab->recs[cnt].blk_device = strdup(p); in fs_mgr_read_fstab() 369 free(fstab->recs[i].blk_device); in fs_mgr_free_fstab() 390 const char *blk_device) in fs_mgr_add_entry() argument 406 new_fstab_recs[n].blk_device = strdup(blk_device); in fs_mgr_add_entry()
|
/system/extras/boot_control_copy/ |
D | bootinfo.c | 89 path = strdup(record->blk_device); in boot_info_open_partition() 92 const char *end_slash = strrchr(record->blk_device, '/'); in boot_info_open_partition() 97 trimmed_len = end_slash - record->blk_device + 1; in boot_info_open_partition() 100 strncpy(path, record->blk_device, trimmed_len); in boot_info_open_partition()
|
/system/extras/squashfs_utils/ |
D | squashfs_utils.c | 60 int squashfs_parse_sb(const char *blk_device, struct squashfs_info *info) in squashfs_parse_sb() argument 66 data_device = TEMP_FAILURE_RETRY(open(blk_device, O_RDONLY | O_CLOEXEC)); in squashfs_parse_sb()
|
D | squashfs_utils.h | 36 int squashfs_parse_sb(const char *blk_device, struct squashfs_info *info);
|
/system/core/fs_mgr/include/ |
D | fs_mgr.h | 55 char *blk_device; member 98 const char *blk_device);
|
/system/core/adb/ |
D | set_verity_enable_state_service.cpp | 125 if (!set_verity_enabled_state(fd, fstab->recs[i].blk_device, in set_verity_enabled_state_service()
|
D | remount_service.cpp | 62 std::string dev = rec ? std::string(rec->blk_device) : ""; in find_fstab_mount()
|
/system/update_engine/ |
D | boot_control_android.cc | 134 base::FilePath misc_device = base::FilePath(record->blk_device); in GetPartitionDevice()
|
/system/core/init/ |
D | property_service.cpp | 503 int fd = open(rec->blk_device, O_RDONLY); in load_recovery_id_prop() 505 ERROR("error opening block device %s: %s\n", rec->blk_device, strerror(errno)); in load_recovery_id_prop()
|
/system/vold/ |
D | main.cpp | 227 std::string sysPattern(fstab->recs[i].blk_device); in process_config()
|
/system/extras/tests/fstest/ |
D | recovery_test.cpp | 203 strcpy(blk_path_, fstab->recs[i].blk_device); in setCacheInfoFromFstab()
|