Home
last modified time | relevance | path

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

/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/
Dbpf_iter.c48 static void do_dummy_read_opts(struct bpf_program *prog, struct bpf_iter_attach_opts *opts) in do_dummy_read_opts()
81 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in do_read_map_iter_fd()
179 LIBBPF_OPTS(bpf_iter_attach_opts, opts); in check_bpf_link_info()
213 static void test_task_common_nocheck(struct bpf_iter_attach_opts *opts, in test_task_common_nocheck()
243 static void test_task_common(struct bpf_iter_attach_opts *opts, int num_unknown, int num_known) in test_task_common()
254 LIBBPF_OPTS(bpf_iter_attach_opts, opts); in run_test_task_tid()
292 LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_task_pid()
305 LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_task_pidfd()
359 LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_task_file()
777 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_hash_map()
[all …]
Dcgroup_iter.c54 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in read_from_cgroup_iter()
98 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_invalid_cgroup()
115 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_invalid_cgroup_spec()
195 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.c176 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_cgroup_iter_sleepable()
Dsockmap_basic.c285 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_sockmap_copy()
/linux-6.14.4/tools/bpf/bpftool/
Diter.c16 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, iter_opts); in do_pin()
/linux-6.14.4/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-6.14.4/tools/lib/bpf/
Dlibbpf.h872 struct bpf_iter_attach_opts { struct
881 const struct bpf_iter_attach_opts *opts); argument
Dlibbpf.c12879 const struct bpf_iter_attach_opts *opts) in bpf_program__attach_iter()
12886 if (!OPTS_VALID(opts, bpf_iter_attach_opts)) in bpf_program__attach_iter()