Home
last modified time | relevance | path

Searched refs:fstab (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/tests/common/
Dcomponent_test_util.h27 std::unique_ptr<fstab, decltype(&fs_mgr_free_fstab)> fstab(fs_mgr_read_fstab_default(), in parse_misc()
29 if (!fstab) { in parse_misc()
34 fstab_rec* record = fs_mgr_get_entry_for_mount_point(fstab.get(), "/misc"); in parse_misc()
/bootable/recovery/
Droots.cpp38 static struct fstab *fstab = NULL; variable
47 fstab = fs_mgr_read_fstab_default(); in load_volume_table()
48 if (!fstab) { in load_volume_table()
53 ret = fs_mgr_add_entry(fstab, "/tmp", "ramdisk", "ramdisk"); in load_volume_table()
56 fs_mgr_free_fstab(fstab); in load_volume_table()
57 fstab = NULL; in load_volume_table()
63 for (i = 0; i < fstab->num_entries; ++i) { in load_volume_table()
64 Volume* v = &fstab->recs[i]; in load_volume_table()
72 return fs_mgr_get_entry_for_mount_point(fstab, path); in volume_for_path()
263 if (fstab == NULL) { in setup_install_mounts()
[all …]
/bootable/recovery/uncrypt/
Duncrypt.cpp139 static struct fstab* fstab = nullptr; variable
165 static struct fstab* read_fstab() { in read_fstab()
166 fstab = fs_mgr_read_fstab_default(); in read_fstab()
167 if (!fstab) { in read_fstab()
172 return fstab; in read_fstab()
179 for (int i = 0; i < fstab->num_entries; ++i) { in find_block_device()
180 struct fstab_rec* v = &fstab->recs[i]; in find_block_device()
622 if ((fstab = read_fstab()) == nullptr) { in main()
/bootable/recovery/bootloader_message/
Dbootloader_message.cpp33 std::unique_ptr<fstab, decltype(&fs_mgr_free_fstab)> fstab(fs_mgr_read_fstab_default(), in get_misc_blk_device() local
35 if (!fstab) { in get_misc_blk_device()
39 fstab_rec* record = fs_mgr_get_entry_for_mount_point(fstab.get(), "/misc"); in get_misc_blk_device()