Home
last modified time | relevance | path

Searched refs:func_info_rec_size (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/tools/lib/bpf/
H A Dbpf.c239 __u32 func_info_rec_size, line_info_rec_size; in bpf_prog_load() local
294 func_info_rec_size = OPTS_GET(opts, func_info_rec_size, 0); in bpf_prog_load()
296 attr.func_info_rec_size = func_info_rec_size; in bpf_prog_load()
325 attr.func_info_rec_size < func_info_rec_size) { in bpf_prog_load()
329 func_info_rec_size, in bpf_prog_load()
330 attr.func_info_rec_size); in bpf_prog_load()
337 attr.func_info_rec_size = func_info_rec_size; in bpf_prog_load()
H A Dbpf.h88 __u32 func_info_rec_size; member
H A Dgen_loader.c959 attr.func_info_rec_size = load_attr->func_info_rec_size; in bpf_gen__prog_load()
962 attr.func_info_cnt * attr.func_info_rec_size); in bpf_gen__prog_load()
H A Dlibbpf.c450 __u32 func_info_rec_size; member
6146 &main_prog->func_info_rec_size); in reloc_prog_func_and_line_info()
6931 load_attr.func_info_rec_size = prog->func_info_rec_size; in bpf_object_load_prog()
/openbmc/linux/tools/bpf/bpftool/
H A Dprog.c111 holder.func_info_rec_size = info->func_info_rec_size; in prep_prog_info()
112 needed += info->nr_func_info * info->func_info_rec_size; in prep_prog_info()
147 ptr += holder.nr_func_info * holder.func_info_rec_size; in prep_prog_info()
800 record = func_info + i * info->func_info_rec_size; in prog_dump()
856 dd.finfo_rec_size = info->func_info_rec_size; in prog_dump()
2209 __u32 func_info_rec_size; in profile_target_name() local
2225 func_info_rec_size = info.func_info_rec_size; in profile_target_name()
2233 info.func_info_rec_size = func_info_rec_size; in profile_target_name()
H A Dcommon.c426 info.func_info_rec_size = prog_info->func_info_rec_size; in get_prog_full_name()
427 if (info.func_info_rec_size > sizeof(finfo)) in get_prog_full_name()
428 info.func_info_rec_size = sizeof(finfo); in get_prog_full_name()
H A Dbtf_dumper.c67 finfo_rec_size = info.func_info_rec_size; in dump_prog_id_as_func_ptr()
70 info.func_info_rec_size = finfo_rec_size; in dump_prog_id_as_func_ptr()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c4834 rec_size = info.func_info_rec_size; in do_test_file()
4850 info.func_info_rec_size = rec_size; in do_test_file()
4866 if (CHECK(info.func_info_rec_size != rec_size, in do_test_file()
4868 info.func_info_rec_size)) { in do_test_file()
5609 __u32 func_info_rec_size; member
5646 .func_info_rec_size = 8,
5677 .func_info_rec_size = 4,
5709 .func_info_rec_size = 8,
5741 .func_info_rec_size = 8,
5936 .func_info_rec_size = 8,
[all …]
/openbmc/linux/tools/perf/util/
H A Dbpf-event.c138 finfo = func_infos + sub_id * info->func_info_rec_size; in synthesize_bpf_prog_name()
224 if (info->btf_id && info->nr_func_info && info->func_info_rec_size) { in perf_event__synthesize_one_bpf_prog()
H A Dbpf-utils.c52 offsetof(struct bpf_prog_info, func_info_rec_size),
/openbmc/linux/Documentation/bpf/
H A Dbtf.rst639 __u32 func_info_rec_size; /* userspace bpf_func_info size */
659 func_info_rec_size is the size of each func_info record, and
761 func_info_rec_size /* __u32 value */
766 ``func_info_rec_size`` specifies the size of ``bpf_func_info`` structure when
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1450 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member
6441 __u32 func_info_rec_size; member
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1450 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member
6444 __u32 func_info_rec_size; member
/openbmc/linux/kernel/bpf/
H A Dsyscall.c4366 if ((info->nr_func_info || info->func_info_rec_size) && in set_info_rec_size()
4367 info->func_info_rec_size != sizeof(struct bpf_func_info)) in set_info_rec_size()
4378 info->func_info_rec_size = sizeof(struct bpf_func_info); in set_info_rec_size()
4605 info.func_info_rec_size * ulen)) in bpf_prog_get_info_by_fd()
H A Dverifier.c15472 urec_size = attr->func_info_rec_size; in check_btf_func()
15502 offsetof(union bpf_attr, func_info_rec_size), in check_btf_func()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c1641 opts.func_info_rec_size = sizeof(test->func_info[0]); in do_test_single()