Searched defs:blk_device (Results 1 - 6 of 6) sorted by relevance
/system/extras/squashfs_utils/ |
H A D | squashfs_utils.c | 30 int squashfs_parse_sb(char *blk_device, struct squashfs_info *info) { argument 35 data_device = TEMP_FAILURE_RETRY(open(blk_device, O_RDONLY | O_CLOEXEC));
|
/system/core/adb/ |
H A D | set_verity_enable_state_service.cpp | 44 static int get_target_device_size(int fd, const char *blk_device, argument 53 data_device = adb_open(blk_device, O_RDONLY | O_CLOEXEC); 189 if (!set_verity_enabled_state(fd, fstab->recs[i].blk_device,
|
/system/core/fs_mgr/include/ |
H A D | fs_mgr.h | 55 char *blk_device; member in struct:fstab_rec 98 const char *blk_device);
|
/system/core/fs_mgr/ |
H A D | 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); 375 fs_mgr_add_entry(struct fstab *fstab, const char *mount_point, const char *fs_type, const char *blk_device) argument
|
H A D | fs_mgr.c | 96 static void check_fs(char *blk_device, char *fs_type, char *target) argument 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, fsta [all...] |
H A D | fs_mgr_verity.c | 173 static int squashfs_get_target_device_size(char *blk_device, uint64_t *device_size) argument 177 if (squashfs_parse_sb(blk_device, &sq_info) >= 0) { 185 static int ext4_get_target_device_size(char *blk_device, uint64_t *device_size) argument 193 data_device = TEMP_FAILURE_RETRY(open(blk_device, O_RDONLY | O_CLOEXEC)); 218 static int get_fs_size(char *fs_type, char *blk_device, uint64_t *device_size) { argument 220 if (ext4_get_target_device_size(blk_device, device_size) < 0) { 221 ERROR("Failed to get ext4 fs size on %s.", blk_device); 225 if (squashfs_get_target_device_size(blk_device, device_size) < 0) { 226 ERROR("Failed to get squashfs fs size on %s.", blk_device); 722 if (get_fs_size(fstab->fs_type, fstab->blk_device, [all...] |
Completed in 322 milliseconds