Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Duprobe.c26 static int urand_trigger(FILE **urand_pipe) in urand_trigger() argument
31 exit_code = pclose(*urand_pipe); in urand_trigger()
32 *urand_pipe = NULL; in urand_trigger()
41 FILE *urand_pipe = NULL; in test_uprobe_attach() local
48 urand_pipe = urand_spawn(&urand_pid); in test_uprobe_attach()
49 if (!ASSERT_OK_PTR(urand_pipe, "urand_spawn")) in test_uprobe_attach()
85 ASSERT_OK(urand_trigger(&urand_pipe), "urand_exit_code"); in test_uprobe_attach()
93 if (urand_pipe) in test_uprobe_attach()
94 pclose(urand_pipe); in test_uprobe_attach()
H A Dusdt.c426 static int urand_trigger(FILE **urand_pipe) in urand_trigger() argument
431 exit_code = pclose(*urand_pipe); in urand_trigger()
432 *urand_pipe = NULL; in urand_trigger()
442 FILE *urand_pipe = NULL; in subtest_urandom_usdt() local
449 urand_pipe = urand_spawn(&urand_pid); in subtest_urandom_usdt()
450 if (!ASSERT_OK_PTR(urand_pipe, "urand_spawn")) in subtest_urandom_usdt()
492 ASSERT_OK(urand_trigger(&urand_pipe), "urand_exit_code"); in subtest_urandom_usdt()
507 if (urand_pipe) in subtest_urandom_usdt()
508 pclose(urand_pipe); in subtest_urandom_usdt()