Home
last modified time | relevance | path

Searched refs:recs (Results 1 – 10 of 10) sorted by relevance

/system/core/fs_mgr/
Dfs_mgr.cpp546 … i < fstab->num_entries && !strcmp(fstab->recs[start_idx].mount_point, fstab->recs[i].mount_point); in mount_with_alternatives()
555 << fstab->recs[i].mount_point << " rec[" << i in mount_with_alternatives()
556 << "].fs_type=" << fstab->recs[i].fs_type in mount_with_alternatives()
558 << fstab->recs[*attempted_idx].fs_type; in mount_with_alternatives()
563 int force_check = do_quota_with_shutdown_check(fstab->recs[i].blk_device, in mount_with_alternatives()
564 fstab->recs[i].fs_type, in mount_with_alternatives()
565 &fstab->recs[i], &fs_stat); in mount_with_alternatives()
568 << fstab->recs[i].mount_point << " rec[" << i in mount_with_alternatives()
569 << "].fs_type=" << fstab->recs[i].fs_type; in mount_with_alternatives()
573 if ((fstab->recs[i].fs_mgr_flags & MF_CHECK) || force_check) { in mount_with_alternatives()
[all …]
Dfs_mgr_fstab.cpp499 fstab->recs = static_cast<struct fstab_rec *>( in fs_mgr_read_fstab_file()
533 fstab->recs[cnt].blk_device = strdup(p); in fs_mgr_read_fstab_file()
539 fstab->recs[cnt].mount_point = strdup(p); in fs_mgr_read_fstab_file()
545 fstab->recs[cnt].fs_type = strdup(p); in fs_mgr_read_fstab_file()
552 fstab->recs[cnt].flags = parse_flags(p, mount_flags, NULL, in fs_mgr_read_fstab_file()
557 fstab->recs[cnt].fs_options = strdup(tmp_fs_options); in fs_mgr_read_fstab_file()
559 fstab->recs[cnt].fs_options = NULL; in fs_mgr_read_fstab_file()
566 fstab->recs[cnt].fs_mgr_flags = parse_flags(p, fs_mgr_flags, in fs_mgr_read_fstab_file()
568 fstab->recs[cnt].key_loc = flag_vals.key_loc; in fs_mgr_read_fstab_file()
569 fstab->recs[cnt].verity_loc = flag_vals.verity_loc; in fs_mgr_read_fstab_file()
[all …]
Dfs_mgr_slotselect.cpp46 if (fstab->recs[n].fs_mgr_flags & MF_SLOTSELECT) { in fs_mgr_update_for_slotselect()
53 if (asprintf(&tmp, "%s%s", fstab->recs[n].blk_device, ab_suffix.c_str()) > 0) { in fs_mgr_update_for_slotselect()
54 free(fstab->recs[n].blk_device); in fs_mgr_update_for_slotselect()
55 fstab->recs[n].blk_device = tmp; in fs_mgr_update_for_slotselect()
Dfs_mgr_avb_ops.cpp117 std::string partition_name = basename(fstab.recs[i].blk_device); in FsManagerAvbOps()
118 by_name_symlink_map_[partition_name] = fstab.recs[i].blk_device; in FsManagerAvbOps()
/system/vold/
DTrimTask.cpp74 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()
Dmain.cpp227 if (fs_mgr_is_voldmanaged(&fstab->recs[i])) { in process_config()
228 if (fs_mgr_is_nonremovable(&fstab->recs[i])) { in process_config()
233 std::string sysPattern(fstab->recs[i].blk_device); in process_config()
234 std::string nickname(fstab->recs[i].label); in process_config()
237 if (fs_mgr_is_encryptable(&fstab->recs[i])) { in process_config()
241 if (fs_mgr_is_noemulatedsd(&fstab->recs[i]) in process_config()
/system/core/adb/
Dset_verity_enable_state_service.cpp121 if (fs_mgr_is_verified(&fstab->recs[i])) { in set_verity_enabled_state_service()
122 if (!set_verity_enabled_state(fd, fstab->recs[i].blk_device, in set_verity_enabled_state_service()
123 fstab->recs[i].mount_point, in set_verity_enabled_state_service()
/system/extras/tests/fstest/
Drecovery_test.cpp197 if (!strcmp(fstab->recs[i].mount_point, "/cache")) { in setCacheInfoFromFstab()
198 strcpy(blk_path_, fstab->recs[i].blk_device); in setCacheInfoFromFstab()
199 if (!strcmp(fstab->recs[i].fs_type, "ext4")) { in setCacheInfoFromFstab()
202 } else if (!strcmp(fstab->recs[i].fs_type, "f2fs")) { in setCacheInfoFromFstab()
/system/core/fs_mgr/include/
Dfs_mgr.h63 struct fstab_rec *recs; member
/system/core/storaged/
Dstoraged_uid_monitor.cpp178 const std::vector<struct uid_record>& recs = it->second.entries; in dump() local
181 for (const auto& rec : recs) { in dump()