Searched refs:switch_ns (Results 1 – 4 of 4) sorted by relevance
29 static int switch_ns(int fd) in switch_ns() function127 if (switch_ns(parent_ns)) in check_uptime()133 if (switch_ns(child_ns)) in check_uptime()156 if (switch_ns(parent_ns)) in check_stat_btime()162 if (switch_ns(child_ns)) in check_stat_btime()
48 static int switch_ns(int fd) in switch_ns() function104 if (switch_ns(parent_ns)) in test_gettime()113 if (switch_ns(child_ns)) in test_gettime()127 if (switch_ns(parent_ns)) in test_gettime()
157 static int switch_ns(int fd) in switch_ns() function180 if (switch_ns(nsfd_parent)) in init_namespaces()187 if (switch_ns(nsfd_parent)) in init_namespaces()489 if (switch_ns(nsfd)) in init_child()1809 if (switch_ns(nsfd_childa)) in child_f()1937 if (switch_ns(nsfd_childb)) in grand_child_f()1972 return switch_ns(nsfd_parent); in start_child()
244 static int switch_ns(const char *ns) in switch_ns() function1574 if (switch_ns(args->serverns)) { in do_server()1784 if (switch_ns(args->clientns)) { in do_client()