Searched refs:fexit_fd (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | fexit_stress.c | 8 int *fd, *fexit_fd, *link_fd; in serial_test_fexit_stress() local 16 fexit_fd = fd; in serial_test_fexit_stress() 37 fexit_fd[i] = bpf_prog_load(BPF_PROG_TYPE_TRACING, NULL, "GPL", in serial_test_fexit_stress() 41 if (!ASSERT_GE(fexit_fd[i], 0, "fexit load")) in serial_test_fexit_stress() 43 link_fd[i] = bpf_link_create(fexit_fd[i], 0, BPF_TRACE_FEXIT, NULL); in serial_test_fexit_stress() 48 err = bpf_prog_test_run_opts(fexit_fd[0], &topts); in serial_test_fexit_stress() 55 if (fexit_fd[i]) in serial_test_fexit_stress() 56 close(fexit_fd[i]); in serial_test_fexit_stress()
|
H A D | bpf_cookie.c | 496 int fentry_fd = -1, fexit_fd = -1, fmod_ret_fd = -1; in tracing_subtest() local 513 fexit_fd = bpf_link_create(prog_fd, 0, BPF_TRACE_FEXIT, &link_opts); in tracing_subtest() 514 if (!ASSERT_GE(fexit_fd, 0, "fexit.link_create")) in tracing_subtest() 537 if (fexit_fd >= 0) in tracing_subtest() 538 close(fexit_fd); in tracing_subtest()
|