Home
last modified time | relevance | path

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

/system/core/init/
Dmount_namespace.cpp40 unsigned long mountflags = MS_BIND; in BindMount() local
42 mountflags |= MS_REC; in BindMount()
44 if (mount(source.c_str(), mount_point.c_str(), nullptr, mountflags, nullptr) == -1) { in BindMount()
52 unsigned long mountflags = MS_SHARED; in MakeShared() local
54 mountflags |= MS_REC; in MakeShared()
56 if (mount(nullptr, mount_point.c_str(), nullptr, mountflags, nullptr) == -1) { in MakeShared()
64 unsigned long mountflags = MS_SLAVE; in MakeSlave() local
66 mountflags |= MS_REC; in MakeSlave()
68 if (mount(nullptr, mount_point.c_str(), nullptr, mountflags, nullptr) == -1) { in MakeSlave()
76 unsigned long mountflags = MS_PRIVATE; in MakePrivate() local
[all …]
/system/update_engine/common/
Dutils.cc649 unsigned long mountflags, // NOLINT(runtime/int) in MountFilesystem() argument
662 mountflags, in MountFilesystem()
/system/core/fs_mgr/
Dfs_mgr.cpp741 unsigned long mountflags = entry.flags; in __mount() local
765 ret = mount(source.c_str(), target.c_str(), entry.fs_type.c_str(), mountflags, in __mount()
783 if ((ret == 0) && (mountflags & MS_RDONLY) != 0) { in __mount()