Searched refs:bpf_prog_query_opts (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | tc_opts.c | 17 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_opts_basic() 53 err = bpf_prog_query_opts(loopback, BPF_TCX_INGRESS, &optq); in serial_test_tc_opts_basic() 78 err = bpf_prog_query_opts(loopback, BPF_TCX_EGRESS, &optq); in serial_test_tc_opts_basic() 115 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_before_target() 158 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_opts_before_target() 188 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_opts_before_target() 213 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_opts_before_target() 267 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_after_target() 310 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_opts_after_target() 340 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_opts_after_target() [all …]
|
D | tc_links.c | 16 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_links_basic() 57 err = bpf_prog_query_opts(loopback, BPF_TCX_INGRESS, &optq); in serial_test_tc_links_basic() 90 err = bpf_prog_query_opts(loopback, BPF_TCX_EGRESS, &optq); in serial_test_tc_links_basic() 115 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_links_before_target() 179 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_before_target() 232 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_before_target() 269 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_links_after_target() 333 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_after_target() 386 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_after_target() 423 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_links_revision_target() [all …]
|
D | lsm_cgroup.c | 21 LIBBPF_OPTS(bpf_prog_query_opts, p); in query_prog_cnt() 25 ASSERT_OK(bpf_prog_query_opts(cgroup_fd, BPF_LSM_CGROUP, &p), "prog_query"); in query_prog_cnt() 41 ASSERT_OK(bpf_prog_query_opts(cgroup_fd, BPF_LSM_CGROUP, &p), "prog_query"); in query_prog_cnt()
|
/linux-6.6.21/tools/bpf/bpftool/ |
D | cgroup.c | 205 LIBBPF_OPTS(bpf_prog_query_opts, p); in show_effective_bpf_progs() 214 ret = bpf_prog_query_opts(cgroup_fd, type, &p); in show_effective_bpf_progs() 230 LIBBPF_OPTS(bpf_prog_query_opts, p); in show_attached_bpf_progs() 243 ret = bpf_prog_query_opts(cgroup_fd, type, &p); in show_attached_bpf_progs()
|
D | net.c | 457 LIBBPF_OPTS(bpf_prog_query_opts, optq); in __show_dev_tc_bpf() 467 ret = bpf_prog_query_opts(dev->ifindex, loc, &optq); in __show_dev_tc_bpf()
|
/linux-6.6.21/tools/lib/bpf/ |
D | bpf.h | 553 struct bpf_prog_query_opts { struct 582 LIBBPF_API int bpf_prog_query_opts(int target, enum bpf_attach_type type, 583 struct bpf_prog_query_opts *opts);
|
D | bpf.c | 905 int bpf_prog_query_opts(int target, enum bpf_attach_type type, in bpf_prog_query_opts() function 906 struct bpf_prog_query_opts *opts) in bpf_prog_query_opts() 912 if (!OPTS_VALID(opts, bpf_prog_query_opts)) in bpf_prog_query_opts() 937 LIBBPF_OPTS(bpf_prog_query_opts, opts); in bpf_prog_query() 944 ret = bpf_prog_query_opts(target_fd, type, &opts); in bpf_prog_query()
|
D | libbpf.map | 359 bpf_prog_query_opts;
|