Home
last modified time | relevance | path

Searched refs:target_mount_namespace (Results 1 – 2 of 2) sorted by relevance

/system/core/init/
Dmount_namespace.cpp195 Result<void> SwitchToMountNamespaceIfNeeded(MountNamespace target_mount_namespace) { in SwitchToMountNamespaceIfNeeded() argument
213 if (current_mount_namespace == target_mount_namespace) { in SwitchToMountNamespaceIfNeeded()
217 const auto& ns_fd = target_mount_namespace == NS_BOOTSTRAP ? bootstrap_ns_fd : default_ns_fd; in SwitchToMountNamespaceIfNeeded()
218 const auto& ns_name = target_mount_namespace == NS_BOOTSTRAP ? "bootstrap" : "default"; in SwitchToMountNamespaceIfNeeded()
Dmount_namespace.h27 base::Result<void> SwitchToMountNamespaceIfNeeded(MountNamespace target_mount_namespace);