Lines Matching refs:dest_path
182 umount2(fuse->dest_path, MNT_DETACH); in fuse_setup()
187 if (mount("/dev/fuse", fuse->dest_path, "fuse", MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, in fuse_setup()
270 snprintf(fuse_default.dest_path, PATH_MAX, "/mnt/runtime/default/%s", label); in run()
271 snprintf(fuse_read.dest_path, PATH_MAX, "/mnt/runtime/read/%s", label); in run()
272 snprintf(fuse_write.dest_path, PATH_MAX, "/mnt/runtime/write/%s", label); in run()
320 static bool sdcardfs_setup(const std::string& source_path, const std::string& dest_path, uid_t fsui… in sdcardfs_setup() argument
325 if (mount(source_path.c_str(), dest_path.c_str(), "sdcardfs", in sdcardfs_setup()
334 …atic bool sdcardfs_setup_bind_remount(const std::string& source_path, const std::string& dest_path, in sdcardfs_setup_bind_remount() argument
338 if (mount(source_path.c_str(), dest_path.c_str(), nullptr, in sdcardfs_setup_bind_remount()
344 if (mount(source_path.c_str(), dest_path.c_str(), "none", in sdcardfs_setup_bind_remount()
347 if (umount2(dest_path.c_str(), MNT_DETACH)) in sdcardfs_setup_bind_remount()