Searched refs:bpf_prog_attach_opts (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | cgroup_attach_multi.c | 81 DECLARE_LIBBPF_OPTS(bpf_prog_attach_opts, attach_opts); in serial_test_cgroup_attach_multi() 197 if (CHECK(!bpf_prog_attach_opts(allow_prog[6], cg1, in serial_test_cgroup_attach_multi() 204 if (CHECK(!bpf_prog_attach_opts(allow_prog[6], cg1, in serial_test_cgroup_attach_multi() 212 if (CHECK(!bpf_prog_attach_opts(allow_prog[6], cg1, in serial_test_cgroup_attach_multi() 220 if (CHECK(!bpf_prog_attach_opts(allow_prog[6], cg1, in serial_test_cgroup_attach_multi() 228 if (CHECK(bpf_prog_attach_opts(allow_prog[6], cg1, in serial_test_cgroup_attach_multi() 235 if (CHECK(bpf_prog_attach_opts(allow_prog[6], cg1, in serial_test_cgroup_attach_multi()
|
D | lsm_cgroup.c | 66 DECLARE_LIBBPF_OPTS(bpf_prog_attach_opts, attach_opts); in test_lsm_cgroup_functional() 135 err = bpf_prog_attach_opts(post_create_prog_fd2, cgroup_fd, in test_lsm_cgroup_functional()
|
/Linux-v6.1/tools/lib/bpf/ |
D | bpf.h | 287 struct bpf_prog_attach_opts { struct 296 LIBBPF_API int bpf_prog_attach_opts(int prog_fd, int attachable_fd, argument 298 const struct bpf_prog_attach_opts *opts);
|
D | bpf.c | 615 DECLARE_LIBBPF_OPTS(bpf_prog_attach_opts, opts, in bpf_prog_attach() 619 return bpf_prog_attach_opts(prog_fd, target_fd, type, &opts); in bpf_prog_attach() 622 int bpf_prog_attach_opts(int prog_fd, int target_fd, in bpf_prog_attach_opts() function 624 const struct bpf_prog_attach_opts *opts) in bpf_prog_attach_opts() 630 if (!OPTS_VALID(opts, bpf_prog_attach_opts)) in bpf_prog_attach_opts()
|
D | libbpf.map | 155 bpf_prog_attach_opts;
|