Home
last modified time | relevance | path

Searched refs:bpf_iter_attach_opts (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter.c50 static void do_dummy_read_opts(struct bpf_program *prog, struct bpf_iter_attach_opts *opts) in do_dummy_read_opts()
83 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in do_read_map_iter_fd()
181 LIBBPF_OPTS(bpf_iter_attach_opts, opts); in check_bpf_link_info()
215 static void test_task_common_nocheck(struct bpf_iter_attach_opts *opts, in test_task_common_nocheck()
245 static void test_task_common(struct bpf_iter_attach_opts *opts, int num_unknown, int num_known) in test_task_common()
256 LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_task_tid()
277 LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_task_pid()
290 LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_task_pidfd()
344 LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_task_file()
770 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_hash_map()
[all …]
H A Dcgroup_iter.c53 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in read_from_cgroup_iter()
97 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_invalid_cgroup()
114 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_invalid_cgroup_spec()
194 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_walk_dead_self_only()
H A Dcgrp_local_storage.c157 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_cgroup_iter_sleepable()
H A Dcgroup_hierarchical_stats.c249 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in setup_cgroup_iter()
H A Dsockmap_basic.c192 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_sockmap_copy()
/openbmc/linux/tools/bpf/bpftool/
H A Diter.c16 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, iter_opts); in do_pin()
/openbmc/linux/Documentation/bpf/
H A Dbpf_iterators.rst300 First, fill the ``bpf_iter_attach_opts`` struct as shown below:
304 LIBBPF_OPTS(bpf_iter_attach_opts, opts);
330 ``bpf_iter_attach_opts`` will include every opened file of every task in the
344 static int do_read_opts(struct bpf_program *prog, struct bpf_iter_attach_opts *opts)
377 LIBBPF_OPTS(bpf_iter_attach_opts, opts);
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.h808 struct bpf_iter_attach_opts { struct
817 const struct bpf_iter_attach_opts *opts); argument
H A Dlibbpf.c12040 const struct bpf_iter_attach_opts *opts) in bpf_program__attach_iter()
12048 if (!OPTS_VALID(opts, bpf_iter_attach_opts)) in bpf_program__attach_iter()