/linux/Documentation/bpf/ |
A D | btf.rst | 503 * BPF_OBJ_GET_INFO_BY_FD: btf, func_info, line_info 584 __aligned_u64 func_info; /* func info */ 590 The func_info and line_info are an array of below, respectively.:: 603 func_info_rec_size is the size of each func_info record, and 607 Below are requirements for func_info: 608 * func_info[0].insn_off must be 0. 696 about func_info and line_info record format. 698 The func_info is organized as below.:: 701 btf_ext_info_sec for section #1 /* func_info for section #1 */ 702 btf_ext_info_sec for section #2 /* func_info for section #2 */ [all …]
|
A D | drgn.rst | 182 .func_info = (struct bpf_func_info *)0xffff889ff795d240,
|
/linux/kernel/bpf/preload/iterators/ |
A 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/tools/bpf/bpftool/ |
A D | prog.c | 637 void *func_info = NULL; in prog_dump() local 669 func_info = u64_to_ptr(info->func_info); in prog_dump() 735 if (func_info) { in prog_dump() 736 record = func_info + i * info->func_info_rec_size; in prog_dump() 744 if (func_info && func_sig[0] != '\0') { in prog_dump() 752 if (func_info && func_sig[0] != '\0') in prog_dump() 786 dd.func_info = func_info; in prog_dump() 2020 struct bpf_func_info *func_info; in profile_target_name() local 2043 func_info = u64_to_ptr(info_linear->info.func_info); in profile_target_name() 2044 t = btf__type_by_id(btf, func_info[0].type_id); in profile_target_name() [all …]
|
A D | xlated_dumper.h | 23 void *func_info; member
|
A D | xlated_dumper.c | 230 record = dd->func_info; in dump_xlated_json() 314 record = dd->func_info; in dump_xlated_plain()
|
A D | btf_dumper.c | 72 finfo = u64_to_ptr(info->func_info); in dump_prog_id_as_func_ptr()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | btf.c | 4523 void *func_info = NULL; in do_test_file() local 4610 info.func_info = ptr_to_u64(func_info); in do_test_file() 4638 finfo = func_info; in do_test_file() 4670 free(func_info); in do_test_file() 5408 .func_info = { {0, 5}, {3, 6} }, 5439 .func_info = { {0, 5}, {3, 6} }, 6229 void *func_info = NULL; in test_get_finfo() local 6264 info.func_info = ptr_to_u64(func_info); in test_get_finfo() 6284 finfo = func_info; in test_get_finfo() 6300 free(func_info); in test_get_finfo() [all …]
|
/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 | 163 void *func_infos = (void *)(uintptr_t)(info->func_info); in synthesize_bpf_prog_name()
|
/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() 2437 rec_sz = obj->btf_ext->func_info.rec_size; in linker_append_btf_ext() 2438 for_each_btf_ext_sec(&obj->btf_ext->func_info, ext_sec) { in linker_append_btf_ext() 2449 if (dst_sec->func_info.rec_sz == 0) in linker_append_btf_ext() 2450 dst_sec->func_info.rec_sz = rec_sz; in linker_append_btf_ext() 2451 if (dst_sec->func_info.rec_sz != rec_sz) { in linker_append_btf_ext() 2764 if (sec->func_info.rec_cnt) { in finalize_btf_ext() 2766 func_rec_sz = sec->func_info.rec_sz; in finalize_btf_ext() 2767 if (func_rec_sz != sec->func_info.rec_sz) { in finalize_btf_ext() [all …]
|
A D | bpf.c | 296 attr.func_info = ptr_to_u64(load_attr->func_info); in libbpf__bpf_prog_load() 319 finfo = alloc_zero_tailing_info(load_attr->func_info, in libbpf__bpf_prog_load() 328 attr.func_info = ptr_to_u64(finfo); in libbpf__bpf_prog_load() 403 p.func_info = load_attr->func_info; in bpf_load_program_xattr()
|
A D | libbpf_internal.h | 295 const void *func_info; member 399 struct btf_ext_info func_info; member
|
A D | gen_loader.c | 919 int prog_load_attr, license, insns, func_info, line_info; in bpf_gen__prog_load() local 941 func_info = add_data(gen, load_attr->func_info, in bpf_gen__prog_load() 960 emit_rel_store(gen, attr_field(prog_load_attr, func_info), func_info); in bpf_gen__prog_load()
|
A D | bpf.h | 91 const void *func_info; member
|
A D | btf.c | 2637 .ext_info = &btf_ext->func_info, in btf_ext_setup_func_info() 2822 void **func_info, __u32 *cnt) in btf_ext__reloc_func_info() argument 2824 return btf_ext_reloc_info(btf, &btf_ext->func_info, sec_name, in btf_ext__reloc_func_info() 2825 insns_cnt, func_info, cnt); in btf_ext__reloc_func_info() 2839 return btf_ext->func_info.rec_size; in btf_ext__func_info_rec_size() 4703 seg = &btf_ext->func_info; in btf_ext_visit_type_ids() 4734 seg = &btf_ext->func_info; in btf_ext_visit_str_offs()
|
A D | btf.h | 168 void **func_info, __u32 *cnt);
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_mcp.c | 1276 p_info = &p_hwfn->mcp_info->func_info; in qed_read_pf_bandwidth() 1384 max_bw = p_hwfn->mcp_info->func_info.bandwidth_max; in qed_mcp_handle_link_change() 1385 min_bw = p_hwfn->mcp_info->func_info.bandwidth_min; in qed_mcp_handle_link_change() 1725 p_info = &p_hwfn->mcp_info->func_info; in qed_mcp_update_bw() 1742 p_hwfn->mcp_info->func_info.ovlan = (u16)shmem_info.ovlan_stag & in qed_mcp_update_stag() 1744 p_hwfn->hw_info.ovlan = p_hwfn->mcp_info->func_info.ovlan; in qed_mcp_update_stag() 1766 p_hwfn->mcp_info->func_info.ovlan, p_hwfn->hw_info.hw_mode); in qed_mcp_update_stag() 2468 info = &p_hwfn->mcp_info->func_info; in qed_mcp_fill_shmem_func_info()
|
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() 4556 p_hwfn->mcp_info->func_info.mac); in qed_get_hw_info() 4561 if (p_hwfn->mcp_info->func_info.ovlan != QED_MCP_VLAN_UNSET) in qed_get_hw_info() 4563 p_hwfn->mcp_info->func_info.ovlan; in qed_get_hw_info() 4575 protocol = p_hwfn->mcp_info->func_info.protocol; in qed_get_hw_info() 4588 p_hwfn->hw_info.mtu = p_hwfn->mcp_info->func_info.mtu; in qed_get_hw_info() 5268 p_hwfn->mcp_info->func_info.bandwidth_max = max_bw; in __qed_configure_pf_max_bandwidth() 5334 p_hwfn->mcp_info->func_info.bandwidth_min = min_bw; in __qed_configure_pf_min_bandwidth()
|
A 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()
|
A D | qed_mcp.h | 752 struct qed_mcp_function_info func_info; member
|
/linux/tools/include/uapi/linux/ |
A D | bpf.h | 1333 __aligned_u64 func_info; /* func info */ member 5634 __aligned_u64 func_info; member
|
/linux/include/uapi/linux/ |
A D | bpf.h | 1333 __aligned_u64 func_info; /* func info */ member 5634 __aligned_u64 func_info; member
|
/linux/kernel/bpf/ |
A D | btf.c | 5542 if (!prog->aux->func_info) { in btf_check_type_match() 5547 btf_id = prog->aux->func_info[0].type_id; in btf_check_type_match() 5715 if (!prog->aux->func_info) in btf_check_subprog_arg_match() 5718 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_arg_match() 5763 if (!prog->aux->func_info || in btf_prepare_func_args() 5769 btf_id = prog->aux->func_info[subprog].type_id; in btf_prepare_func_args()
|