Searched refs:bpf_prog_query_opts (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_opts.c | 17 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_opts_basic() 115 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_before_target() 267 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_after_target() 458 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_revision_target() 670 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_replace_target() 1030 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_prepend_target() 1170 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_append_target() 1310 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_dev_cleanup_target() 1400 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_mixed_target() 1655 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_detach_target() [all …]
|
H A D | tc_links.c | 18 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_links_basic() 117 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_links_before_target() 181 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_before_target() 234 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_links_before_target() 271 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_links_after_target() 425 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_links_revision_target() 631 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_links_replace_target() 857 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_links_invalid_target() 1169 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_links_prepend_target() 1325 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_links_append_target() [all …]
|
H A 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()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A 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()
|
H A 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()
|
/openbmc/linux/tools/lib/bpf/ |
H A 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);
|
H A 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()
|
H A D | libbpf.map | 359 bpf_prog_query_opts;
|