Home
last modified time | relevance | path

Searched refs:mountflags (Results 1 – 3 of 3) sorted by relevance

/system/core/init/
Dmount_namespace.cpp37 unsigned long mountflags = MS_SHARED; in MakeShared() local
39 mountflags |= MS_REC; in MakeShared()
41 if (mount(nullptr, mount_point.c_str(), nullptr, mountflags, nullptr) == -1) { in MakeShared()
49 unsigned long mountflags = MS_PRIVATE; in MakePrivate() local
51 mountflags |= MS_REC; in MakePrivate()
53 if (mount(nullptr, mount_point.c_str(), nullptr, mountflags, nullptr) == -1) { in MakePrivate()
/system/update_engine/common/
Dutils.cc648 unsigned long mountflags, // NOLINT(runtime/int) in MountFilesystem() argument
661 mountflags, in MountFilesystem()
/system/core/fs_mgr/
Dfs_mgr.cpp631 unsigned long mountflags = entry.flags; in __mount() local
639 ret = mount(source.c_str(), target.c_str(), entry.fs_type.c_str(), mountflags, in __mount()
655 if ((ret == 0) && (mountflags & MS_RDONLY) != 0) { in __mount()