Searched refs:mountflags (Results 1 – 2 of 2) sorted by relevance
55 static bool ChangeMount(const std::string& mount_point, unsigned long mountflags) { in ChangeMount() argument56 if (mount(nullptr, mount_point.c_str(), nullptr, mountflags, nullptr) == -1) { in ChangeMount()57 PLOG(ERROR) << "Failed to remount " << mount_point << " as " << std::hex << mountflags; in ChangeMount()
823 unsigned long mountflags = entry.flags; in __mount() local853 ret = mount(source.c_str(), target.c_str(), entry.fs_type.c_str(), mountflags, in __mount()871 if ((ret == 0) && (mountflags & MS_RDONLY) != 0) { in __mount()