Home
last modified time | relevance | path

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

/system/core/fs_mgr/
Dfs_mgr.cpp576 … i < fstab->num_entries && !strcmp(fstab->recs[start_idx].mount_point, fstab->recs[i].mount_point); in mount_with_alternatives()
585 << fstab->recs[i].mount_point << " rec[" << i in mount_with_alternatives()
586 << "].fs_type=" << fstab->recs[i].fs_type in mount_with_alternatives()
588 << fstab->recs[*attempted_idx].fs_type; in mount_with_alternatives()
592 int fs_stat = prepare_fs_for_mount(fstab->recs[i].blk_device, &fstab->recs[i]); in mount_with_alternatives()
595 << fstab->recs[i].mount_point << " rec[" << i in mount_with_alternatives()
596 << "].fs_type=" << fstab->recs[i].fs_type; in mount_with_alternatives()
603 if (!__mount(fstab->recs[i].blk_device, fstab->recs[i].mount_point, in mount_with_alternatives()
604 &fstab->recs[i])) { in mount_with_alternatives()
608 LERROR << __FUNCTION__ << "(): Mounted " << fstab->recs[i].blk_device in mount_with_alternatives()
[all …]
Dfs_mgr_fstab.cpp517 fstab->recs = static_cast<struct fstab_rec *>( in fs_mgr_read_fstab_file()
551 fstab->recs[cnt].blk_device = strdup(p); in fs_mgr_read_fstab_file()
557 fstab->recs[cnt].mount_point = strdup(p); in fs_mgr_read_fstab_file()
563 fstab->recs[cnt].fs_type = strdup(p); in fs_mgr_read_fstab_file()
570 fstab->recs[cnt].flags = parse_flags(p, mount_flags, NULL, in fs_mgr_read_fstab_file()
575 fstab->recs[cnt].fs_options = strdup(tmp_fs_options); in fs_mgr_read_fstab_file()
577 fstab->recs[cnt].fs_options = NULL; in fs_mgr_read_fstab_file()
584 fstab->recs[cnt].fs_mgr_flags = parse_flags(p, fs_mgr_flags, in fs_mgr_read_fstab_file()
586 fstab->recs[cnt].key_loc = flag_vals.key_loc; in fs_mgr_read_fstab_file()
587 fstab->recs[cnt].key_dir = flag_vals.key_dir; 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.cpp129 std::string partition_name = basename(fstab.recs[i].blk_device); in FsManagerAvbOps()
130 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.cpp230 if (fs_mgr_is_quota(&fstab->recs[i])) { in process_config()
234 if (fs_mgr_is_voldmanaged(&fstab->recs[i])) { in process_config()
235 if (fs_mgr_is_nonremovable(&fstab->recs[i])) { in process_config()
240 std::string sysPattern(fstab->recs[i].blk_device); in process_config()
241 std::string nickname(fstab->recs[i].label); in process_config()
244 if (fs_mgr_is_encryptable(&fstab->recs[i])) { in process_config()
248 if (fs_mgr_is_noemulatedsd(&fstab->recs[i]) in process_config()
/system/core/adb/
Dset_verity_enable_state_service.cpp193 if (fs_mgr_is_verified(&fstab->recs[i])) { in set_verity_enabled_state_service()
194 if (set_verity_enabled_state(fd, fstab->recs[i].blk_device, in set_verity_enabled_state_service()
195 fstab->recs[i].mount_point, enable)) { 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_fstab/fstab/
Dfstab.h40 struct fstab_rec* recs; member
/system/core/storaged/
Dstoraged_uid_monitor.cpp204 const std::vector<struct uid_record>& recs = it->second.entries; in dump() local
207 for (const auto& rec : recs) { in dump()
/system/core/init/
Dinit_first_stage.cpp127 mount_fstab_recs_.push_back(&device_tree_fstab_->recs[i]); in FirstStageMount()