Searched refs:func_info_rec_size (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.10/tools/lib/bpf/ |
D | bpf.c | 260 attr.func_info_rec_size = load_attr->func_info_rec_size; in bpf_load_program_xattr() 281 attr.func_info_rec_size < load_attr->func_info_rec_size) { in bpf_load_program_xattr() 285 load_attr->func_info_rec_size, in bpf_load_program_xattr() 286 attr.func_info_rec_size); in bpf_load_program_xattr() 291 attr.func_info_rec_size = load_attr->func_info_rec_size; in bpf_load_program_xattr()
|
D | bpf.h | 90 __u32 func_info_rec_size; member
|
D | libbpf.c | 282 __u32 func_info_rec_size; member 6076 &main_prog->func_info_rec_size); in reloc_prog_func_and_line_info() 6667 load_attr.func_info_rec_size = prog->func_info_rec_size; in load_program() 10366 offsetof(struct bpf_prog_info, func_info_rec_size),
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 4161 rec_size = info.func_info_rec_size; in do_test_file() 4177 info.func_info_rec_size = rec_size; in do_test_file() 4193 if (CHECK(info.func_info_rec_size != rec_size, in do_test_file() 4195 info.func_info_rec_size)) { in do_test_file() 4938 __u32 func_info_rec_size; member 4975 .func_info_rec_size = 8, 5006 .func_info_rec_size = 4, 5038 .func_info_rec_size = 8, 5070 .func_info_rec_size = 8, 5265 .func_info_rec_size = 8, [all …]
|
/Linux-v5.10/tools/perf/util/ |
D | bpf-event.c | 133 finfo = func_infos + sub_id * info->func_info_rec_size; in synthesize_bpf_prog_name() 212 if (info->btf_id && info->nr_func_info && info->func_info_rec_size) { in perf_event__synthesize_one_bpf_prog()
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | bpf.h | 552 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member 4385 __u32 func_info_rec_size; member
|
/Linux-v5.10/include/uapi/linux/ |
D | bpf.h | 552 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member 4385 __u32 func_info_rec_size; member
|
/Linux-v5.10/Documentation/bpf/ |
D | btf.rst | 543 __u32 func_info_rec_size; /* userspace bpf_func_info size */ 563 func_info_rec_size is the size of each func_info record, and 660 func_info_rec_size 665 ``func_info_rec_size`` specifies the size of ``bpf_func_info`` structure when
|
/Linux-v5.10/tools/bpf/bpftool/ |
D | prog.c | 713 record = func_info + i * info->func_info_rec_size; in prog_dump() 764 dd.finfo_rec_size = info->func_info_rec_size; in prog_dump()
|
/Linux-v5.10/kernel/bpf/ |
D | syscall.c | 3369 if ((info->nr_func_info || info->func_info_rec_size) && in set_info_rec_size() 3370 info->func_info_rec_size != sizeof(struct bpf_func_info)) in set_info_rec_size() 3381 info->func_info_rec_size = sizeof(struct bpf_func_info); in set_info_rec_size() 3601 info.func_info_rec_size * ulen)) in bpf_prog_get_info_by_fd()
|
D | verifier.c | 8191 urec_size = attr->func_info_rec_size; in check_btf_func() 8220 if (put_user(min_size, &uattr->func_info_rec_size)) in check_btf_func()
|