Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
342 LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_task_file()
768 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_hash_map()
[all …]
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()
Dcgroup_hierarchical_stats.c249 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in setup_cgroup_iter()
Dcgrp_local_storage.c157 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_cgroup_iter_sleepable()
Dsockmap_basic.c192 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_sockmap_copy()
/Linux-v6.6/tools/bpf/bpftool/
Diter.c16 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, iter_opts); in do_pin()
/Linux-v6.6/Documentation/bpf/
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);
/Linux-v6.6/tools/lib/bpf/
Dlibbpf.h808 struct bpf_iter_attach_opts { struct
817 const struct bpf_iter_attach_opts *opts); argument
Dlibbpf.c12030 const struct bpf_iter_attach_opts *opts) in bpf_program__attach_iter()
12038 if (!OPTS_VALID(opts, bpf_iter_attach_opts)) in bpf_program__attach_iter()