/kernel/linux/linux-5.10/kernel/bpf/preload/iterators/ |
D | iterators.bpf.c | 46 struct bpf_func_info *func_info; member 110 get_name(aux->btf, aux->func_info[0].type_id, aux->name), in dump_bpf_prog()
|
/kernel/linux/linux-5.10/Documentation/bpf/ |
D | btf.rst | 371 type. The BTF_KIND_FUNC may in turn be referenced by a func_info in the 463 * BPF_OBJ_GET_INFO_BY_FD: btf, func_info, line_info 535 During prog_load, func_info and line_info can be passed to kernel with proper 544 __aligned_u64 func_info; /* func info */ 550 The func_info and line_info are an array of below, respectively.:: 563 func_info_rec_size is the size of each func_info record, and 567 Below are requirements for func_info: 568 * func_info[0].insn_off must be 0. 569 * the func_info insn_off is in strictly increasing order and matches 604 ``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,
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
D | prog.c | 619 void *func_info = NULL; in prog_dump() local 648 func_info = u64_to_ptr(info->func_info); in prog_dump() 714 if (func_info) { in prog_dump() 715 record = func_info + i * info->func_info_rec_size; in prog_dump() 723 if (func_info && func_sig[0] != '\0') { in prog_dump() 731 if (func_info && func_sig[0] != '\0') in prog_dump() 765 dd.func_info = func_info; in prog_dump() 1867 struct bpf_func_info *func_info; in profile_target_name() local 1885 func_info = u64_to_ptr(info_linear->info.func_info); in profile_target_name() 1886 t = btf__type_by_id(btf, func_info[0].type_id); in profile_target_name() [all …]
|
D | xlated_dumper.h | 23 void *func_info; member
|
D | xlated_dumper.c | 224 record = dd->func_info; in dump_xlated_json() 308 record = dd->func_info; in dump_xlated_plain()
|
D | btf_dumper.c | 70 finfo = u64_to_ptr(info->func_info); in dump_prog_id_as_func_ptr()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 4093 void *func_info = NULL; in do_test_file() local 4168 func_info = malloc(info.nr_func_info * rec_size); in do_test_file() 4169 if (CHECK(!func_info, "out of memory")) { in do_test_file() 4178 info.func_info = ptr_to_u64(func_info); in do_test_file() 4205 finfo = func_info; in do_test_file() 4236 free(func_info); in do_test_file() 4937 __u32 func_info[MAX_SUBPROGS][2]; member 4974 .func_info = { {0, 5}, {3, 6} }, 5005 .func_info = { {0, 5}, {3, 6} }, 5037 .func_info = { {0, 5}, {3, 6} }, [all …]
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | bpf.c | 262 attr.func_info = ptr_to_u64(load_attr->func_info); in bpf_load_program_xattr() 283 finfo = alloc_zero_tailing_info(load_attr->func_info, in bpf_load_program_xattr() 290 attr.func_info = ptr_to_u64(finfo); in bpf_load_program_xattr()
|
D | libbpf_internal.h | 223 struct btf_ext_info func_info; member
|
D | bpf.h | 91 const void *func_info; member
|
D | btf.h | 74 void **func_info, __u32 *cnt);
|
D | btf.c | 2428 .ext_info = &btf_ext->func_info, in btf_ext_setup_func_info() 2609 void **func_info, __u32 *cnt) in btf_ext__reloc_func_info() argument 2611 return btf_ext_reloc_info(btf, &btf_ext->func_info, sec_name, in btf_ext__reloc_func_info() 2612 insns_cnt, func_info, cnt); in btf_ext__reloc_func_info() 2626 return btf_ext->func_info.rec_size; in btf_ext__func_info_rec_size()
|
D | libbpf.c | 281 void *func_info; member 510 zfree(&prog->func_info); in bpf_program__unload() 6127 if (main_prog != prog && !main_prog->func_info) in reloc_prog_func_and_line_info() 6130 err = adjust_prog_btf_ext_info(obj, prog, &obj->btf_ext->func_info, in reloc_prog_func_and_line_info() 6131 &main_prog->func_info, in reloc_prog_func_and_line_info() 6140 if (main_prog->func_info) { in reloc_prog_func_and_line_info() 6723 load_attr.func_info = prog->func_info; in load_program() 10435 offsetof(struct bpf_prog_info, func_info),
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_dev.c | 2598 if (p_hwfn->mcp_info->func_info.bandwidth_max) in qed_hw_init_common() 2600 if (p_hwfn->mcp_info->func_info.bandwidth_min) in qed_hw_init_common() 2822 p_info = &p_hwfn->mcp_info->func_info; in qed_hw_init_pf() 4462 p_hwfn->mcp_info->func_info.mac); in qed_get_hw_info() 4467 if (p_hwfn->mcp_info->func_info.ovlan != QED_MCP_VLAN_UNSET) in qed_get_hw_info() 4469 p_hwfn->mcp_info->func_info.ovlan; in qed_get_hw_info() 4481 protocol = p_hwfn->mcp_info->func_info.protocol; in qed_get_hw_info() 4494 p_hwfn->hw_info.mtu = p_hwfn->mcp_info->func_info.mtu; in qed_get_hw_info() 5174 p_hwfn->mcp_info->func_info.bandwidth_max = max_bw; in __qed_configure_pf_max_bandwidth() 5240 p_hwfn->mcp_info->func_info.bandwidth_min = min_bw; in __qed_configure_pf_min_bandwidth()
|
D | qed_mcp.c | 1285 p_info = &p_hwfn->mcp_info->func_info; in qed_read_pf_bandwidth() 1393 max_bw = p_hwfn->mcp_info->func_info.bandwidth_max; in qed_mcp_handle_link_change() 1394 min_bw = p_hwfn->mcp_info->func_info.bandwidth_min; in qed_mcp_handle_link_change() 1738 p_info = &p_hwfn->mcp_info->func_info; in qed_mcp_update_bw() 1755 p_hwfn->mcp_info->func_info.ovlan = (u16)shmem_info.ovlan_stag & in qed_mcp_update_stag() 1757 p_hwfn->hw_info.ovlan = p_hwfn->mcp_info->func_info.ovlan; in qed_mcp_update_stag() 1779 p_hwfn->mcp_info->func_info.ovlan, p_hwfn->hw_info.hw_mode); in qed_mcp_update_stag() 2480 info = &p_hwfn->mcp_info->func_info; in qed_mcp_fill_shmem_func_info()
|
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()
|
D | qed_mcp.h | 746 struct qed_mcp_function_info func_info; member
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | bpf.h | 553 __aligned_u64 func_info; /* func info */ member 4386 __aligned_u64 func_info; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | bpf.h | 553 __aligned_u64 func_info; /* func info */ member 4386 __aligned_u64 func_info; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | bpf.h | 335 __aligned_u64 func_info; member 767 __aligned_u64 func_info; member
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | bpf-event.c | 126 void *func_infos = (void *)(uintptr_t)(info->func_info); in synthesize_bpf_prog_name()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | btf.c | 5115 if (!prog->aux->func_info) { in btf_check_type_match() 5120 btf_id = prog->aux->func_info[0].type_id; in btf_check_type_match() 5149 if (!prog->aux->func_info) in btf_check_func_arg_match() 5152 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_func_arg_match() 5247 if (!prog->aux->func_info || in btf_prepare_func_args() 5253 btf_id = prog->aux->func_info[subprog].type_id; in btf_prepare_func_args()
|
D | verifier.c | 8773 urecord = u64_to_user_ptr(attr->func_info); in check_btf_func() 8852 prog->aux->func_info = krecord; in check_btf_func() 8868 if (!aux->func_info) in adjust_btf_func() 8872 aux->func_info[i].insn_off = env->subprog_info[i].start; in adjust_btf_func() 10645 if (aux->func_info) { in adjust_subprog_starts_after_remove() 10648 memmove(aux->func_info + i, in adjust_subprog_starts_after_remove() 10649 aux->func_info + j, in adjust_subprog_starts_after_remove() 10650 sizeof(*aux->func_info) * move); in adjust_subprog_starts_after_remove() 11212 func[i]->aux->func_info = prog->aux->func_info; in jit_subprogs() 11875 if (!aux->func_info) in do_check_subprogs() [all …]
|
D | syscall.c | 1741 kvfree(aux->func_info); in __bpf_prog_put_rcu() 3618 user_finfo = u64_to_user_ptr(info.func_info); in bpf_prog_get_info_by_fd() 3620 if (copy_to_user(user_finfo, prog->aux->func_info, in bpf_prog_get_info_by_fd()
|