Searched defs:blk_device (Results 1 - 5 of 5) sorted by relevance

/system/core/adb/
H A Ddisable_verity_service.c47 static int get_target_device_size(int fd, const char *blk_device, argument
56 data_device = adb_open(blk_device, O_RDONLY | O_CLOEXEC);
182 if (!disable_verity(fd, fstab->recs[i].blk_device,
/system/core/fs_mgr/include/
H A Dfs_mgr.h46 char *blk_device; member in struct:fstab_rec
80 const char *blk_device);
/system/core/fs_mgr/
H A Dfs_mgr_fstab.c259 fstab->recs[cnt].blk_device = strdup(p);
324 free(fstab->recs[i].blk_device);
345 const char *blk_device)
361 new_fstab_recs[n].blk_device = strdup(blk_device);
343 fs_mgr_add_entry(struct fstab *fstab, const char *mount_point, const char *fs_type, const char *blk_device) argument
H A Dfs_mgr_verity.c119 static int get_target_device_size(char *blk_device, uint64_t *device_size) argument
125 data_device = TEMP_FAILURE_RETRY(open(blk_device, O_RDONLY | O_CLOEXEC));
403 retval = read_verity_metadata(fstab->blk_device,
438 if (load_verity_table(io, mount_point, fstab->blk_device, fd, verity_table) < 0) {
448 free(fstab->blk_device);
449 fstab->blk_device = verity_blk_name;
453 if (test_access(fstab->blk_device) < 0) {
H A Dfs_mgr.c92 static void check_fs(char *blk_device, char *fs_type, char *target) argument
101 blk_device
119 ret = mount(blk_device, target, fs_type, tmpmnt_flags, tmpmnt_opts);
120 INFO("%s(): mount(%s,%s,%s)=%d\n", __func__, blk_device, target, fs_type, ret);
131 E2FSCK_BIN, blk_device);
133 INFO("Running %s on %s\n", E2FSCK_BIN, blk_device);
148 blk_device
150 INFO("Running %s -f %s\n", F2FS_FSCK_BIN, blk_device);
312 check_fs(fstab->recs[i].blk_device, fstab->recs[i].fs_type,
315 if (!__mount(fstab->recs[i].blk_device, fsta
[all...]

Completed in 72 milliseconds