Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Duprobe.c25 static int urand_trigger(FILE **urand_pipe) in urand_trigger() argument
30 exit_code = pclose(*urand_pipe); in urand_trigger()
31 *urand_pipe = NULL; in urand_trigger()
40 FILE *urand_pipe = NULL; in test_uprobe() local
47 urand_pipe = urand_spawn(&urand_pid); in test_uprobe()
48 if (!ASSERT_OK_PTR(urand_pipe, "urand_spawn")) in test_uprobe()
84 ASSERT_OK(urand_trigger(&urand_pipe), "urand_exit_code"); in test_uprobe()
92 if (urand_pipe) in test_uprobe()
93 pclose(urand_pipe); in test_uprobe()
H A Dusdt.c333 static int urand_trigger(FILE **urand_pipe) in urand_trigger() argument
338 exit_code = pclose(*urand_pipe); in urand_trigger()
339 *urand_pipe = NULL; in urand_trigger()
349 FILE *urand_pipe = NULL; in subtest_urandom_usdt() local
356 urand_pipe = urand_spawn(&urand_pid); in subtest_urandom_usdt()
357 if (!ASSERT_OK_PTR(urand_pipe, "urand_spawn")) in subtest_urandom_usdt()
399 ASSERT_OK(urand_trigger(&urand_pipe), "urand_exit_code"); in subtest_urandom_usdt()
414 if (urand_pipe) in subtest_urandom_usdt()
415 pclose(urand_pipe); in subtest_urandom_usdt()