Searched refs:mount_point (Results 1 – 10 of 10) sorted by relevance
/bootable/recovery/otautil/ |
D | mounts.cpp | 34 std::string mount_point; member 56 v->mount_point = e->mnt_dir; in scan_mounted_volumes() 65 MountedVolume* find_mounted_volume_by_mount_point(const char* mount_point) { in find_mounted_volume_by_mount_point() argument 67 if (g_mounts_state[i]->mount_point == mount_point) return g_mounts_state[i]; in find_mounted_volume_by_mount_point() 75 std::string mount_point = volume->mount_point; in unmount_mounted_volume() local 76 volume->mount_point.clear(); in unmount_mounted_volume() 77 int result = umount(mount_point.c_str()); in unmount_mounted_volume() 79 PLOG(WARNING) << "Failed to umount " << mount_point; in unmount_mounted_volume()
|
D | roots.cpp | 61 .mount_point = "/tmp", .fs_type = "ramdisk", .blk_device = "ramdisk", .length = 0 }); in load_volume_table() 66 std::cout << " " << i << " " << entry.mount_point << " " in load_volume_table() 73 Volume* volume_for_mount_point(const std::string& mount_point) { in volume_for_mount_point() argument 74 return android::fs_mgr::GetEntryForMountPoint(&fstab, mount_point); in volume_for_mount_point() 78 int ensure_path_mounted_at(const std::string& path, const std::string& mount_point) { in ensure_path_mounted_at() argument 79 return android::fs_mgr::EnsurePathMounted(&fstab, path, mount_point) ? 0 : -1; in ensure_path_mounted_at() 142 if (v->mount_point != volume) { in format_volume() 147 LOG(ERROR) << "format_volume: Failed to unmount \"" << v->mount_point << "\""; in format_volume() 260 if (entry.mount_point == "/") { in setup_install_mounts() 264 if (entry.mount_point == "/tmp" || entry.mount_point == "/cache") { in setup_install_mounts() [all …]
|
/bootable/recovery/tests/component/ |
D | sideload_test.cpp | 72 TemporaryDir mount_point; in TEST() local 75 ASSERT_EQ(0, run_fuse_sideload(std::move(provider), mount_point.path)); in TEST() 79 std::string package = std::string(mount_point.path) + "/" + FUSE_SIDELOAD_HOST_FILENAME; in TEST() 101 std::string exit_flag = std::string(mount_point.path) + "/" + FUSE_SIDELOAD_HOST_EXIT_FLAG; in TEST()
|
/bootable/recovery/otautil/include/otautil/ |
D | roots.h | 29 Volume* volume_for_mount_point(const std::string& mount_point); 36 int ensure_path_mounted_at(const std::string& path, const std::string& mount_point);
|
D | mounts.h | 23 MountedVolume* find_mounted_volume_by_mount_point(const char* mount_point);
|
/bootable/recovery/updater/ |
D | install.cpp | 294 const std::string& mount_point = args[3]; in MountFn() local 311 if (mount_point.empty()) { in MountFn() 320 selabel_lookup(sehandle, &secontext, mount_point.c_str(), 0755); in MountFn() 324 mkdir(mount_point.c_str(), 0755); in MountFn() 332 if (mount(location.c_str(), mount_point.c_str(), fs_type.c_str(), in MountFn() 334 uiPrintf(state, "%s: Failed to mount %s at %s: %s", name, location.c_str(), mount_point.c_str(), in MountFn() 339 return StringValue(mount_point); in MountFn() 352 const std::string& mount_point = args[0]; in IsMountedFn() local 353 if (mount_point.empty()) { in IsMountedFn() 359 MountedVolume* vol = find_mounted_volume_by_mount_point(mount_point.c_str()); in IsMountedFn() [all …]
|
/bootable/recovery/fuse_sideload/include/ |
D | fuse_sideload.h | 32 const char* mount_point = FUSE_SIDELOAD_HOST_MOUNTPOINT);
|
/bootable/recovery/fuse_sideload/ |
D | fuse_sideload.cpp | 344 int run_fuse_sideload(std::unique_ptr<FuseDataProvider>&& provider, const char* mount_point) { in run_fuse_sideload() argument 347 umount2(mount_point, MNT_FORCE); in run_fuse_sideload() 406 result = mount("/dev/fuse", mount_point, "fuse", MS_NOSUID | MS_NODEV | MS_RDONLY | MS_NOEXEC, in run_fuse_sideload() 487 if (umount2(mount_point, MNT_DETACH) == -1) { in run_fuse_sideload()
|
/bootable/recovery/uncrypt/ |
D | uncrypt.cpp | 177 if (entry.mount_point.empty()) { in FindBlockDevice() 180 if (android::base::StartsWith(path, entry.mount_point + "/")) { in FindBlockDevice()
|
/bootable/recovery/bootloader_message/ |
D | bootloader_message.cpp | 53 if (entry.mount_point == "/misc") { in get_misc_blk_device()
|