Searched refs:bpf_prog_query_opts (Results 1 – 9 of 9) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | tc_netkit.c | 165 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_netkit_basic() 253 err = bpf_prog_query_opts(ifindex, BPF_NETKIT_PEER, &optq); in serial_test_tc_netkit_basic() 279 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_netkit_multi_links_target() 333 err = bpf_prog_query_opts(ifindex, target, &optq); in serial_test_tc_netkit_multi_links_target() 371 err = bpf_prog_query_opts(ifindex, target, &optq); in serial_test_tc_netkit_multi_links_target() 409 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_netkit_multi_opts_target() 449 err = bpf_prog_query_opts(ifindex, target, &optq); in serial_test_tc_netkit_multi_opts_target() 479 err = bpf_prog_query_opts(ifindex, target, &optq); in serial_test_tc_netkit_multi_opts_target() 521 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_netkit_device() 632 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_netkit_neigh_links_target() [all …]
|
| 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 …]
|
| 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 …]
|
| 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()
|
| /linux/tools/bpf/bpftool/ |
| A D | cgroup.c | 239 LIBBPF_OPTS(bpf_prog_query_opts, p); in show_effective_bpf_progs() 248 ret = bpf_prog_query_opts(cgroup_fd, type, &p); in show_effective_bpf_progs() 264 LIBBPF_OPTS(bpf_prog_query_opts, p); in show_attached_bpf_progs() 277 ret = bpf_prog_query_opts(cgroup_fd, type, &p); in show_attached_bpf_progs()
|
| A D | net.c | 463 LIBBPF_OPTS(bpf_prog_query_opts, optq); in __show_dev_tc_bpf() 473 ret = bpf_prog_query_opts(dev->ifindex, loc, &optq); in __show_dev_tc_bpf()
|
| /linux/tools/lib/bpf/ |
| A D | bpf.h | 585 struct bpf_prog_query_opts { struct 614 LIBBPF_API int bpf_prog_query_opts(int target, enum bpf_attach_type type, 615 struct bpf_prog_query_opts *opts);
|
| A D | bpf.c | 930 int bpf_prog_query_opts(int target, enum bpf_attach_type type, in bpf_prog_query_opts() function 931 struct bpf_prog_query_opts *opts) in bpf_prog_query_opts() 937 if (!OPTS_VALID(opts, bpf_prog_query_opts)) in bpf_prog_query_opts() 962 LIBBPF_OPTS(bpf_prog_query_opts, opts); in bpf_prog_query() 969 ret = bpf_prog_query_opts(target_fd, type, &opts); in bpf_prog_query()
|
| A D | libbpf.map | 357 bpf_prog_query_opts;
|
Completed in 29 milliseconds