/linux-master/include/uapi/linux/ |
H A D | bpf.h | 1542 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member in struct:bpf_attr::__anon2593 6559 __u32 func_info_rec_size; member in struct:bpf_prog_info
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 4519 if ((info->nr_func_info || info->func_info_rec_size) && 4520 info->func_info_rec_size != sizeof(struct bpf_func_info)) 4531 info->func_info_rec_size = sizeof(struct bpf_func_info); 4758 info.func_info_rec_size * ulen))
|
H A D | verifier.c | 15921 urec_size = attr->func_info_rec_size; 15948 offsetof(union bpf_attr, func_info_rec_size), 16027 urec_size = attr->func_info_rec_size;
|
/linux-master/tools/bpf/bpftool/ |
H A D | btf_dumper.c | 67 finfo_rec_size = info.func_info_rec_size; 70 info.func_info_rec_size = finfo_rec_size;
|
H A D | common.c | 354 info.func_info_rec_size = prog_info->func_info_rec_size; 355 if (info.func_info_rec_size > sizeof(finfo)) 356 info.func_info_rec_size = sizeof(finfo);
|
H A D | prog.c | 111 holder.func_info_rec_size = info->func_info_rec_size; 112 needed += info->nr_func_info * info->func_info_rec_size; 147 ptr += holder.nr_func_info * holder.func_info_rec_size; 804 record = func_info + i * info->func_info_rec_size; 853 dd.finfo_rec_size = info->func_info_rec_size; 2199 __u32 func_info_rec_size; local 2215 func_info_rec_size = info.func_info_rec_size; 2223 info.func_info_rec_size [all...] |
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 1542 __u32 func_info_rec_size; /* userspace bpf_func_info size */ member in struct:bpf_attr::__anon3134 6559 __u32 func_info_rec_size; member in struct:bpf_prog_info
|
/linux-master/tools/lib/bpf/ |
H A D | bpf.c | 245 __u32 func_info_rec_size, line_info_rec_size; local 301 func_info_rec_size = OPTS_GET(opts, func_info_rec_size, 0); 303 attr.func_info_rec_size = func_info_rec_size; 332 attr.func_info_rec_size < func_info_rec_size) { 336 func_info_rec_size, 337 attr.func_info_rec_size); 344 attr.func_info_rec_size [all...] |
H A D | bpf.h | 92 __u32 func_info_rec_size; member in struct:bpf_prog_load_opts
|
H A D | features.c | 475 opts.func_info_rec_size = sizeof(func_infos[0]);
|
H A D | gen_loader.c | 959 attr.func_info_rec_size = load_attr->func_info_rec_size; 962 attr.func_info_cnt * attr.func_info_rec_size);
|
H A D | libbpf.c | 464 __u32 func_info_rec_size; member in struct:bpf_program 6131 &main_prog->func_info_rec_size); 6816 func_rec = prog->func_info + prog->func_info_rec_size * i; 6847 func_rec = prog->func_info + prog->func_info_rec_size * rec_idx; 7354 load_attr.func_info_rec_size = prog->func_info_rec_size;
|
/linux-master/tools/perf/util/ |
H A D | bpf-event.c | 139 finfo = func_infos + sub_id * info->func_info_rec_size; 225 if (info->btf_id && info->nr_func_info && info->func_info_rec_size) {
|
H A D | bpf-utils.c | 52 offsetof(struct bpf_prog_info, func_info_rec_size),
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 4863 rec_size = info.func_info_rec_size; 4865 "incorrect info.func_info_rec_size (1st) %d\n", rec_size)) { 4879 info.func_info_rec_size = rec_size; 4895 if (CHECK(info.func_info_rec_size != rec_size, 4896 "incorrect info.func_info_rec_size (2nd) %d", 4897 info.func_info_rec_size)) { 5638 __u32 func_info_rec_size; member in struct:prog_info_raw_test 5675 .func_info_rec_size = 8, 5681 .descr = "func_type (Incorrect func_info_rec_size)", 5706 .func_info_rec_size [all...] |
H A D | test_global_funcs.c | 77 info.func_info_rec_size = sizeof(struct bpf_func_info_min); 92 for (i = 0; i < info.nr_func_info; i++, rec = (void *)rec + info.func_info_rec_size) {
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_verifier.c | 1607 opts.func_info_rec_size = sizeof(test->func_info[0]);
|