Searched defs:mountpoint (Results 1 - 3 of 3) sorted by relevance

/system/update_engine/common/
H A Dtest_utils.h113 explicit ScopedFilesystemUnmounter(const std::string& mountpoint) argument
114 : mountpoint_(mountpoint),
H A Dutils.cc658 const string& mountpoint,
669 int rc = mount(device.c_str(), mountpoint.c_str(), fstype, mountflags,
675 << " on " << mountpoint << " as " << fstype;
683 bool UnmountFilesystem(const string& mountpoint) { argument
686 if (umount(mountpoint.c_str()) == 0)
693 LOG(INFO) << "Not a mountpoint: " << mountpoint;
696 PLOG(WARNING) << "Error unmounting " << mountpoint << " after " << num_retries
698 if (umount2(mountpoint.c_str(), MNT_DETACH) != 0) {
705 bool IsMountpoint(const std::string& mountpoint) { argument
657 MountFilesystem(const string& device, const string& mountpoint, unsigned long mountflags, const string& type, const string& fs_mount_options) argument
[all...]
/system/vold/
H A Dcryptfs.cpp1439 int wait_and_unmount(const char *mountpoint, bool kill) argument
1446 if (umount(mountpoint) == 0) {
1451 /* EINVAL is returned if the directory is not a mountpoint,
1463 android::vold::KillProcessesWithOpenFiles(mountpoint, SIGTERM);
1466 android::vold::KillProcessesWithOpenFiles(mountpoint, SIGKILL);
1474 SLOGD("unmounting %s succeeded\n", mountpoint);
1477 android::vold::KillProcessesWithOpenFiles(mountpoint, 0);
1478 SLOGE("unmounting %s failed: %s\n", mountpoint, strerror(err));

Completed in 186 milliseconds