Home
last modified time | relevance | path

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

12

/system/core/fs_mgr/include_fstab/fstab/
Dfstab.h99 using Fstab = std::vector<FstabEntry>; variable
101 bool ReadFstabFromFile(const std::string& path, Fstab* fstab);
102 bool ReadFstabFromDt(Fstab* fstab, bool verbose = true);
103 bool ReadDefaultFstab(Fstab* fstab);
104 bool SkipMountingPartitions(Fstab* fstab, bool verbose = false);
106 FstabEntry* GetEntryForMountPoint(Fstab* fstab, const std::string& path);
108 std::vector<FstabEntry*> GetEntriesForMountPoint(Fstab* fstab, const std::string& path);
118 void TransformFstabForDsu(Fstab* fstab, const std::string& dsu_slot,
/system/core/fs_mgr/include/
Dfs_mgr.h76 MountAllResult fs_mgr_mount_all(android::fs_mgr::Fstab* fstab, int mount_mode);
81 int fs_mgr_do_mount(android::fs_mgr::Fstab* fstab, const char* n_name, char* n_blk_device,
83 int fs_mgr_do_mount(android::fs_mgr::Fstab* fstab, const char* n_name, char* n_blk_device,
95 bool fs_mgr_swapon_all(const android::fs_mgr::Fstab& fstab);
124 int fs_mgr_umount_all(android::fs_mgr::Fstab* fstab);
128 android::fs_mgr::Fstab* fstab, const std::string& data_block_device);
129 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);
47 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()
139 bool EnsurePathUnmounted(Fstab* fstab, const std::string& path) { in EnsurePathUnmounted()
150 Fstab mounted_fstab; in EnsurePathUnmounted()
173 Fstab fstab; in GetSystemRoot()
Dfs_mgr_fstab.cpp437 bool ReadFstabFile(FILE* fstab_file, bool proc_mounts, Fstab* fstab_out) { in ReadFstabFile()
443 Fstab fstab; in ReadFstabFile()
533 std::set<std::string> ExtraBootDevices(const Fstab& fstab) { in ExtraBootDevices()
585 bool EraseFstabEntry(Fstab* fstab, const std::string& mount_point) { in EraseFstabEntry()
597 void TransformFstabForDsu(Fstab* fstab, const std::string& dsu_slot, in TransformFstabForDsu()
677 void EnableMandatoryFlags(Fstab* fstab) { in EnableMandatoryFlags()
692 bool ReadFstabFromFile(const std::string& path, Fstab* fstab_out) { in ReadFstabFromFile()
701 Fstab fstab; in ReadFstabFromFile()
742 bool ReadFstabFromDt(Fstab* fstab, bool verbose) { in ReadFstabFromDt()
771 bool SkipMountingPartitions(Fstab*, bool) { in SkipMountingPartitions() argument
[all …]
Dfs_mgr_remount.cpp77 const android::fs_mgr::FstabEntry* is_wrapped(const android::fs_mgr::Fstab& overlayfs_candidates, in is_wrapped()
200 android::fs_mgr::Fstab fstab; in do_remount()
208 android::fs_mgr::Fstab mounts; in do_remount()
241 android::fs_mgr::Fstab all; in do_remount()
252 android::fs_mgr::Fstab partitions; in do_remount()
399 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
112 void MapScratchPartitionIfNeeded(Fstab*, const std::function<bool(const std::set<std::string>&)>&) { in MapScratchPartitionIfNeeded() argument
351 Fstab fstab; in fs_mgr_overlayfs_already_mounted()
475 bool fs_mgr_overlayfs_has_logical(const Fstab& fstab) { in fs_mgr_overlayfs_has_logical()
1154 static bool CanUseSuperPartition(const Fstab& fstab, bool* is_virtual_ab) { in CanUseSuperPartition()
1168 bool fs_mgr_overlayfs_create_scratch(const Fstab& fstab, std::string* scratch_device, in fs_mgr_overlayfs_create_scratch()
1200 bool fs_mgr_overlayfs_setup_scratch(const Fstab& fstab, bool* change) { in fs_mgr_overlayfs_setup_scratch()
1242 Fstab fs_mgr_overlayfs_candidate_list(const Fstab& fstab) { in fs_mgr_overlayfs_candidate_list()
1243 Fstab candidates; 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.cpp874 static bool mount_with_alternatives(const Fstab& fstab, int start_idx, int* end_idx, in mount_with_alternatives()
1357 Fstab fstab; in IsMountPointMounted()
1367 MountAllResult fs_mgr_mount_all(Fstab* fstab, int mount_mode) { in fs_mgr_mount_all()
1647 int fs_mgr_umount_all(android::fs_mgr::Fstab* fstab) { in fs_mgr_umount_all()
1699 Fstab proc_mounts; in fs_mgr_unmount_all_data_mounts()
1726 Fstab remaining_mounts; in fs_mgr_unmount_all_data_mounts()
1764 FstabEntry* fs_mgr_get_mounted_entry_for_userdata(Fstab* fstab, in fs_mgr_get_mounted_entry_for_userdata()
1795 int fs_mgr_remount_userdata_into_checkpointing(Fstab* fstab) { in fs_mgr_remount_userdata_into_checkpointing()
1796 Fstab proc_mounts; in fs_mgr_remount_userdata_into_checkpointing()
1896 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.cpp64 using android::fs_mgr::Fstab;
81 FirstStageMount(Fstab fstab);
95 bool MountPartition(const Fstab::iterator& begin, bool erase_same_mounts,
96 Fstab::iterator* end = nullptr);
118 Fstab fstab_;
130 FirstStageMountVBootV1(Fstab fstab) : FirstStageMount(std::move(fstab)) {} in FirstStageMountVBootV1()
142 FirstStageMountVBootV2(Fstab fstab);
156 static inline bool IsDtVbmetaCompatible(const Fstab& fstab) { in IsDtVbmetaCompatible()
164 static Result<Fstab> ReadFirstStageFstab() { in ReadFirstStageFstab()
165 Fstab fstab; in ReadFirstStageFstab()
[all …]
Dselinux.cpp626 android::fs_mgr::Fstab fstab; in MountMissingSystemPartitions()
631 android::fs_mgr::Fstab mounts; in MountMissingSystemPartitions()
638 android::fs_mgr::Fstab extra_fstab; in MountMissingSystemPartitions()
/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp260 Fstab fstab; in TEST()
346 Fstab fstab; in TEST()
423 Fstab fstab; in TEST()
500 Fstab fstab; in TEST()
570 Fstab fstab; in TEST()
594 Fstab fstab; in TEST()
635 Fstab fstab; in TEST()
661 Fstab fstab; in TEST()
691 Fstab fstab; in TEST()
737 Fstab fstab; in TEST()
[all …]
/system/extras/boot_control_copy/
Dbootinfo.cpp35 using android::fs_mgr::Fstab;
42 static bool open_fstab(Fstab* fstab) { in open_fstab()
67 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;
/system/apex/tests/native/
Dapex_shared_libraries_test.cpp34 using android::fs_mgr::Fstab;
47 Fstab fstab; in TEST()
/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.cpp33 using android::fs_mgr::Fstab;
127 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;
82 Fstab fstab;
Dutility.h62 android::fs_mgr::Fstab fstab_;

12