Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockopt_multi.c7 static int run_getsockopt_test(struct sockopt_multi *obj, int cg_parent, in run_getsockopt_test() argument
70 cg_parent); in run_getsockopt_test()
158 static int run_setsockopt_test(struct sockopt_multi *obj, int cg_parent, in run_setsockopt_test() argument
221 cg_parent); in run_setsockopt_test()
255 int cg_parent = -1, cg_child = -1; in test_sockopt_multi() local
259 cg_parent = test__join_cgroup("/parent"); in test_sockopt_multi()
260 if (!ASSERT_GE(cg_parent, 0, "join_cgroup /parent")) in test_sockopt_multi()
277 ASSERT_OK(run_getsockopt_test(obj, cg_parent, cg_child, sock_fd), "getsockopt_test"); in test_sockopt_multi()
278 ASSERT_OK(run_setsockopt_test(obj, cg_parent, cg_child, sock_fd), "setsockopt_test"); in test_sockopt_multi()
284 close(cg_parent); in test_sockopt_multi()