Searched refs:target_mount_namespace (Results 1 – 2 of 2) sorted by relevance
195 Result<void> SwitchToMountNamespaceIfNeeded(MountNamespace target_mount_namespace) { in SwitchToMountNamespaceIfNeeded() argument213 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()
27 base::Result<void> SwitchToMountNamespaceIfNeeded(MountNamespace target_mount_namespace);