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

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Duprobe.c25 static int urand_trigger(FILE **urand_pipe) argument
30 exit_code = pclose(*urand_pipe);
31 *urand_pipe = NULL;
40 FILE *urand_pipe = NULL; local
47 urand_pipe = urand_spawn(&urand_pid);
48 if (!ASSERT_OK_PTR(urand_pipe, "urand_spawn"))
84 ASSERT_OK(urand_trigger(&urand_pipe), "urand_exit_code");
92 if (urand_pipe)
93 pclose(urand_pipe);
H A Dusdt.c324 static int urand_trigger(FILE **urand_pipe) argument
329 exit_code = pclose(*urand_pipe);
330 *urand_pipe = NULL;
340 FILE *urand_pipe = NULL; local
347 urand_pipe = urand_spawn(&urand_pid);
348 if (!ASSERT_OK_PTR(urand_pipe, "urand_spawn"))
390 ASSERT_OK(urand_trigger(&urand_pipe), "urand_exit_code");
405 if (urand_pipe)
406 pclose(urand_pipe);

Completed in 156 milliseconds