Home
last modified time | relevance | path

Searched refs:attach_prog_fd (Results 1 – 6 of 6) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dfexit_bpf2bpf.c72 .attach_prog_fd = tgt_fd, in test_fexit_bpf2bpf_common()
253 opts.attach_prog_fd = pkt_fd; in test_fmod_ret_freplace()
270 opts.attach_prog_fd = bpf_program__fd(prog); in test_fmod_ret_freplace()
319 .attach_prog_fd = pkt_fd, in test_obj_load_failure_common()
/tools/lib/bpf/
Dbpf.h83 __u32 attach_prog_fd; member
Dlibbpf.h91 __u32 attach_prog_fd; member
375 bpf_program__set_attach_target(struct bpf_program *prog, int attach_prog_fd,
Dlibbpf.c280 __u32 attach_prog_fd; member
2513 if (prog->type == BPF_PROG_TYPE_TRACING && !prog->attach_prog_fd) in libbpf_prog_needs_vmlinux_btf()
6726 load_attr.attach_prog_fd = prog->attach_prog_fd; in load_program()
7010 prog->attach_prog_fd = OPTS_GET(opts, attach_prog_fd, 0); in __bpf_object__open()
8734 static int libbpf_find_prog_btf_id(const char *name, __u32 attach_prog_fd) in libbpf_find_prog_btf_id() argument
8741 info_linear = bpf_program__get_prog_info_linear(attach_prog_fd, 0); in libbpf_find_prog_btf_id()
8744 attach_prog_fd); in libbpf_find_prog_btf_id()
8770 __u32 attach_prog_fd = prog->attach_prog_fd; in libbpf_find_attach_btf_id() local
8782 if (attach_prog_fd) in libbpf_find_attach_btf_id()
8784 attach_prog_fd); in libbpf_find_attach_btf_id()
[all …]
Dbpf.c241 attr.attach_prog_fd = load_attr->attach_prog_fd; in bpf_load_program_xattr()
/tools/include/uapi/linux/
Dbpf.h559 __u32 attach_prog_fd; /* 0 to attach to vmlinux */ member