Home
last modified time | relevance | path

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

12

/aosp14/system/core/fs_mgr/include_fstab/fstab/
H A Dfstab.h94 using Fstab = std::vector<FstabEntry>; variable
97 bool ParseFstabFromString(const std::string& fstab_str, bool proc_mounts, Fstab* fstab_out);
101 bool SkipMountWithConfig(const std::string& skip_config, Fstab* fstab, bool verbose);
103 bool ReadFstabFromFile(const std::string& path, Fstab* fstab);
104 bool ReadFstabFromDt(Fstab* fstab, bool verbose = true);
105 bool ReadDefaultFstab(Fstab* fstab);
106 bool SkipMountingPartitions(Fstab* fstab, bool verbose = false);
109 std::vector<FstabEntry*> GetEntriesForMountPoint(Fstab* fstab, const std::string& path);
112 FstabEntry* GetEntryForMountPoint(Fstab* fstab, const std::string& path);
113 const FstabEntry* GetEntryForMountPoint(const Fstab* fstab, const std::string& path);
[all …]
/aosp14/system/core/fs_mgr/include/
H A Dfs_mgr.h83 MountAllResult fs_mgr_mount_all(android::fs_mgr::Fstab* fstab, int mount_mode);
88 int fs_mgr_do_mount(android::fs_mgr::Fstab* fstab, const char* n_name, char* n_blk_device,
90 int fs_mgr_do_mount(android::fs_mgr::Fstab* fstab, const char* n_name, char* n_blk_device,
102 bool fs_mgr_swapon_all(const android::fs_mgr::Fstab& fstab);
131 int fs_mgr_umount_all(android::fs_mgr::Fstab* fstab);
135 android::fs_mgr::Fstab* fstab, const std::string& data_block_device);
136 int fs_mgr_remount_userdata_into_checkpointing(android::fs_mgr::Fstab* fstab);
H A Dfs_mgr_overlayfs.h27 bool fs_mgr_overlayfs_mount_all(android::fs_mgr::Fstab* fstab);
33 void MapScratchPartitionIfNeeded(Fstab* fstab,
/aosp14/system/core/fs_mgr/
H A Dfs_mgr_remount.cpp49 using android::fs_mgr::Fstab;
205 static Fstab::const_iterator FindPartition(const Fstab& fstab, const std::string& partition) { in FindPartition()
206 Fstab mounts; in FindPartition()
227 static Fstab GetAllRemountablePartitions(Fstab& fstab) { in GetAllRemountablePartitions()
230 Fstab partitions; in GetAllRemountablePartitions()
239 bool GetRemountList(const Fstab& fstab, const std::vector<std::string>& argv, Fstab* partitions) { in GetRemountList()
349 bool RemountPartition(Fstab& fstab, Fstab& mounts, FstabEntry& entry) { in RemountPartition()
447 Fstab fstab; in SetupOrTeardownOverlayfs()
478 Fstab partitions; in do_remount()
527 android::fs_mgr::Fstab mounts; in do_remount()
[all …]
H A Dfs_mgr_roots.cpp37 FstabEntry* GetEntryForPath(Fstab* fstab, const std::string& path) { in GetEntryForPath()
49 std::vector<FstabEntry*> GetEntriesForPath(Fstab* fstab, const std::string& path) { in GetEntriesForPath()
70 Fstab mounted_fstab; in GetMountState()
142 bool EnsurePathMounted(Fstab* fstab, const std::string& path, const std::string& mount_point) { in EnsurePathMounted()
157 bool EnsurePathUnmounted(Fstab* fstab, const std::string& path) { in EnsurePathUnmounted()
168 Fstab mounted_fstab; in EnsurePathUnmounted()
191 Fstab fstab; in GetSystemRoot()
H A Dfs_mgr_priv_overlayfs.h25 android::fs_mgr::Fstab fs_mgr_overlayfs_candidate_list(const android::fs_mgr::Fstab& fstab);
32 bool fs_mgr_overlayfs_setup(const android::fs_mgr::Fstab& fstab, const char* mount_point = nullptr,
H A Dfs_mgr_fstab.cpp455 std::set<std::string> ExtraBootDevices(const Fstab& fstab) { in ExtraBootDevices()
543 Fstab fstab; in ParseFstabFromString()
595 void TransformFstabForDsu(Fstab* fstab, const std::string& dsu_slot, in TransformFstabForDsu()
677 void EnableMandatoryFlags(Fstab* fstab) { in EnableMandatoryFlags()
700 bool ReadFstabFromFile(const std::string& path, Fstab* fstab_out) { in ReadFstabFromFile()
709 Fstab fstab; in ReadFstabFromFile()
741 bool ReadFstabFromDt(Fstab* fstab, bool verbose) { in ReadFstabFromDt()
773 bool SkipMountingPartitions(Fstab* fstab, bool verbose) { in SkipMountingPartitions()
819 bool ReadDefaultFstab(Fstab* fstab) { in ReadDefaultFstab()
831 Fstab default_fstab; in ReadDefaultFstab()
[all …]
H A Dfs_mgr_overlayfs.cpp463 bool fs_mgr_overlayfs_has_logical(const Fstab& fstab) { in fs_mgr_overlayfs_has_logical()
1140 static bool CanUseSuperPartition(const Fstab& fstab) { in CanUseSuperPartition()
1153 bool fs_mgr_overlayfs_create_scratch(const Fstab& fstab, std::string* scratch_device, in fs_mgr_overlayfs_create_scratch()
1178 bool fs_mgr_overlayfs_setup_scratch(const Fstab& fstab) { in fs_mgr_overlayfs_setup_scratch()
1273 Fstab fs_mgr_overlayfs_candidate_list(const Fstab& fstab) { in fs_mgr_overlayfs_candidate_list()
1274 android::fs_mgr::Fstab mounts; in fs_mgr_overlayfs_candidate_list()
1280 Fstab candidates; in fs_mgr_overlayfs_candidate_list()
1339 bool fs_mgr_overlayfs_mount_all(Fstab* fstab) { in fs_mgr_overlayfs_mount_all()
1588 Fstab fstab; in fs_mgr_overlayfs_is_setup()
1602 void MapScratchPartitionIfNeeded(Fstab* fstab, in MapScratchPartitionIfNeeded()
[all …]
H A Dfs_mgr_slotselect.cpp56 bool fs_mgr_update_for_slotselect(Fstab* fstab) { in fs_mgr_update_for_slotselect()
H A Dfs_mgr.cpp917 static bool mount_with_alternatives(Fstab& fstab, int start_idx, int* end_idx, in mount_with_alternatives()
1380 Fstab fstab; in IsMountPointMounted()
1390 MountAllResult fs_mgr_mount_all(Fstab* fstab, int mount_mode) { in fs_mgr_mount_all()
1629 int fs_mgr_umount_all(android::fs_mgr::Fstab* fstab) { in fs_mgr_umount_all()
1674 Fstab proc_mounts; in fs_mgr_unmount_all_data_mounts()
1701 Fstab remaining_mounts; in fs_mgr_unmount_all_data_mounts()
1739 FstabEntry* fs_mgr_get_mounted_entry_for_userdata(Fstab* fstab, in fs_mgr_get_mounted_entry_for_userdata()
1770 int fs_mgr_remount_userdata_into_checkpointing(Fstab* fstab) { in fs_mgr_remount_userdata_into_checkpointing()
1771 Fstab proc_mounts; in fs_mgr_remount_userdata_into_checkpointing()
1875 static int fs_mgr_do_mount_helper(Fstab* fstab, const std::string& n_name, in fs_mgr_do_mount_helper()
[all …]
H A Dfs_mgr_priv.h92 bool fs_mgr_update_for_slotselect(android::fs_mgr::Fstab* fstab);
/aosp14/system/core/fs_mgr/include/fs_mgr/
H A 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);
/aosp14/system/core/init/
H A Dfirst_stage_mount.cpp64 using android::fs_mgr::Fstab;
81 FirstStageMount(Fstab fstab);
95 Fstab::iterator* end = nullptr);
117 Fstab fstab_;
131 FirstStageMountVBootV2(Fstab fstab);
145 static inline bool IsDtVbmetaCompatible(const Fstab& fstab) { in IsDtVbmetaCompatible()
153 static Result<Fstab> ReadFirstStageFstab() { in ReadFirstStageFstab()
154 Fstab fstab; in ReadFirstStageFstab()
170 Fstab proc_mounts; in GetRootEntry()
430 Fstab::iterator current = begin + 1; in MountPartition()
[all …]
H A Dbuiltins.cpp98 using android::fs_mgr::Fstab;
654 Fstab fstab; in do_mount_all()
698 Fstab fstab; in do_umount_all()
720 Fstab fstab; in do_swapon_all()
862 Fstab fstab; in do_verity_update_state()
1205 Fstab fstab; in do_remount_userdata()
H A Dselinux.cpp882 android::fs_mgr::Fstab fstab; in MountMissingSystemPartitions()
887 android::fs_mgr::Fstab mounts; in MountMissingSystemPartitions()
894 android::fs_mgr::Fstab extra_fstab; in MountMissingSystemPartitions()
/aosp14/system/core/fs_mgr/tests/
H A Dfs_mgr_test.cpp256 Fstab fstab; in TEST()
342 Fstab fstab; in TEST()
419 Fstab fstab; in TEST()
492 Fstab fstab; in TEST()
548 Fstab fstab; in TEST()
560 Fstab fstab; in TEST()
584 Fstab fstab; in TEST()
625 Fstab fstab; in TEST()
651 Fstab fstab; in TEST()
681 Fstab fstab; in TEST()
[all …]
H A Dvts_fs_test.cpp91 android::fs_mgr::Fstab fstab; in TEST()
153 android::fs_mgr::Fstab fstab; in TEST()
/aosp14/system/core/fs_mgr/libfs_avb/tests/
H A 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()
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dutility.h102 AutoUnmountDevice(const std::string& path, android::fs_mgr::Fstab&& fstab) in AutoUnmountDevice()
104 android::fs_mgr::Fstab fstab_;
H A Dutility.cpp37 using android::fs_mgr::Fstab;
132 Fstab fstab; in New()
/aosp14/system/core/fs_mgr/fuzz/
H A Dfs_mgr_fstab_fuzzer.cpp34 android::fs_mgr::Fstab fstab; in LLVMFuzzerTestOneInput()
/aosp14/system/core/trusty/storage/proxy/
H A Dcheckpoint_handling.cpp45 android::fs_mgr::Fstab procMounts; in is_data_checkpoint_active()
/aosp14/system/core/fs_mgr/libfs_avb/
H A Davb_ops.h68 Fstab fstab_;
/aosp14/system/core/fastboot/device/
H A Dfastboot_device.cpp41 using android::fs_mgr::Fstab;
125 Fstab fstab;
H A Dutility.h103 android::fs_mgr::Fstab fstab_;

12