Searched refs:func_info_rec_size (Results 1 – 15 of 15) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_global_funcs.c | 78 info.func_info_rec_size = sizeof(struct bpf_func_info_min); in subtest_ctx_arg_rewrite() 93 for (i = 0; i < info.nr_func_info; i++, rec = (void *)rec + info.func_info_rec_size) { in subtest_ctx_arg_rewrite()
|
| H A D | core_reloc_raw.c | 99 attr.func_info_rec_size = sizeof(*funcs); in test_bad_local_id()
|
| H A D | btf.c | 4989 rec_size = info.func_info_rec_size; in do_test_file() 5005 info.func_info_rec_size = rec_size; in do_test_file() 5021 if (CHECK(info.func_info_rec_size != rec_size, in do_test_file() 5023 info.func_info_rec_size)) { in do_test_file() 5764 __u32 func_info_rec_size; member 5801 .func_info_rec_size = 8, 5832 .func_info_rec_size = 4, 5864 .func_info_rec_size = 8, 5896 .func_info_rec_size = 8, 6091 .func_info_rec_size = 8, [all …]
|
| /linux/kernel/bpf/ |
| H A D | check_btf.c | 52 urec_size = attr->func_info_rec_size; in prepare_btf_func() 79 offsetof(union bpf_attr, func_info_rec_size), in prepare_btf_func() 158 urec_size = attr->func_info_rec_size; in check_btf_func()
|
| H A D | syscall.c | 5080 if ((info->nr_func_info || info->func_info_rec_size) && in set_info_rec_size() 5081 info->func_info_rec_size != sizeof(struct bpf_func_info)) in set_info_rec_size() 5092 info->func_info_rec_size = sizeof(struct bpf_func_info); in set_info_rec_size() 5320 info.func_info_rec_size * ulen)) in bpf_prog_get_info_by_fd()
|
| /linux/tools/bpf/bpftool/ |
| H A D | common.c | 431 info.func_info_rec_size = prog_info->func_info_rec_size; in get_prog_full_name() 432 if (info.func_info_rec_size > sizeof(finfo)) in get_prog_full_name() 433 info.func_info_rec_size = sizeof(finfo); in get_prog_full_name()
|
| H A D | btf_dumper.c | 67 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()
|
| /linux/tools/perf/util/ |
| H A D | bpf-utils.c | 52 offsetof(struct bpf_prog_info, func_info_rec_size),
|
| H A D | bpf-event.c | 151 info->func_info_rec_size >= sizeof(*finfo) && in synthesize_bpf_prog_name() 153 finfo = func_infos + sub_id * info->func_info_rec_size; in synthesize_bpf_prog_name() 610 if (info->btf_id && info->nr_func_info && info->func_info_rec_size) { in perf_event__synthesize_one_bpf_prog()
|
| /linux/tools/lib/bpf/ |
| H A D | gen_loader.c | 1009 load_attr->func_info_rec_size; in bpf_gen__prog_load() 1043 attr.func_info_rec_size = tgt_endian(load_attr->func_info_rec_size); in bpf_gen__prog_load() 1048 load_attr->func_info_rec_size); in bpf_gen__prog_load()
|
| H A D | features.c | 500 opts.func_info_rec_size = sizeof(func_infos[0]); in probe_kern_arg_ctx_tag()
|
| H A D | libbpf.c | 511 __u32 func_info_rec_size; member 6663 &main_prog->func_info_rec_size); in reloc_prog_func_and_line_info() 7374 func_rec = prog->func_info + prog->func_info_rec_size * i; in bpf_program_fixup_func_info() 7405 func_rec = prog->func_info + prog->func_info_rec_size * rec_idx; in bpf_program_fixup_func_info() 8013 load_attr.func_info_rec_size = prog->func_info_rec_size; in bpf_object_load_prog() 9970 if (prog->func_info_rec_size != sizeof(struct bpf_func_info)) in bpf_program__func_info() 10035 info_rec_size = OPTS_GET(opts, func_info_rec_size, 0); in bpf_program__clone() 10043 attr.func_info_rec_size = info ? info_rec_size : prog->func_info_rec_size; in bpf_program__clone()
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1626 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member 6787 __u32 func_info_rec_size; member
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1626 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member 6787 __u32 func_info_rec_size; member
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_verifier.c | 1598 opts.func_info_rec_size = sizeof(test->func_info[0]); in do_test_single()
|