Searched refs:func_info_rec_size (Results 1 – 16 of 16) sorted by relevance
/linux-6.1.9/tools/lib/bpf/ |
D | bpf.c | 239 __u32 func_info_rec_size, line_info_rec_size; in bpf_prog_load() local 298 func_info_rec_size = OPTS_GET(opts, func_info_rec_size, 0); in bpf_prog_load() 300 attr.func_info_rec_size = func_info_rec_size; in bpf_prog_load() 328 attr.func_info_rec_size < func_info_rec_size) { in bpf_prog_load() 332 func_info_rec_size, in bpf_prog_load() 333 attr.func_info_rec_size); in bpf_prog_load() 340 attr.func_info_rec_size = func_info_rec_size; in bpf_prog_load()
|
D | bpf.h | 88 __u32 func_info_rec_size; member
|
D | gen_loader.c | 957 attr.func_info_rec_size = load_attr->func_info_rec_size; in bpf_gen__prog_load() 960 attr.func_info_cnt * attr.func_info_rec_size); in bpf_gen__prog_load()
|
D | libbpf.c | 432 __u32 func_info_rec_size; member 5989 &main_prog->func_info_rec_size); in reloc_prog_func_and_line_info() 6759 load_attr.func_info_rec_size = prog->func_info_rec_size; in bpf_object_load_prog()
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | prog.c | 109 holder.func_info_rec_size = info->func_info_rec_size; in prep_prog_info() 110 needed += info->nr_func_info * info->func_info_rec_size; in prep_prog_info() 145 ptr += holder.nr_func_info * holder.func_info_rec_size; in prep_prog_info() 802 record = func_info + i * info->func_info_rec_size; in prog_dump() 853 dd.finfo_rec_size = info->func_info_rec_size; in prog_dump() 2101 __u32 func_info_rec_size; in profile_target_name() local 2117 func_info_rec_size = info.func_info_rec_size; in profile_target_name() 2125 info.func_info_rec_size = func_info_rec_size; in profile_target_name()
|
D | common.c | 349 info.func_info_rec_size = prog_info->func_info_rec_size; in get_prog_full_name() 350 if (info.func_info_rec_size > sizeof(finfo)) in get_prog_full_name() 351 info.func_info_rec_size = sizeof(finfo); in get_prog_full_name()
|
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-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 4757 rec_size = info.func_info_rec_size; in do_test_file() 4773 info.func_info_rec_size = rec_size; in do_test_file() 4789 if (CHECK(info.func_info_rec_size != rec_size, in do_test_file() 4791 info.func_info_rec_size)) { in do_test_file() 5531 __u32 func_info_rec_size; member 5568 .func_info_rec_size = 8, 5599 .func_info_rec_size = 4, 5631 .func_info_rec_size = 8, 5663 .func_info_rec_size = 8, 5858 .func_info_rec_size = 8, [all …]
|
/linux-6.1.9/tools/perf/util/ |
D | bpf-utils.c | 52 offsetof(struct bpf_prog_info, func_info_rec_size),
|
D | bpf-event.c | 202 finfo = func_infos + sub_id * info->func_info_rec_size; in synthesize_bpf_prog_name() 288 if (info->btf_id && info->nr_func_info && info->func_info_rec_size) { in perf_event__synthesize_one_bpf_prog()
|
/linux-6.1.9/Documentation/bpf/ |
D | btf.rst | 639 __u32 func_info_rec_size; /* userspace bpf_func_info size */ 659 func_info_rec_size is the size of each func_info record, and 756 func_info_rec_size 761 ``func_info_rec_size`` specifies the size of ``bpf_func_info`` structure when
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | bpf.h | 1376 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member 6188 __u32 func_info_rec_size; member
|
/linux-6.1.9/include/uapi/linux/ |
D | bpf.h | 1376 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member 6188 __u32 func_info_rec_size; member
|
/linux-6.1.9/kernel/bpf/ |
D | syscall.c | 3872 if ((info->nr_func_info || info->func_info_rec_size) && in set_info_rec_size() 3873 info->func_info_rec_size != sizeof(struct bpf_func_info)) in set_info_rec_size() 3884 info->func_info_rec_size = sizeof(struct bpf_func_info); in set_info_rec_size() 4111 info.func_info_rec_size * ulen)) in bpf_prog_get_info_by_fd()
|
D | verifier.c | 11027 urec_size = attr->func_info_rec_size; in check_btf_func() 11057 offsetof(union bpf_attr, func_info_rec_size), in check_btf_func()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | test_verifier.c | 1527 opts.func_info_rec_size = sizeof(test->func_info[0]); in do_test_single()
|