Home
last modified time | relevance | path

Searched refs:Fstab (Results 1 – 25 of 38) sorted by relevance

12

/system/core/fs_mgr/include_fstab/fstab/
Dfstab.h98 using Fstab = std::vector<FstabEntry>; variable
100 bool ReadFstabFromFile(const std::string& path, Fstab* fstab);
101 bool ReadFstabFromDt(Fstab* fstab, bool log = true);
102 bool ReadDefaultFstab(Fstab* fstab);
103 bool SkipMountingPartitions(Fstab* fstab);
105 FstabEntry* GetEntryForMountPoint(Fstab* fstab, const std::string& path);
107 std::vector<FstabEntry*> GetEntriesForMountPoint(Fstab* fstab, const std::string& path);
117 void TransformFstabForDsu(Fstab* fstab, const std::vector<std::string>& dsu_partitions);
/system/core/fs_mgr/include/
Dfs_mgr.h64 int fs_mgr_mount_all(android::fs_mgr::Fstab* fstab, int mount_mode);
69 int fs_mgr_do_mount(android::fs_mgr::Fstab* fstab, const char* n_name, char* n_blk_device,
71 int fs_mgr_do_mount(android::fs_mgr::Fstab* fstab, const char* n_name, char* n_blk_device,
79 bool fs_mgr_swapon_all(const android::fs_mgr::Fstab& fstab);
108 int fs_mgr_umount_all(android::fs_mgr::Fstab* fstab);
112 android::fs_mgr::Fstab* fstab, const std::string& data_block_device);
113 int fs_mgr_remount_userdata_into_checkpointing(android::fs_mgr::Fstab* fstab);
Dfs_mgr_overlayfs.h27 android::fs_mgr::Fstab fs_mgr_overlayfs_candidate_list(const android::fs_mgr::Fstab& fstab);
29 bool fs_mgr_overlayfs_mount_all(android::fs_mgr::Fstab* fstab);
30 std::vector<std::string> fs_mgr_overlayfs_required_devices(android::fs_mgr::Fstab* fstab);
48 void MapScratchPartitionIfNeeded(Fstab* fstab,
/system/core/fs_mgr/include/fs_mgr/
Droots.h30 FstabEntry* GetEntryForPath(Fstab* fstab, const std::string& path);
38 bool EnsurePathMounted(Fstab* fstab, const std::string& path, const std::string& mount_point = "");
42 bool EnsurePathUnmounted(Fstab* fstab, const std::string& path);
/system/core/fs_mgr/
Dfs_mgr_roots.cpp36 FstabEntry* GetEntryForPath(Fstab* fstab, const std::string& path) { in GetEntryForPath()
61 Fstab mounted_fstab; in GetMountState()
74 bool EnsurePathMounted(Fstab* fstab, const std::string& path, const std::string& mount_pt) { in EnsurePathMounted()
138 bool EnsurePathUnmounted(Fstab* fstab, const std::string& path) { in EnsurePathUnmounted()
149 Fstab mounted_fstab; in EnsurePathUnmounted()
172 Fstab fstab; in GetSystemRoot()
Dfs_mgr_fstab.cpp431 bool ReadFstabFile(FILE* fstab_file, bool proc_mounts, Fstab* fstab_out) { in ReadFstabFile()
437 Fstab fstab; in ReadFstabFile()
527 std::set<std::string> ExtraBootDevices(const Fstab& fstab) { in ExtraBootDevices()
579 bool EraseFstabEntry(Fstab* fstab, const std::string& mount_point) { in EraseFstabEntry()
591 void TransformFstabForDsu(Fstab* fstab, const std::vector<std::string>& dsu_partitions) { in TransformFstabForDsu()
665 void EnableMandatoryFlags(Fstab* fstab) { in EnableMandatoryFlags()
680 bool ReadFstabFromFile(const std::string& path, Fstab* fstab) { in ReadFstabFromFile()
708 bool ReadFstabFromDt(Fstab* fstab, bool log) { in ReadFstabFromDt()
745 bool SkipMountingPartitions(Fstab* fstab) { in SkipMountingPartitions()
773 bool ReadDefaultFstab(Fstab* fstab) { in ReadDefaultFstab()
[all …]
Dfs_mgr_remount.cpp74 const android::fs_mgr::FstabEntry* is_wrapped(const android::fs_mgr::Fstab& overlayfs_candidates, in is_wrapped()
196 android::fs_mgr::Fstab fstab; in do_remount()
204 android::fs_mgr::Fstab mounts; in do_remount()
237 android::fs_mgr::Fstab all; in do_remount()
248 android::fs_mgr::Fstab partitions; in do_remount()
360 android::fs_mgr::Fstab mounts; in do_remount()
Dfs_mgr_overlayfs.cpp87 Fstab fs_mgr_overlayfs_candidate_list(const Fstab&) { in fs_mgr_overlayfs_candidate_list() argument
91 bool fs_mgr_overlayfs_mount_all(Fstab*) { in fs_mgr_overlayfs_mount_all() argument
95 std::vector<std::string> fs_mgr_overlayfs_required_devices(Fstab*) { in fs_mgr_overlayfs_required_devices() argument
116 void MapScratchPartitionIfNeeded(Fstab*, in MapScratchPartitionIfNeeded() argument
318 Fstab fstab; in fs_mgr_overlayfs_already_mounted()
442 bool fs_mgr_overlayfs_has_logical(const Fstab& fstab) { in fs_mgr_overlayfs_has_logical()
1095 static bool CanUseSuperPartition(const Fstab& fstab, bool* is_virtual_ab) { in CanUseSuperPartition()
1109 bool fs_mgr_overlayfs_create_scratch(const Fstab& fstab, std::string* scratch_device, in fs_mgr_overlayfs_create_scratch()
1133 bool fs_mgr_overlayfs_setup_scratch(const Fstab& fstab, bool* change) { in fs_mgr_overlayfs_setup_scratch()
1179 Fstab fs_mgr_overlayfs_candidate_list(const Fstab& fstab) { in fs_mgr_overlayfs_candidate_list()
[all …]
Dfs_mgr_slotselect.cpp56 bool fs_mgr_update_for_slotselect(Fstab* fstab) { in fs_mgr_update_for_slotselect()
Dfs_mgr_priv.h92 bool fs_mgr_update_for_slotselect(android::fs_mgr::Fstab* fstab);
Dfs_mgr.cpp831 static bool mount_with_alternatives(const Fstab& fstab, int start_idx, int* end_idx, in mount_with_alternatives()
1302 Fstab fstab; in IsMountPointMounted()
1312 int fs_mgr_mount_all(Fstab* fstab, int mount_mode) { in fs_mgr_mount_all()
1559 int fs_mgr_umount_all(android::fs_mgr::Fstab* fstab) { in fs_mgr_umount_all()
1611 Fstab proc_mounts; in fs_mgr_unmount_all_data_mounts()
1638 Fstab remaining_mounts; in fs_mgr_unmount_all_data_mounts()
1676 FstabEntry* fs_mgr_get_mounted_entry_for_userdata(Fstab* fstab, in fs_mgr_get_mounted_entry_for_userdata()
1707 int fs_mgr_remount_userdata_into_checkpointing(Fstab* fstab) { in fs_mgr_remount_userdata_into_checkpointing()
1708 Fstab proc_mounts; in fs_mgr_remount_userdata_into_checkpointing()
1807 static int fs_mgr_do_mount_helper(Fstab* fstab, const std::string& n_name, in fs_mgr_do_mount_helper()
[all …]
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_device_test.cpp28 using android::fs_mgr::Fstab;
38 Fstab fstab; in TEST()
68 Fstab fstab; in TEST()
107 Fstab fstab; in TEST()
126 Fstab fstab; in TEST()
/system/core/init/
Dfirst_stage_mount.cpp61 using android::fs_mgr::Fstab;
78 FirstStageMount(Fstab fstab);
90 bool MountPartition(const Fstab::iterator& begin, bool erase_same_mounts,
91 Fstab::iterator* end = nullptr);
113 Fstab fstab_;
125 FirstStageMountVBootV1(Fstab fstab) : FirstStageMount(std::move(fstab)) {} in FirstStageMountVBootV1()
137 FirstStageMountVBootV2(Fstab fstab);
151 static inline bool IsDtVbmetaCompatible(const Fstab& fstab) { in IsDtVbmetaCompatible()
159 static Fstab ReadFirstStageFstab() { in ReadFirstStageFstab()
160 Fstab fstab; in ReadFirstStageFstab()
[all …]
Dselinux.cpp608 android::fs_mgr::Fstab fstab; in MountMissingSystemPartitions()
613 android::fs_mgr::Fstab mounts; in MountMissingSystemPartitions()
620 android::fs_mgr::Fstab extra_fstab; in MountMissingSystemPartitions()
/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp144 Fstab fstab; in TEST()
231 Fstab fstab; in TEST()
327 Fstab fstab; in TEST()
406 Fstab fstab; in TEST()
480 Fstab fstab; in TEST()
504 Fstab fstab; in TEST()
545 Fstab fstab; in TEST()
571 Fstab fstab; in TEST()
601 Fstab fstab; in TEST()
647 Fstab fstab; in TEST()
[all …]
/system/extras/boot_control_copy/
Dbootinfo.cpp36 using android::fs_mgr::Fstab;
43 static bool open_fstab(Fstab* fstab) in open_fstab()
70 Fstab fstab; in boot_info_open_partition()
/system/gsid/tests/
Dboot_tests.cpp31 Fstab fstab; in TEST()
44 Fstab fstab; in TEST()
/system/vold/
DVoldUtil.cpp19 android::fs_mgr::Fstab fstab_default;
DVoldUtil.h21 extern android::fs_mgr::Fstab fstab_default;
DIdleMaint.cpp48 using android::fs_mgr::Fstab;
107 Fstab fstab; in addFromFstab()
256 Fstab fstab; in runDevGcFstab()
/system/core/fs_mgr/libsnapshot/
Dutility.h105 AutoUnmountDevice(const std::string& path, android::fs_mgr::Fstab&& fstab) in AutoUnmountDevice()
107 android::fs_mgr::Fstab fstab_;
Dutility.cpp32 using android::fs_mgr::Fstab;
126 Fstab fstab; in New()
/system/core/fs_mgr/libfs_avb/
Davb_ops.h66 Fstab fstab_;
/system/core/fastboot/device/
Dfastboot_device.cpp36 using android::fs_mgr::Fstab;
81 Fstab fstab;
Dutility.h62 android::fs_mgr::Fstab fstab_;

12