/linux-5.19.10/kernel/bpf/preload/iterators/ |
D | iterators.bpf.c | 45 struct bpf_func_info *func_info; member 109 get_name(aux->btf, aux->func_info[0].type_id, aux->name), in dump_bpf_prog()
|
/linux-5.19.10/Documentation/bpf/ |
D | btf.rst | 374 type. The BTF_KIND_FUNC may in turn be referenced by a func_info in the 527 * BPF_OBJ_GET_INFO_BY_FD: btf, func_info, line_info 596 During prog_load, func_info and line_info can be passed to kernel with proper 605 __aligned_u64 func_info; /* func info */ 611 The func_info and line_info are an array of below, respectively.:: 624 func_info_rec_size is the size of each func_info record, and 628 Below are requirements for func_info: 629 * func_info[0].insn_off must be 0. 630 * the func_info insn_off is in strictly increasing order and matches 665 ``bpf_prog_info`` returns ``btf_id``, func_info, and line info for translated [all …]
|
D | drgn.rst | 182 .func_info = (struct bpf_func_info *)0xffff889ff795d240,
|
/linux-5.19.10/tools/bpf/bpftool/ |
D | prog.c | 162 holder.func_info = ptr_to_u64(ptr); in prep_prog_info() 717 void *func_info = NULL; in prog_dump() local 749 func_info = u64_to_ptr(info->func_info); in prog_dump() 815 if (func_info) { in prog_dump() 816 record = func_info + i * info->func_info_rec_size; in prog_dump() 824 if (func_info && func_sig[0] != '\0') { in prog_dump() 832 if (func_info && func_sig[0] != '\0') in prog_dump() 866 dd.func_info = func_info; in prog_dump() 2109 struct bpf_func_info func_info; in profile_target_name() local 2138 info.func_info = ptr_to_u64(&func_info); in profile_target_name() [all …]
|
D | xlated_dumper.h | 23 void *func_info; member
|
D | xlated_dumper.c | 231 record = dd->func_info; in dump_xlated_json() 315 record = dd->func_info; in dump_xlated_plain()
|
D | common.c | 321 info.func_info = ptr_to_u64(&finfo); in get_prog_full_name()
|
D | btf_dumper.c | 71 info.func_info = ptr_to_u64(&finfo); in dump_prog_id_as_func_ptr()
|
/linux-5.19.10/tools/perf/util/ |
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()
|
D | bpf-utils.c | 50 offsetof(struct bpf_prog_info, func_info),
|
D | bpf-event.c | 186 void *func_infos = (void *)(uintptr_t)(info->func_info); in synthesize_bpf_prog_name()
|
/linux-5.19.10/tools/lib/bpf/ |
D | bpf.c | 243 const char *func_info, *line_info; in bpf_prog_load_v0_6_0() local 305 func_info = OPTS_GET(opts, func_info, NULL); in bpf_prog_load_v0_6_0() 307 attr.func_info = ptr_to_u64(func_info); in bpf_prog_load_v0_6_0() 336 finfo = alloc_zero_tailing_info(func_info, in bpf_prog_load_v0_6_0() 345 attr.func_info = ptr_to_u64(finfo); in bpf_prog_load_v0_6_0() 420 p.func_info = load_attr->func_info; in bpf_load_program_xattr2()
|
D | linker.c | 128 struct btf_ext_sec_data func_info; member 207 free(sec->func_info.recs); in bpf_linker__free() 2436 rec_sz = obj->btf_ext->func_info.rec_size; in linker_append_btf_ext() 2437 for_each_btf_ext_sec(&obj->btf_ext->func_info, ext_sec) { in linker_append_btf_ext() 2448 if (dst_sec->func_info.rec_sz == 0) in linker_append_btf_ext() 2449 dst_sec->func_info.rec_sz = rec_sz; in linker_append_btf_ext() 2450 if (dst_sec->func_info.rec_sz != rec_sz) { in linker_append_btf_ext() 2455 for_each_btf_ext_rec(&obj->btf_ext->func_info, ext_sec, i, src_rec) { in linker_append_btf_ext() 2456 dst_rec = add_btf_ext_rec(&dst_sec->func_info, src_rec); in linker_append_btf_ext() 2765 if (sec->func_info.rec_cnt) { in finalize_btf_ext() [all …]
|
D | bpf.h | 86 const void *func_info; member 146 const void *func_info; member
|
D | gen_loader.c | 937 int prog_load_attr, license_off, insns_off, func_info, line_info, core_relos; in bpf_gen__prog_load() local 959 func_info = add_data(gen, load_attr->func_info, in bpf_gen__prog_load() 982 emit_rel_store(gen, attr_field(prog_load_attr, func_info), func_info); in bpf_gen__prog_load()
|
D | btf.c | 2720 .ext_info = &btf_ext->func_info, in btf_ext_setup_func_info() 2793 free(btf_ext->func_info.sec_idxs); in btf_ext__free() 2906 void **func_info, __u32 *cnt) in btf_ext__reloc_func_info() argument 2908 return btf_ext_reloc_info(btf, &btf_ext->func_info, sec_name, in btf_ext__reloc_func_info() 2909 insns_cnt, func_info, cnt); in btf_ext__reloc_func_info() 2923 return btf_ext->func_info.rec_size; in btf_ext__func_info_rec_size() 4837 seg = &btf_ext->func_info; in btf_ext_visit_type_ids() 4868 seg = &btf_ext->func_info; in btf_ext_visit_str_offs()
|
D | libbpf_internal.h | 442 struct btf_ext_info func_info; member
|
D | btf.h | 166 void **func_info, __u32 *cnt);
|
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 4658 void *func_info = NULL; in do_test_file() local 4737 func_info = malloc(info.nr_func_info * rec_size); in do_test_file() 4738 if (CHECK(!func_info, "out of memory")) { in do_test_file() 4747 info.func_info = ptr_to_u64(func_info); in do_test_file() 4775 finfo = func_info; in do_test_file() 4809 free(func_info); in do_test_file() 5503 __u32 func_info[MAX_SUBPROGS][2]; member 5540 .func_info = { {0, 5}, {3, 6} }, 5571 .func_info = { {0, 5}, {3, 6} }, 5603 .func_info = { {0, 5}, {3, 6} }, [all …]
|
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/ |
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() 5271 p_hwfn->mcp_info->func_info.bandwidth_max = max_bw; in __qed_configure_pf_max_bandwidth() 5337 p_hwfn->mcp_info->func_info.bandwidth_min = min_bw; in __qed_configure_pf_min_bandwidth()
|
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()
|
D | qed_fcoe.c | 736 info->wwpn = hwfn->mcp_info->func_info.wwn_port; in qed_fill_fcoe_dev_info() 737 info->wwnn = hwfn->mcp_info->func_info.wwn_node; in qed_fill_fcoe_dev_info()
|
D | qed_mcp.h | 780 struct qed_mcp_function_info func_info; member
|
/linux-5.19.10/tools/include/uapi/linux/ |
D | bpf.h | 1350 __aligned_u64 func_info; /* func info */ member 5987 __aligned_u64 func_info; member
|
/linux-5.19.10/include/uapi/linux/ |
D | bpf.h | 1350 __aligned_u64 func_info; /* func info */ member 5987 __aligned_u64 func_info; member
|