Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfexit_bpf2bpf.c494 int fentry_fd = -1; in test_fentry_to_cgroup_bpf() local
513 fentry_fd = load_fentry(bpf_program__fd(skel->progs.bind_v4_prog), btf_id); in test_fentry_to_cgroup_bpf()
514 if (!ASSERT_GE(fentry_fd, 0, "load_fentry")) in test_fentry_to_cgroup_bpf()
521 ASSERT_OK(bpf_prog_get_info_by_fd(fentry_fd, &info, &info_len), in test_fentry_to_cgroup_bpf()
531 if (fentry_fd >= 0) in test_fentry_to_cgroup_bpf()
532 close(fentry_fd); in test_fentry_to_cgroup_bpf()
H A Dbpf_cookie.c533 int fentry_fd = -1, fexit_fd = -1, fmod_ret_fd = -1; in tracing_subtest()
543 fentry_fd = bpf_link_create(prog_fd, 0, BPF_TRACE_FENTRY, &link_opts); in tracing_subtest()
544 if (!ASSERT_GE(fentry_fd, 0, "fentry.link_create")) in tracing_subtest()
547 err = verify_tracing_link_info(fentry_fd, cookie); in tracing_subtest()
576 if (fentry_fd >= 0) in lsm_subtest()
577 close(fentry_fd); in lsm_subtest()
514 int fentry_fd = -1, fexit_fd = -1, fmod_ret_fd = -1; tracing_subtest() local