Searched refs:switch_ns (Results 1 – 3 of 3) sorted by relevance
50 static int switch_ns(int fd) in switch_ns() function106 if (switch_ns(parent_ns)) in test_gettime()115 if (switch_ns(child_ns)) in test_gettime()129 if (switch_ns(parent_ns)) in test_gettime()
31 static int switch_ns(int fd) in switch_ns() function102 if (switch_ns(parent_ns)) in check_uptime()108 if (switch_ns(child_ns)) in check_uptime()
119 static int switch_ns(int fd) in switch_ns() function142 if (switch_ns(nsfd_parent)) in init_namespaces()149 if (switch_ns(nsfd_parent)) in init_namespaces()451 if (switch_ns(nsfd)) in init_child()1672 if (switch_ns(nsfd_childa)) in child_f()1797 if (switch_ns(nsfd_childb)) in grand_child_f()1832 return switch_ns(nsfd_parent); in start_child()