| /linux/tools/testing/selftests/bpf/verifier/ |
| H A D | bpf_loop_inline.c | 63 .func_info = { { 0, MAIN_TYPE }, { 12, CALLBACK_TYPE } }, 97 .func_info = { { 0, MAIN_TYPE }, { 16, CALLBACK_TYPE } }, 135 .func_info = { 174 .func_info = { 244 .func_info = { 261 .func_info = { { 0, MAIN_TYPE }, { 16, CALLBACK_TYPE } },
|
| H A D | pseudo_func.c | 34 .func_info = { { 0, 4 /* main_prog */ } },
|
| /linux/scripts/ |
| H A D | sorttable.c | 250 struct func_info { struct 256 static struct func_info *function_list; argument 265 struct func_info *fi; in add_field() 270 fi = realloc(function_list, fsize * sizeof(struct func_info)); in add_field() 288 const struct func_info *a = A; in cmp_func_addr() 299 sizeof(struct func_info), cmp_func_addr) != NULL; in find_func() 304 const struct func_info *a = A; in cmp_funcs() 305 const struct func_info *b = B; in cmp_funcs() 353 qsort(function_list, function_list_size, sizeof(struct func_info), cmp_funcs);
|
| /linux/kernel/bpf/preload/iterators/ |
| H A D | iterators.bpf.c | 45 struct bpf_func_info *func_info; member 114 get_name(aux->btf, aux->func_info[0].type_id, aux->name), in dump_bpf_prog()
|
| /linux/kernel/bpf/ |
| H A D | check_btf.c | 63 urecord = make_bpfptr(attr->func_info, uattr.is_kernel); in prepare_btf_func() 124 prog->aux->func_info = krecord; in prepare_btf_func() 163 urecord = make_bpfptr(attr->func_info, uattr.is_kernel); in check_btf_func() 165 krecord = prog->aux->func_info; in check_btf_func()
|
| H A D | fixups.c | 465 /* remove func_info and its aux */ in bpf_adj_linfo_after_remove() 466 if (aux->func_info) { in bpf_adj_linfo_after_remove() 469 memmove(aux->func_info + i, in bpf_adj_linfo_after_remove() 470 aux->func_info + j, in bpf_adj_linfo_after_remove() 471 sizeof(*aux->func_info) * move); in bpf_adj_linfo_after_remove() 477 /* func_info->insn_off is set after all code rewrites, in bpf_adj_linfo_after_remove() 1419 func[i]->aux->func_info = prog->aux->func_info; in bpf_jit_subprogs()
|
| /linux/tools/perf/util/ |
| H A D | bpf_counter.c | 123 struct bpf_func_info *func_info; in bpf_target_prog_name() local 146 func_info = u64_to_ptr(info_linear->info.func_info); in bpf_target_prog_name() 147 t = btf__type_by_id(btf, func_info[0].type_id); in bpf_target_prog_name() 150 info_linear->info.btf_id, func_info[0].type_id); in bpf_target_prog_name()
|
| H A D | bpf-utils.c | 50 offsetof(struct bpf_prog_info, func_info),
|
| /linux/tools/bpf/bpftool/ |
| H A D | xlated_dumper.c | 224 record = dd->func_info; in dump_xlated_json() 308 record = dd->func_info; in dump_xlated_plain() 367 struct bpf_func_info *record = dd->func_info; in dump_xlated_for_graph()
|
| H A D | xlated_dumper.h | 25 void *func_info; member
|
| /linux/tools/lib/bpf/ |
| H A D | gen_loader.c | 998 static void info_blob_bswap(struct bpf_gen *gen, int func_info, int line_info, in info_blob_bswap() 1001 struct bpf_func_info *fi = gen->data_start + func_info; in info_blob_bswap() 1027 int prog_load_attr, license_off, insns_off, func_info, line_info, core_relos; in bpf_gen__prog_load() 1058 func_info = add_data(gen, load_attr->func_info, func_info_tot_sz); in bpf_gen__prog_load() 1059 pr_debug("gen: prog_load: func_info: off %d cnt %u rec size %u\n", in bpf_gen__prog_load() 1060 func_info, load_attr->func_info_cnt, in bpf_gen__prog_load() 1079 info_blob_bswap(gen, func_info, line_info, core_relos, load_attr); in bpf_gen__prog_load() 1092 /* populate union bpf_attr with a pointer to func_info */ in bpf_gen__prog_load() 1093 emit_rel_store(gen, attr_field(prog_load_attr, func_info), func_inf in bpf_gen__prog_load() 985 info_blob_bswap(struct bpf_gen * gen,int func_info,int line_info,int core_relos,struct bpf_prog_load_opts * load_attr) info_blob_bswap() argument 1014 int prog_load_attr, license_off, insns_off, func_info, line_info, core_relos; bpf_gen__prog_load() local [all...] |
| H A D | linker.c | 133 struct btf_ext_sec_data func_info; member 217 free(sec->func_info.recs); in bpf_linker__free() 2668 rec_sz = obj->btf_ext->func_info.rec_size; in linker_append_btf_ext() 2669 for_each_btf_ext_sec(&obj->btf_ext->func_info, ext_sec) { in linker_append_btf_ext() 2680 if (dst_sec->func_info.rec_sz == 0) in linker_append_btf_ext() 2681 dst_sec->func_info.rec_sz = rec_sz; in linker_append_btf_ext() 2682 if (dst_sec->func_info.rec_sz != rec_sz) { in linker_append_btf_ext() 2687 for_each_btf_ext_rec(&obj->btf_ext->func_info, ext_sec, i, src_rec) { in linker_append_btf_ext() 2688 dst_rec = add_btf_ext_rec(&dst_sec->func_info, src_rec); in linker_append_btf_ext() 3010 if (sec->func_info in finalize_btf_ext() [all...] |
| H A D | features.c | 574 opts.func_info = &func_infos;
|
| H A D | libbpf_internal.h | 453 * info points to the individual info section (e.g. func_info and 482 * func_info subsection 484 * The func_info subsection layout: 485 * record size for struct bpf_func_info in the func_info subsection 498 * kernel will handle the func_info properly based on its contents. 524 struct btf_ext_info func_info; 519 struct btf_ext_info func_info; global() member
|
| H A D | libbpf.c | 512 void *func_info; 842 zfree(&prog->func_info); in insn_is_pseudo_func() 3435 ext_segs[0] = &obj->btf_ext->func_info; in compare_vsi_off() 6924 /* only attempt func info relocation if main program's func_info in bpf_object__reloc_code() 6927 if (main_prog != prog && !main_prog->func_info) in bpf_object__reloc_code() 6930 err = adjust_prog_btf_ext_info(obj, prog, &obj->btf_ext->func_info, in bpf_object__reloc_code() 6931 &main_prog->func_info, in bpf_object__reloc_code() 6940 if (main_prog->func_info) { 7689 if (!obj->btf_ext || !prog->func_info) in bpf_object__collect_map_relos() 7713 func_rec = prog->func_info in bpf_object__collect_map_relos() 510 void *func_info; global() member [all...] |
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf.c | 4979 void *func_info = NULL; in do_test_file() 5058 func_info = malloc(info.nr_func_info * rec_size); in do_test_file() 5059 if (CHECK(!func_info, "out of memory")) { in do_test_file() 5064 /* reset info to only retrieve func_info related data */ in do_test_file() 5068 info.func_info = ptr_to_u64(func_info); in do_test_file() 5096 finfo = func_info; 5130 free(func_info); 5825 __u32 func_info[MAX_SUBPROGS][2]; 5862 .func_info 4917 void *func_info = NULL; do_test_file() local 5763 __u32 func_info[MAX_SUBPROGS][2]; global() member 6621 void *func_info = NULL; test_get_finfo() local [all...] |
| H A D | core_reloc_raw.c | 38 .func_info = (__u64)funcs, in load_core_relo_insns() 288 attr.func_info = (__u64)funcs; in test_bad_local_id()
|
| H A D | test_global_funcs.c | 76 info.func_info = ptr_to_u64(&func_info_buf); in subtest_ctx_arg_rewrite()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_verifier.c | 161 struct bpf_func_info func_info[MAX_FUNC_INFOS]; member 456 self->func_info[1].insn_off = callback_idx; in bpf_fill_big_prog_with_loop_1() 1596 opts.func_info = test->func_info; in do_test_single() 1598 opts.func_info_rec_size = sizeof(test->func_info[0]); in do_test_single()
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_mcp.c | 1316 p_info = &p_hwfn->mcp_info->func_info; in qed_read_pf_bandwidth() 1424 max_bw = p_hwfn->mcp_info->func_info.bandwidth_max; in qed_mcp_handle_link_change() 1425 min_bw = p_hwfn->mcp_info->func_info.bandwidth_min; in qed_mcp_handle_link_change() 1765 p_info = &p_hwfn->mcp_info->func_info; in qed_mcp_update_bw() 1782 p_hwfn->mcp_info->func_info.ovlan = (u16)shmem_info.ovlan_stag & in qed_mcp_update_stag() 1784 p_hwfn->hw_info.ovlan = p_hwfn->mcp_info->func_info.ovlan; in qed_mcp_update_stag() 1806 p_hwfn->mcp_info->func_info.ovlan, p_hwfn->hw_info.hw_mode); in qed_mcp_update_stag() 2524 info = &p_hwfn->mcp_info->func_info; in qed_mcp_fill_shmem_func_info()
|
| H A D | qed_dev.c | 2655 if (p_hwfn->mcp_info->func_info.bandwidth_max) in qed_hw_init_common() 2657 if (p_hwfn->mcp_info->func_info.bandwidth_min) in qed_hw_init_common() 2881 p_info = &p_hwfn->mcp_info->func_info; in qed_hw_init_pf() 4536 p_hwfn->mcp_info->func_info.mac); in qed_get_hw_info() 4541 if (p_hwfn->mcp_info->func_info.ovlan != QED_MCP_VLAN_UNSET) in qed_get_hw_info() 4543 p_hwfn->mcp_info->func_info.ovlan; in qed_get_hw_info() 4555 protocol = p_hwfn->mcp_info->func_info.protocol; in qed_get_hw_info() 4568 p_hwfn->hw_info.mtu = p_hwfn->mcp_info->func_info.mtu; in qed_get_hw_info() 5260 p_hwfn->mcp_info->func_info.bandwidth_max = max_bw; in __qed_configure_pf_max_bandwidth() 5326 p_hwfn->mcp_info->func_info.bandwidth_min = min_bw; in __qed_configure_pf_min_bandwidth()
|
| H A D | qed_fcoe.c | 737 info->wwpn = hwfn->mcp_info->func_info.wwn_port; in qed_fill_fcoe_dev_info() 738 info->wwnn = hwfn->mcp_info->func_info.wwn_node; in qed_fill_fcoe_dev_info()
|
| H A D | qed_mcp.h | 780 struct qed_mcp_function_info func_info; member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1674 __aligned_u64 func_info; /* func info */ 6850 __aligned_u64 func_info; 1627 __aligned_u64 func_info; /* func info */ global() member 6788 __aligned_u64 func_info; global() member
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1674 __aligned_u64 func_info; /* func info */ 6850 __aligned_u64 func_info; 1627 __aligned_u64 func_info; /* func info */ global() member 6788 __aligned_u64 func_info; global() member
|