| /linux/tools/testing/selftests/bpf/verifier/ |
| 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 } },
|
| /linux/kernel/bpf/preload/iterators/ |
| 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/tools/bpf/bpftool/ |
| A D | prog.c | 146 holder.func_info = ptr_to_u64(ptr); in prep_prog_info() 707 void *func_info = NULL; in prog_dump() local 739 func_info = u64_to_ptr(info->func_info); in prog_dump() 803 if (func_info) { in prog_dump() 812 if (func_info && func_sig[0] != '\0') { in prog_dump() 820 if (func_info && func_sig[0] != '\0') in prog_dump() 852 dd.func_info = func_info; in prog_dump() 2202 struct bpf_func_info func_info; in profile_target_name() local 2231 info.func_info = ptr_to_u64(&func_info); in profile_target_name() 2245 t = btf__type_by_id(btf, func_info.type_id); in profile_target_name() [all …]
|
| A D | xlated_dumper.h | 25 void *func_info; member
|
| A D | xlated_dumper.c | 237 record = dd->func_info; in dump_xlated_json() 321 record = dd->func_info; in dump_xlated_plain() 379 struct bpf_func_info *record = dd->func_info; in dump_xlated_for_graph()
|
| /linux/Documentation/bpf/ |
| A D | btf.rst | 591 * BPF_OBJ_GET_INFO_BY_FD: btf, func_info, line_info 669 __aligned_u64 func_info; /* func info */ 675 The func_info and line_info are an array of below, respectively.:: 688 func_info_rec_size is the size of each func_info record, and 692 Below are requirements for func_info: 693 * func_info[0].insn_off must be 0. 784 contains func_info, line_info and core_relo sub-sections. 785 See :ref:`BPF_Prog_Load` for details about func_info and line_info 788 The func_info is organized as below.:: 791 btf_ext_info_sec for section #1 /* func_info for section #1 */ [all …]
|
| A D | drgn.rst | 182 .func_info = (struct bpf_func_info *)0xffff889ff795d240,
|
| /linux/tools/perf/util/ |
| A D | bpf_counter.c | 65 struct bpf_func_info *func_info; in bpf_target_prog_name() local 88 func_info = u64_to_ptr(info_linear->info.func_info); in bpf_target_prog_name() 89 t = btf__type_by_id(btf, func_info[0].type_id); in bpf_target_prog_name() 92 info_linear->info.btf_id, func_info[0].type_id); in bpf_target_prog_name()
|
| A D | bpf-utils.c | 50 offsetof(struct bpf_prog_info, func_info),
|
| A D | bpf-event.c | 128 void *func_infos = (void *)(uintptr_t)(info->func_info); in synthesize_bpf_prog_name()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | btf.c | 4825 void *func_info = NULL; in do_test_file() local 4914 info.func_info = ptr_to_u64(func_info); in do_test_file() 4942 finfo = func_info; in do_test_file() 4976 free(func_info); in do_test_file() 5708 .func_info = { {0, 5}, {3, 6} }, 5739 .func_info = { {0, 5}, {3, 6} }, 6529 void *func_info = NULL; in test_get_finfo() local 6564 info.func_info = ptr_to_u64(func_info); in test_get_finfo() 6584 finfo = func_info; in test_get_finfo() 6600 free(func_info); in test_get_finfo() [all …]
|
| A D | core_reloc_raw.c | 97 attr.func_info = (__u64)funcs; in test_bad_local_id()
|
| A D | test_global_funcs.c | 75 info.func_info = ptr_to_u64(&func_info_buf); in subtest_ctx_arg_rewrite()
|
| /linux/tools/lib/bpf/ |
| A D | linker.c | 128 struct btf_ext_sec_data func_info; member 207 free(sec->func_info.recs); in bpf_linker__free() 2483 rec_sz = obj->btf_ext->func_info.rec_size; in linker_append_btf_ext() 2484 for_each_btf_ext_sec(&obj->btf_ext->func_info, ext_sec) { in linker_append_btf_ext() 2495 if (dst_sec->func_info.rec_sz == 0) in linker_append_btf_ext() 2496 dst_sec->func_info.rec_sz = rec_sz; in linker_append_btf_ext() 2497 if (dst_sec->func_info.rec_sz != rec_sz) { in linker_append_btf_ext() 2812 if (sec->func_info.rec_cnt) { in finalize_btf_ext() 2814 func_rec_sz = sec->func_info.rec_sz; in finalize_btf_ext() 2815 if (func_rec_sz != sec->func_info.rec_sz) { in finalize_btf_ext() [all …]
|
| A D | bpf.c | 243 const char *func_info, *line_info; in bpf_prog_load() local 302 func_info = OPTS_GET(opts, func_info, NULL); in bpf_prog_load() 304 attr.func_info = ptr_to_u64(func_info); in bpf_prog_load() 334 finfo = alloc_zero_tailing_info(func_info, in bpf_prog_load() 343 attr.func_info = ptr_to_u64(finfo); in bpf_prog_load()
|
| A D | gen_loader.c | 939 int prog_load_attr, license_off, insns_off, func_info, line_info, core_relos; in bpf_gen__prog_load() local 961 func_info = add_data(gen, load_attr->func_info, in bpf_gen__prog_load() 984 emit_rel_store(gen, attr_field(prog_load_attr, func_info), func_info); in bpf_gen__prog_load()
|
| A D | bpf.h | 90 const void *func_info; member
|
| A D | features.c | 503 opts.func_info = &func_infos; in probe_kern_arg_ctx_tag()
|
| A D | libbpf_internal.h | 487 struct btf_ext_info func_info; member
|
| /linux/tools/testing/selftests/bpf/ |
| A D | test_verifier.c | 165 struct bpf_func_info func_info[MAX_FUNC_INFOS]; member 460 self->func_info[1].insn_off = callback_idx; in bpf_fill_big_prog_with_loop_1() 1600 opts.func_info = test->func_info; in do_test_single() 1602 opts.func_info_rec_size = sizeof(test->func_info[0]); in do_test_single()
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| A D | qed_dev.c | 2678 if (p_hwfn->mcp_info->func_info.bandwidth_max) in qed_hw_init_common() 2680 if (p_hwfn->mcp_info->func_info.bandwidth_min) in qed_hw_init_common() 2904 p_info = &p_hwfn->mcp_info->func_info; in qed_hw_init_pf() 4559 p_hwfn->mcp_info->func_info.mac); in qed_get_hw_info() 4564 if (p_hwfn->mcp_info->func_info.ovlan != QED_MCP_VLAN_UNSET) in qed_get_hw_info() 4566 p_hwfn->mcp_info->func_info.ovlan; in qed_get_hw_info() 4578 protocol = p_hwfn->mcp_info->func_info.protocol; in qed_get_hw_info() 4591 p_hwfn->hw_info.mtu = p_hwfn->mcp_info->func_info.mtu; in qed_get_hw_info() 5276 p_hwfn->mcp_info->func_info.bandwidth_max = max_bw; in __qed_configure_pf_max_bandwidth() 5342 p_hwfn->mcp_info->func_info.bandwidth_min = min_bw; in __qed_configure_pf_min_bandwidth()
|
| A D | qed_mcp.c | 1322 p_info = &p_hwfn->mcp_info->func_info; in qed_read_pf_bandwidth() 1430 max_bw = p_hwfn->mcp_info->func_info.bandwidth_max; in qed_mcp_handle_link_change() 1431 min_bw = p_hwfn->mcp_info->func_info.bandwidth_min; in qed_mcp_handle_link_change() 1771 p_info = &p_hwfn->mcp_info->func_info; in qed_mcp_update_bw() 1788 p_hwfn->mcp_info->func_info.ovlan = (u16)shmem_info.ovlan_stag & in qed_mcp_update_stag() 1790 p_hwfn->hw_info.ovlan = p_hwfn->mcp_info->func_info.ovlan; in qed_mcp_update_stag() 1812 p_hwfn->mcp_info->func_info.ovlan, p_hwfn->hw_info.hw_mode); in qed_mcp_update_stag() 2530 info = &p_hwfn->mcp_info->func_info; in qed_mcp_fill_shmem_func_info()
|
| 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()
|
| A D | qed_mcp.h | 780 struct qed_mcp_function_info func_info; member
|
| /linux/tools/include/uapi/linux/ |
| A D | bpf.h | 1550 __aligned_u64 func_info; /* func info */ member 6576 __aligned_u64 func_info; member
|