Home
last modified time | relevance | path

Searched refs:switch_ns (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/timens/
H A Dprocfs.c29 static int switch_ns(int fd) in switch_ns() function
127 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()
H A Dtimens.c48 static int switch_ns(int fd) in switch_ns() function
104 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()
/openbmc/linux/tools/testing/selftests/net/
H A Dipsec.c157 static int switch_ns(int fd) in switch_ns() function
180 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()
H A Dnettest.c244 static int switch_ns(const char *ns) in switch_ns() function
1574 if (switch_ns(args->serverns)) { in do_server()
1784 if (switch_ns(args->clientns)) { in do_client()