/system/core/fs_mgr/ |
fs_mgr_slotselect.c | 49 misc_fd = open(fstab->recs[n].blk_device, O_RDONLY); 52 fstab->recs[n].blk_device, 130 if (asprintf(&tmp, "%s%s", fstab->recs[n].blk_device, 132 free(fstab->recs[n].blk_device); 133 fstab->recs[n].blk_device = tmp;
|
fs_mgr.c | 96 static void check_fs(char *blk_device, char *fs_type, char *target) 106 blk_device 129 ret = mount(blk_device, target, fs_type, tmpmnt_flags, tmpmnt_opts); 131 __func__, blk_device, target, fs_type, ret, strerror(errno)); 153 E2FSCK_BIN, blk_device); 155 INFO("Running %s on %s\n", E2FSCK_BIN, blk_device); 170 blk_device 172 INFO("Running %s -a %s\n", F2FS_FSCK_BIN, blk_device); 337 check_fs(fstab->recs[i].blk_device, fstab->recs[i].fs_type, 340 if (!__mount(fstab->recs[i].blk_device, fstab->recs[i].mount_point, &fstab->recs[i])) [all...] |
fs_mgr_format.c | 108 ERROR("%s: Format %s as '%s'.\n", __func__, fstab->blk_device, fstab->fs_type); 111 rc = format_f2fs(fstab->blk_device); 113 rc = format_ext4(fstab->blk_device, fstab->mount_point);
|
fs_mgr_verity.cpp | 630 if (fec_open(&f, fstab->blk_device, O_RDONLY, FEC_VERITY_DISABLE, 632 ERROR("Failed to open '%s' (%s)\n", fstab->blk_device, 639 ERROR("Failed to get verity metadata '%s' (%s)\n", fstab->blk_device, 875 static void update_verity_table_blk_device(char *blk_device, char **table) 882 android::base::StartsWith(blk_device, token.c_str())) { 883 word = blk_device; 916 if (fec_open(&f, fstab->blk_device, O_RDONLY, FEC_VERITY_DISABLE, 918 ERROR("Failed to open '%s' (%s)\n", fstab->blk_device, 925 ERROR("Failed to get verity metadata '%s' (%s)\n", fstab->blk_device, 943 params.ecc_dev = fstab->blk_device; [all...] |
fs_mgr_fstab.c | 323 fstab->recs[cnt].blk_device = strdup(p); 395 free(fstab->recs[i].blk_device); 416 const char *blk_device) 432 new_fstab_recs[n].blk_device = strdup(blk_device);
|
/bootable/recovery/ |
roots.cpp | 64 v->blk_device, v->length); 109 partition = mtd_find_partition_by_name(v->blk_device); 112 v->blk_device, mount_point); 119 result = mount(v->blk_device, mount_point, v->fs_type, 201 const MtdPartition* partition = mtd_find_partition_by_name(v->blk_device); 203 LOGE("format_volume: no MTD partition \"%s\"\n", v->blk_device); 209 LOGW("format_volume: can't open MTD \"%s\"\n", v->blk_device); 212 LOGW("format_volume: can't erase MTD \"%s\"\n", v->blk_device); 216 LOGW("format_volume: can't close MTD \"%s\"\n", v->blk_device); 244 result = make_ext4fs_directory(v->blk_device, length, volume, sehandle, directory) [all...] |
/system/extras/squashfs_utils/ |
squashfs_utils.h | 36 int squashfs_parse_sb(const char *blk_device, struct squashfs_info *info);
|
squashfs_utils.c | 60 int squashfs_parse_sb(const char *blk_device, struct squashfs_info *info) 66 data_device = TEMP_FAILURE_RETRY(open(blk_device, O_RDONLY | O_CLOEXEC));
|
/bootable/recovery/bootloader_message/ |
bootloader_message.cpp | 58 return record->blk_device; 63 static bool wait_for_device(const std::string& blk_device, std::string* err) { 70 ret = stat(blk_device.c_str(), &buf); 73 blk_device.c_str(), tries, strerror(errno)); 79 *err += android::base::StringPrintf("failed to stat %s\n", blk_device.c_str());
|
/system/core/fs_mgr/include/ |
fs_mgr.h | 55 char *blk_device; member in struct:fstab_rec 100 const char *blk_device);
|
/system/extras/boot_control_copy/ |
bootinfo.c | 89 path = strdup(record->blk_device); 92 const char *end_slash = strrchr(record->blk_device, '/'); 97 trimmed_len = end_slash - record->blk_device + 1; 100 strncpy(path, record->blk_device, trimmed_len);
|
/bootable/recovery/update_verifier/ |
update_verifier.cpp | 57 std::string blk_device = blk_device_prefix + std::string(slot_suffix); local 58 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(blk_device.c_str(), O_RDONLY))); 60 SLOGE("Error reading partition %s: %s\n", blk_device.c_str(), strerror(errno)); 102 SLOGI("Finished reading %zu blocks on %s.\n", blk_count, blk_device.c_str());
|
/system/update_engine/ |
utils_android.cc | 64 *device = base::FilePath(record->blk_device);
|
/system/core/adb/ |
set_verity_enable_state_service.cpp | 125 if (!set_verity_enabled_state(fd, fstab->recs[i].blk_device,
|
remount_service.cpp | 62 std::string dev = rec ? std::string(rec->blk_device) : "";
|
/system/vold/ |
main.cpp | 227 std::string sysPattern(fstab->recs[i].blk_device);
|
/build/tools/releasetools/ |
add_img_to_target_files | 54 _, blk_device = common.GetTypeAndDevice("/" + which, OPTIONS.info_dict) 58 care_map_list.append(blk_device)
|
add_img_to_target_files.py | 54 _, blk_device = common.GetTypeAndDevice("/" + which, OPTIONS.info_dict) 58 care_map_list.append(blk_device)
|
/system/core/init/ |
property_service.cpp | 503 int fd = open(rec->blk_device, O_RDONLY); 505 ERROR("error opening block device %s: %s\n", rec->blk_device, strerror(errno));
|
/system/extras/tests/fstest/ |
recovery_test.cpp | 203 strcpy(blk_path_, fstab->recs[i].blk_device);
|
/bootable/recovery/uncrypt/ |
uncrypt.cpp | 206 return v->blk_device;
|