Lines Matching defs:info
37 struct bpf_prog_info info = {};
38 __u32 info_len = sizeof(info);
60 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len);
64 if (!info.btf_id || !info.nr_func_info)
67 finfo_rec_size = info.func_info_rec_size;
68 memset(&info, 0, sizeof(info));
69 info.nr_func_info = 1;
70 info.func_info_rec_size = finfo_rec_size;
71 info.func_info = ptr_to_u64(&finfo);
73 err = bpf_prog_get_info_by_fd(prog_fd, &info, &info_len);
77 prog_btf = btf__load_from_kernel_by_id(info.btf_id);
479 kind_flag = BTF_INFO_KFLAG(t->info);
480 vlen = BTF_INFO_VLEN(t->info);
538 vlen = BTF_INFO_VLEN(t->info);
560 switch (BTF_INFO_KIND(t->info)) {
634 switch (BTF_INFO_KIND(t->info)) {
664 BTF_INFO_KFLAG(t->info) ? "union" : "struct",
721 vlen = BTF_INFO_VLEN(func_proto->info);
786 * expected to provide more info than the already
888 * expected to provide more info than the already