Searched refs:bpf_prog_query_opts (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/tools/lib/bpf/ |
D | bpf.h | 374 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);
|
D | bpf.c | 820 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()
|
D | libbpf.map | 359 bpf_prog_query_opts;
|
/linux-6.1.9/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()
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
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()
|