Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/bpf/
Dbpf.h374 struct bpf_prog_query_opts { struct
384 LIBBPF_API int bpf_prog_query_opts(int target_fd, argument
386 struct bpf_prog_query_opts *opts);
Dbpf.c820 int bpf_prog_query_opts(int target_fd, in bpf_prog_query_opts() function
822 struct bpf_prog_query_opts *opts) in bpf_prog_query_opts()
828 if (!OPTS_VALID(opts, bpf_prog_query_opts)) in bpf_prog_query_opts()
851 LIBBPF_OPTS(bpf_prog_query_opts, opts); in bpf_prog_query()
858 ret = bpf_prog_query_opts(target_fd, type, &opts); in bpf_prog_query()
Dlibbpf.map359 bpf_prog_query_opts;
/linux-6.1.9/tools/bpf/bpftool/
Dcgroup.c205 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()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dlsm_cgroup.c21 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()