Searched defs:mount_point (Results 1 - 5 of 5) sorted by relevance

/bootable/recovery/
H A Dmounts.cpp34 std::string mount_point; member in struct:MountedVolume
56 v->mount_point = e->mnt_dir;
65 MountedVolume* find_mounted_volume_by_mount_point(const char* mount_point) { argument
67 if (g_mounts_state[i]->mount_point == mount_point) return g_mounts_state[i];
75 std::string mount_point = volume->mount_point; local
76 volume->mount_point.clear();
77 int result = umount(mount_point.c_str());
79 PLOG(WARNING) << "Failed to umount " << mount_point;
[all...]
H A Droots.cpp67 printf(" %d %s %s %s %lld\n", i, v->mount_point, v->fs_type, v->blk_device, v->length);
72 Volume* volume_for_mount_point(const std::string& mount_point) { argument
73 return fs_mgr_get_entry_for_mount_point(fstab, mount_point);
99 // Mount the volume specified by path at the given mount_point.
100 int ensure_path_mounted_at(const char* path, const char* mount_point) { argument
116 if (!mount_point) {
117 mount_point = v->mount_point;
120 const MountedVolume* mv = find_mounted_volume_by_mount_point(mount_point);
126 mkdir(mount_point, 075
[all...]
H A Dfuse_sideload.cpp344 const char* mount_point) {
347 umount2(mount_point, MNT_FORCE);
403 result = mount("/dev/fuse", mount_point, "fuse", MS_NOSUID | MS_NODEV | MS_RDONLY | MS_NOEXEC,
484 if (umount2(mount_point, MNT_DETACH) == -1) {
343 run_fuse_sideload(const provider_vtab& vtab, uint64_t file_size, uint32_t block_size, const char* mount_point) argument
/bootable/recovery/tests/component/
H A Dsideload_test.cpp62 TemporaryDir mount_point; local
65 ASSERT_EQ(0, run_fuse_sideload(vtab, 16384, 4096, mount_point.path));
69 std::string package = std::string(mount_point.path) + "/" + FUSE_SIDELOAD_HOST_FILENAME;
91 std::string exit_flag = std::string(mount_point.path) + "/" + FUSE_SIDELOAD_HOST_EXIT_FLAG;
/bootable/recovery/updater/
H A Dinstall.cpp335 // mount(fs_type, partition_type, location, mount_point)
336 // mount(fs_type, partition_type, location, mount_point, mount_options)
352 const std::string& mount_point = args[3]; local
369 if (mount_point.empty()) {
370 return ErrorAbort(state, kArgsParsingFailure, "mount_point argument to %s() can't be empty",
378 selabel_lookup(sehandle, &secontext, mount_point.c_str(), 0755);
382 mkdir(mount_point.c_str(), 0755);
390 if (mount(location.c_str(), mount_point.c_str(), fs_type.c_str(),
392 uiPrintf(state, "%s: Failed to mount %s at %s: %s", name, location.c_str(), mount_point.c_str(),
397 return StringValue(mount_point);
410 const std::string& mount_point = args[0]; local
433 const std::string& mount_point = args[0]; local
490 const std::string& mount_point = args[4]; local
[all...]

Completed in 373 milliseconds