Searched refs:recs (Results 1 – 9 of 9) sorted by relevance
/system/core/fs_mgr/ |
D | fs_mgr.c | 323 … i < fstab->num_entries && !strcmp(fstab->recs[start_idx].mount_point, fstab->recs[i].mount_point); in mount_with_alternatives() 332 … fstab->recs[i].mount_point, i, fstab->recs[i].fs_type, fstab->recs[*attempted_idx].fs_type); in mount_with_alternatives() 336 if (fstab->recs[i].fs_mgr_flags & MF_CHECK) { in mount_with_alternatives() 337 check_fs(fstab->recs[i].blk_device, fstab->recs[i].fs_type, in mount_with_alternatives() 338 fstab->recs[i].mount_point); in mount_with_alternatives() 340 if (!__mount(fstab->recs[i].blk_device, fstab->recs[i].mount_point, &fstab->recs[i])) { in mount_with_alternatives() 345 … fstab->recs[i].blk_device, fstab->recs[i].mount_point, fstab->recs[i].fs_type, in mount_with_alternatives() 346 fstab->recs[start_idx].fs_type); in mount_with_alternatives() 507 if (fstab->recs[i].fs_mgr_flags & (MF_VOLDMANAGED | MF_RECOVERYONLY)) { in fs_mgr_mount_all() 512 if (!strcmp(fstab->recs[i].fs_type, "swap") || in fs_mgr_mount_all() [all …]
|
D | fs_mgr_fstab.c | 265 fstab->recs = calloc(fstab->num_entries, sizeof(struct fstab_rec)); in fs_mgr_read_fstab() 298 fstab->recs[cnt].blk_device = strdup(p); in fs_mgr_read_fstab() 304 fstab->recs[cnt].mount_point = strdup(p); in fs_mgr_read_fstab() 310 fstab->recs[cnt].fs_type = strdup(p); in fs_mgr_read_fstab() 317 fstab->recs[cnt].flags = parse_flags(p, mount_flags, NULL, in fs_mgr_read_fstab() 322 fstab->recs[cnt].fs_options = strdup(tmp_fs_options); in fs_mgr_read_fstab() 324 fstab->recs[cnt].fs_options = NULL; in fs_mgr_read_fstab() 331 fstab->recs[cnt].fs_mgr_flags = parse_flags(p, fs_mgr_flags, in fs_mgr_read_fstab() 333 fstab->recs[cnt].key_loc = flag_vals.key_loc; in fs_mgr_read_fstab() 334 fstab->recs[cnt].verity_loc = flag_vals.verity_loc; in fs_mgr_read_fstab() [all …]
|
D | fs_mgr_slotselect.c | 48 if (strcmp(fstab->recs[n].mount_point, "/misc") == 0) { in get_active_slot_suffix_from_misc() 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() 118 if (fstab->recs[n].fs_mgr_flags & MF_SLOTSELECT) { in fs_mgr_update_for_slotselect() 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_verity.cpp | 767 if (!fs_mgr_is_verified(&fstab->recs[i])) { in fs_mgr_load_verity_state() 771 rc = load_verity_state(&fstab->recs[i], ¤t); in fs_mgr_load_verity_state() 832 if (!fs_mgr_is_verified(&fstab->recs[i])) { in fs_mgr_update_verity_state() 836 mount_point = basename(fstab->recs[i].mount_point); in fs_mgr_update_verity_state() 847 callback(&fstab->recs[i], mount_point, mode, *status); in fs_mgr_update_verity_state()
|
/system/vold/ |
D | TrimTask.cpp | 74 if (!strcmp(fstab->recs[i].fs_type, "emmc") || in addFromFstab() 75 !strcmp(fstab->recs[i].fs_type, "mtd")) { in addFromFstab() 79 if (fstab->recs[i].flags & MS_RDONLY) { in addFromFstab() 82 if (fs_mgr_is_voldmanaged(&fstab->recs[i])) { in addFromFstab() 85 if (fs_mgr_is_notrim(&fstab->recs[i])) { in addFromFstab() 92 if (prev_rec && !strcmp(prev_rec->mount_point, fstab->recs[i].mount_point)) { in addFromFstab() 96 mPaths.push_back(fstab->recs[i].mount_point); in addFromFstab() 97 prev_rec = &fstab->recs[i]; in addFromFstab()
|
D | main.cpp | 221 if (fs_mgr_is_voldmanaged(&fstab->recs[i])) { in process_config() 222 if (fs_mgr_is_nonremovable(&fstab->recs[i])) { in process_config() 227 std::string sysPattern(fstab->recs[i].blk_device); in process_config() 228 std::string nickname(fstab->recs[i].label); in process_config() 231 if (fs_mgr_is_encryptable(&fstab->recs[i])) { in process_config() 235 if (fs_mgr_is_noemulatedsd(&fstab->recs[i]) in process_config()
|
/system/core/adb/ |
D | set_verity_enable_state_service.cpp | 124 if(fs_mgr_is_verified(&fstab->recs[i])) { in set_verity_enabled_state_service() 125 if (!set_verity_enabled_state(fd, fstab->recs[i].blk_device, in set_verity_enabled_state_service() 126 fstab->recs[i].mount_point, in set_verity_enabled_state_service()
|
/system/extras/tests/fstest/ |
D | recovery_test.cpp | 202 if (!strcmp(fstab->recs[i].mount_point, "/cache")) { in setCacheInfoFromFstab() 203 strcpy(blk_path_, fstab->recs[i].blk_device); in setCacheInfoFromFstab() 204 if (!strcmp(fstab->recs[i].fs_type, "ext4")) { in setCacheInfoFromFstab() 207 } else if (!strcmp(fstab->recs[i].fs_type, "f2fs")) { in setCacheInfoFromFstab()
|
/system/core/fs_mgr/include/ |
D | fs_mgr.h | 50 struct fstab_rec *recs; member
|