Searched refs:bpf_prog_attach_opts (Results 1 - 6 of 6) sorted by path
/linux-master/tools/lib/bpf/ |
H A D | bpf.c | 632 DECLARE_LIBBPF_OPTS(bpf_prog_attach_opts, opts, 636 return bpf_prog_attach_opts(prog_fd, target_fd, type, &opts); 639 int bpf_prog_attach_opts(int prog_fd, int target, enum bpf_attach_type type, function 640 const struct bpf_prog_attach_opts *opts) 647 if (!OPTS_VALID(opts, bpf_prog_attach_opts))
|
H A D | bpf.h | 336 struct bpf_prog_attach_opts { struct 361 * @brief **bpf_prog_attach_opts()** attaches the BPF program corresponding to 372 LIBBPF_API int bpf_prog_attach_opts(int prog_fd, int target, 374 const struct bpf_prog_attach_opts *opts);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_attach_multi.c | 81 DECLARE_LIBBPF_OPTS(bpf_prog_attach_opts, attach_opts); 197 if (CHECK(!bpf_prog_attach_opts(allow_prog[6], cg1, 204 if (CHECK(!bpf_prog_attach_opts(allow_prog[6], cg1, 212 if (CHECK(!bpf_prog_attach_opts(allow_prog[6], cg1, 220 if (CHECK(!bpf_prog_attach_opts(allow_prog[6], cg1, 228 if (CHECK(bpf_prog_attach_opts(allow_prog[6], cg1, 235 if (CHECK(bpf_prog_attach_opts(allow_prog[6], cg1,
|
H A D | lsm_cgroup.c | 67 DECLARE_LIBBPF_OPTS(bpf_prog_attach_opts, attach_opts); 136 err = bpf_prog_attach_opts(post_create_prog_fd2, cgroup_fd,
|
H A D | tc_netkit.c | 387 LIBBPF_OPTS(bpf_prog_attach_opts, opta); 418 err = bpf_prog_attach_opts(fd1, ifindex, target, &opta); 450 err = bpf_prog_attach_opts(fd2, ifindex, target, &opta);
|
H A D | tc_opts.c | 15 LIBBPF_OPTS(bpf_prog_attach_opts, opta); 41 err = bpf_prog_attach_opts(fd1, loopback, BPF_TCX_INGRESS, &opta); 68 err = bpf_prog_attach_opts(fd2, loopback, BPF_TCX_EGRESS, &opta); 113 LIBBPF_OPTS(bpf_prog_attach_opts, opta); 141 err = bpf_prog_attach_opts(fd1, loopback, target, &opta); 147 err = bpf_prog_attach_opts(fd2, loopback, target, &opta); 181 err = bpf_prog_attach_opts(fd3, loopback, target, &opta); 204 err = bpf_prog_attach_opts(fd4, loopback, target, &opta); 265 LIBBPF_OPTS(bpf_prog_attach_opts, opta); 293 err = bpf_prog_attach_opts(fd [all...] |
Completed in 494 milliseconds