Searched refs:func_info_rec_size (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/tools/lib/bpf/ |
D | bpf.c | 247 attr.func_info_rec_size = load_attr->func_info_rec_size; in bpf_load_program_xattr() 268 attr.func_info_rec_size < load_attr->func_info_rec_size) { in bpf_load_program_xattr() 272 load_attr->func_info_rec_size, in bpf_load_program_xattr() 273 attr.func_info_rec_size); in bpf_load_program_xattr() 278 attr.func_info_rec_size = load_attr->func_info_rec_size; in bpf_load_program_xattr()
|
D | bpf.h | 83 __u32 func_info_rec_size; member
|
D | libbpf.c | 191 __u32 func_info_rec_size; member 2280 prog->func_info_rec_size = btf_ext__func_info_rec_size(obj->btf_ext); in bpf_program_reloc_btf_ext() 3385 load_attr.func_info_rec_size = prog->func_info_rec_size; in load_program() 5691 offsetof(struct bpf_prog_info, func_info_rec_size),
|
/Linux-v5.4/tools/testing/selftests/bpf/ |
D | test_btf.c | 4198 rec_size = info.func_info_rec_size; in do_test_file() 4214 info.func_info_rec_size = rec_size; in do_test_file() 4230 if (CHECK(info.func_info_rec_size != rec_size, in do_test_file() 4232 info.func_info_rec_size)) { in do_test_file() 4993 __u32 func_info_rec_size; member 5030 .func_info_rec_size = 8, 5061 .func_info_rec_size = 4, 5093 .func_info_rec_size = 8, 5125 .func_info_rec_size = 8, 5320 .func_info_rec_size = 8, [all …]
|
/Linux-v5.4/tools/perf/util/ |
D | bpf-event.c | 132 finfo = func_infos + sub_id * info->func_info_rec_size; in synthesize_bpf_prog_name() 211 if (info->btf_id && info->nr_func_info && info->func_info_rec_size) { in perf_event__synthesize_one_bpf_prog()
|
/Linux-v5.4/include/uapi/linux/ |
D | bpf.h | 417 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member 3242 __u32 func_info_rec_size; member
|
/Linux-v5.4/tools/include/uapi/linux/ |
D | bpf.h | 417 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member 3242 __u32 func_info_rec_size; member
|
/Linux-v5.4/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.4/tools/bpf/bpftool/ |
D | prog.c | 583 record = func_info + i * info->func_info_rec_size; in do_dump() 634 dd.finfo_rec_size = info->func_info_rec_size; in do_dump()
|
/Linux-v5.4/kernel/bpf/ |
D | syscall.c | 2304 if ((info->nr_func_info || info->func_info_rec_size) && in set_info_rec_size() 2305 info->func_info_rec_size != sizeof(struct bpf_func_info)) in set_info_rec_size() 2316 info->func_info_rec_size = sizeof(struct bpf_func_info); in set_info_rec_size() 2530 info.func_info_rec_size * ulen)) in bpf_prog_get_info_by_fd()
|
D | verifier.c | 6425 urec_size = attr->func_info_rec_size; in check_btf_func() 6451 if (put_user(min_size, &uattr->func_info_rec_size)) in check_btf_func()
|