Searched refs:child_ns (Results 1 – 2 of 2) sorted by relevance
29 static int child_ns, parent_ns; variable54 child_ns = open(path, O_RDONLY); in init_namespaces()55 if (child_ns <= 0) in init_namespaces()58 if (fstat(child_ns, &st2)) in init_namespaces()108 if (switch_ns(child_ns)) in check_uptime()109 return pr_err("switch_ns(%d)", child_ns); in check_uptime()
48 static int child_ns, parent_ns = -1; variable77 child_ns = open(path, O_RDONLY); in init_namespaces()78 if (child_ns <= 0) in init_namespaces()81 if (fstat(child_ns, &st2)) in init_namespaces()107 return pr_err("switch_ns(%d)", child_ns); in test_gettime()115 if (switch_ns(child_ns)) in test_gettime()116 return pr_err("switch_ns(%d)", child_ns); in test_gettime()