Lines Matching refs:fuse_path
1528 std::string fuse_path( in MountUserFuse() local
1555 result = PrepareDir(fuse_path, 0700, AID_ROOT, AID_ROOT); in MountUserFuse()
1557 PLOG(ERROR) << "Failed to prepare directory " << fuse_path; in MountUserFuse()
1609 result = TEMP_FAILURE_RETRY(mount("/dev/fuse", fuse_path.c_str(), "fuse", in MountUserFuse()
1613 PLOG(ERROR) << "Failed to mount " << fuse_path; in MountUserFuse()
1631 std::string fuse_path(StringPrintf("/mnt/user/%d/%s", user_id, relative_upper_path.c_str())); in UnmountUserFuse() local
1635 LOG(INFO) << "Unmounting fuse path " << fuse_path; in UnmountUserFuse()
1636 android::status_t result = ForceUnmount(fuse_path); in UnmountUserFuse()
1640 PLOG(ERROR) << "Failed to unmount. Trying MNT_DETACH " << fuse_path << " ..."; in UnmountUserFuse()
1641 if (umount2(fuse_path.c_str(), UMOUNT_NOFOLLOW | MNT_DETACH) && errno != EINVAL && in UnmountUserFuse()
1643 PLOG(ERROR) << "Failed to unmount with MNT_DETACH " << fuse_path; in UnmountUserFuse()
1648 rmdir(fuse_path.c_str()); in UnmountUserFuse()