Searched refs:bpf_iter_attach_opts (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_iter.c | 50 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 D | cgroup_iter.c | 53 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 D | cgrp_local_storage.c | 157 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_cgroup_iter_sleepable()
|
H A D | cgroup_hierarchical_stats.c | 249 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in setup_cgroup_iter()
|
H A D | sockmap_basic.c | 192 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_sockmap_copy()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | iter.c | 16 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, iter_opts); in do_pin()
|
/openbmc/linux/Documentation/bpf/ |
H A D | bpf_iterators.rst | 300 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 D | libbpf.h | 808 struct bpf_iter_attach_opts { struct 817 const struct bpf_iter_attach_opts *opts); argument
|
H A D | libbpf.c | 12040 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()
|