Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dbpf.c260 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()
H A Dbpf.h90 __u32 func_info_rec_size; member
H A Dlibbpf.c282 __u32 func_info_rec_size; member
6143 &main_prog->func_info_rec_size); in reloc_prog_func_and_line_info()
6734 load_attr.func_info_rec_size = prog->func_info_rec_size; in load_program()
10447 offsetof(struct bpf_prog_info, func_info_rec_size),
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c4161 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 …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dbpf-event.c137 finfo = func_infos + sub_id * info->func_info_rec_size; in synthesize_bpf_prog_name()
216 if (info->btf_id && info->nr_func_info && info->func_info_rec_size) { in perf_event__synthesize_one_bpf_prog()
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A Dbtf.rst543 __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
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h552 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member
4386 __u32 func_info_rec_size; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbpf.h552 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member
4386 __u32 func_info_rec_size; member
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dprog.c715 record = func_info + i * info->func_info_rec_size; in prog_dump()
766 dd.finfo_rec_size = info->func_info_rec_size; in prog_dump()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dsyscall.c3394 if ((info->nr_func_info || info->func_info_rec_size) && in set_info_rec_size()
3395 info->func_info_rec_size != sizeof(struct bpf_func_info)) in set_info_rec_size()
3406 info->func_info_rec_size = sizeof(struct bpf_func_info); in set_info_rec_size()
3626 info.func_info_rec_size * ulen)) in bpf_prog_get_info_by_fd()
H A Dverifier.c8707 urec_size = attr->func_info_rec_size; in check_btf_func()
8736 if (put_user(min_size, &uattr->func_info_rec_size)) in check_btf_func()