Searched refs:nsfd_parent (Results 1 – 2 of 2) sorted by relevance
153 static int nsfd_parent = -1; variable160 nsfd_parent = unshare_open_netns(); in init_namespaces()255 test_init_ftrace(nsfd_parent, nsfd_child); in __test_init()257 if (add_veth(veth_name, nsfd_parent, nsfd_child)) in __test_init()273 switch_ns(nsfd_parent); in __test_init()
63 static int nsfd_parent = -1; variable172 nsfd_parent = unshare_open(); in init_namespaces()173 if (nsfd_parent <= 0) in init_namespaces()180 if (switch_ns(nsfd_parent)) in init_namespaces()187 if (switch_ns(nsfd_parent)) in init_namespaces()1972 return switch_ns(nsfd_parent); in start_child()