Home
last modified time | relevance | path

Searched refs:bpf_prog_query_opts (Results 1 – 10 of 10) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
A Dtc_opts.c17 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_ns_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 Dtc_netkit.c188 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_netkit_basic()
277 err = bpf_prog_query_opts(ifindex, BPF_NETKIT_PEER, &optq); in serial_test_tc_netkit_basic()
303 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_netkit_multi_links_target()
358 err = bpf_prog_query_opts(ifindex, target, &optq); in serial_test_tc_netkit_multi_links_target()
396 err = bpf_prog_query_opts(ifindex, target, &optq); in serial_test_tc_netkit_multi_links_target()
434 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_netkit_multi_opts_target()
475 err = bpf_prog_query_opts(ifindex, target, &optq); in serial_test_tc_netkit_multi_opts_target()
505 err = bpf_prog_query_opts(ifindex, target, &optq); in serial_test_tc_netkit_multi_opts_target()
547 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_netkit_device()
659 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_netkit_neigh_links_target()
[all …]
A Dcgroup_mprog_opts.c22 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_prog_attach_detach()
98 err = bpf_prog_query_opts(cg, atype, &optq); in test_prog_attach_detach()
105 err = bpf_prog_query_opts(cg, atype, &optq); in test_prog_attach_detach()
131 err = bpf_prog_query_opts(cg, atype, &optq); in test_prog_attach_detach()
154 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_link_attach_detach()
230 err = bpf_prog_query_opts(cg, atype, &optq); in test_link_attach_detach()
237 err = bpf_prog_query_opts(cg, atype, &optq); in test_link_attach_detach()
259 err = bpf_prog_query_opts(cg, atype, &optq); in test_link_attach_detach()
A Dtc_links.c18 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_ns_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 Dlsm_cgroup.c17 LIBBPF_OPTS(bpf_prog_query_opts, p); in query_prog_cnt()
21 ASSERT_OK(bpf_prog_query_opts(cgroup_fd, BPF_LSM_CGROUP, &p), "prog_query"); in query_prog_cnt()
37 ASSERT_OK(bpf_prog_query_opts(cgroup_fd, BPF_LSM_CGROUP, &p), "prog_query"); in query_prog_cnt()
/tools/bpf/bpftool/
A Dcgroup.c239 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 Dnet.c466 LIBBPF_OPTS(bpf_prog_query_opts, optq); in __show_dev_tc_bpf()
476 ret = bpf_prog_query_opts(dev->ifindex, loc, &optq); in __show_dev_tc_bpf()
/tools/lib/bpf/
A Dbpf.h594 struct bpf_prog_query_opts { struct
623 LIBBPF_API int bpf_prog_query_opts(int target, enum bpf_attach_type type,
624 struct bpf_prog_query_opts *opts);
A Dlibbpf.map357 bpf_prog_query_opts;
A Dbpf.c976 int bpf_prog_query_opts(int target, enum bpf_attach_type type, in bpf_prog_query_opts() function
977 struct bpf_prog_query_opts *opts) in bpf_prog_query_opts()
983 if (!OPTS_VALID(opts, bpf_prog_query_opts)) in bpf_prog_query_opts()
1008 LIBBPF_OPTS(bpf_prog_query_opts, opts); in bpf_prog_query()
1015 ret = bpf_prog_query_opts(target_fd, type, &opts); in bpf_prog_query()

Completed in 749 milliseconds