HomeSort by relevance Sort by last modified time
    Searched refs:blk_device (Results 1 - 15 of 15) sorted by null

  /system/extras/squashfs_utils/
squashfs_utils.h 33 int squashfs_parse_sb(char *blk_device, struct squashfs_info *info);
squashfs_utils.c 30 int squashfs_parse_sb(char *blk_device, struct squashfs_info *info) {
35 data_device = TEMP_FAILURE_RETRY(open(blk_device, O_RDONLY | O_CLOEXEC));
  /bootable/recovery/
bootloader.cpp 75 const MtdPartition *part = mtd_find_partition_by_name(v->blk_device);
77 LOGE("Can't find %s\n", v->blk_device);
83 LOGE("Can't open %s\n(%s)\n", v->blk_device, strerror(errno));
90 if (r != size) LOGE("Can't read %s\n(%s)\n", v->blk_device, strerror(errno));
101 const MtdPartition *part = mtd_find_partition_by_name(v->blk_device);
103 LOGE("Can't find %s\n", v->blk_device);
109 LOGE("Can't open %s\n(%s)\n", v->blk_device, strerror(errno));
116 if (r != size) LOGE("Can't read %s\n(%s)\n", v->blk_device, strerror(errno));
124 LOGE("Can't open %s\n(%s)\n", v->blk_device, strerror(errno));
128 LOGE("Can't write %s\n(%s)\n", v->blk_device, strerror(errno))
    [all...]
roots.cpp 66 v->blk_device, v->length);
106 partition = mtd_find_partition_by_name(v->blk_device);
109 v->blk_device, v->mount_point);
116 result = mount(v->blk_device, v->mount_point, v->fs_type,
193 const MtdPartition* partition = mtd_find_partition_by_name(v->blk_device);
195 LOGE("format_volume: no MTD partition \"%s\"\n", v->blk_device);
201 LOGW("format_volume: can't open MTD \"%s\"\n", v->blk_device);
204 LOGW("format_volume: can't erase MTD \"%s\"\n", v->blk_device);
208 LOGW("format_volume: can't close MTD \"%s\"\n", v->blk_device);
236 result = make_ext4fs(v->blk_device, length, volume, sehandle)
    [all...]
  /system/core/fs_mgr/
fs_mgr.c 96 static void check_fs(char *blk_device, char *fs_type, char *target)
105 blk_device
124 ret = mount(blk_device, target, fs_type, tmpmnt_flags, tmpmnt_opts);
126 __func__, blk_device, target, fs_type, ret, strerror(errno));
148 E2FSCK_BIN, blk_device);
150 INFO("Running %s on %s\n", E2FSCK_BIN, blk_device);
165 blk_device
167 INFO("Running %s -f %s\n", F2FS_FSCK_BIN, blk_device);
332 check_fs(fstab->recs[i].blk_device, fstab->recs[i].fs_type,
335 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.c 144 static int squashfs_get_target_device_size(char *blk_device, uint64_t *device_size)
148 if (squashfs_parse_sb(blk_device, &sq_info) >= 0) {
156 static int ext4_get_target_device_size(char *blk_device, uint64_t *device_size)
164 data_device = TEMP_FAILURE_RETRY(open(blk_device, O_RDONLY | O_CLOEXEC));
189 static int get_fs_size(char *fs_type, char *blk_device, uint64_t *device_size) {
191 if (ext4_get_target_device_size(blk_device, device_size) < 0) {
192 ERROR("Failed to get ext4 fs size on %s.", blk_device);
196 if (squashfs_get_target_device_size(blk_device, device_size) < 0) {
197 ERROR("Failed to get squashfs fs size on %s.", blk_device);
693 if (get_fs_size(fstab->fs_type, fstab->blk_device, &device_size) < 0)
    [all...]
fs_mgr_fstab.c 290 fstab->recs[cnt].blk_device = strdup(p);
356 free(fstab->recs[i].blk_device);
377 const char *blk_device)
393 new_fstab_recs[n].blk_device = strdup(blk_device);
  /system/core/fs_mgr/include/
fs_mgr.h 55 char *blk_device; member in struct:fstab_rec
98 const char *blk_device);
  /system/core/adb/
set_verity_enable_state_service.cpp 44 static int get_target_device_size(int fd, const char *blk_device,
53 data_device = adb_open(blk_device, O_RDONLY | O_CLOEXEC);
189 if (!set_verity_enabled_state(fd, fstab->recs[i].blk_device,
  /bootable/recovery/uncrypt/
uncrypt.cpp 155 return v->blk_device;
333 int fd = open(v->blk_device, O_WRONLY | O_SYNC);
349 ALOGE("failed to fsync \"%s\": %s\n", v->blk_device, strerror(errno));
  /system/core/init/
property_service.cpp 546 int fd = open(rec->blk_device, O_RDONLY);
548 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);
  /system/vold/
main.cpp 227 std::string sysPattern(fstab->recs[i].blk_device);
cryptfs.c     [all...]

Completed in 437 milliseconds