| /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 } },
|
| /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() 340 qsort(function_list, function_list_size, sizeof(struct func_info), cmp_funcs); in parse_symbols()
|
| /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/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),
|
| H A D | bpf-event.c | 136 void *func_infos = (void *)(uintptr_t)(info->func_info); in synthesize_bpf_prog_name()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf.c | 4840 void *func_info = NULL; in do_test_file() 4919 func_info = malloc(info.nr_func_info * rec_size); in do_test_file() 4920 if (CHECK(!func_info, "out of memory")) { in do_test_file() 4925 /* reset info to only retrieve func_info related data */ in do_test_file() 4929 info.func_info = ptr_to_u64(func_info); in do_test_file() 4957 finfo = func_info; in do_test_file() 4991 free(func_info); 5686 __u32 func_info[MAX_SUBPROGS][2]; 5723 .func_info 4825 void *func_info = NULL; do_test_file() local 5671 __u32 func_info[MAX_SUBPROGS][2]; global() member 6529 void *func_info = NULL; test_get_finfo() local [all...] |
| H A D | core_reloc_raw.c | 97 attr.func_info = (__u64)funcs; in test_bad_local_id()
|
| H A D | test_global_funcs.c | 75 info.func_info = ptr_to_u64(&func_info_buf); in subtest_ctx_arg_rewrite()
|
| /linux/tools/bpf/bpftool/ |
| H A D | xlated_dumper.h | 25 void *func_info; member
|
| H 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/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 | 2659 if (p_hwfn->mcp_info->func_info.bandwidth_max) in qed_hw_init_common() 2661 if (p_hwfn->mcp_info->func_info.bandwidth_min) in qed_hw_init_common() 2885 p_info = &p_hwfn->mcp_info->func_info; in qed_hw_init_pf() 4540 p_hwfn->mcp_info->func_info.mac); in qed_get_hw_info() 4545 if (p_hwfn->mcp_info->func_info.ovlan != QED_MCP_VLAN_UNSET) in qed_get_hw_info() 4547 p_hwfn->mcp_info->func_info.ovlan; in qed_get_hw_info() 4559 protocol = p_hwfn->mcp_info->func_info.protocol; in qed_get_hw_info() 4572 p_hwfn->hw_info.mtu = p_hwfn->mcp_info->func_info.mtu; in qed_get_hw_info() 5257 p_hwfn->mcp_info->func_info.bandwidth_max = max_bw; in __qed_configure_pf_max_bandwidth() 5323 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
|
| H A D | qed_cxt.c | 1971 if (p_hwfn->mcp_info->func_info.protocol == QED_PCI_ETH_RDMA) { in qed_rdma_set_pf_params()
|
| /linux/Documentation/bpf/ |
| H A D | drgn.rst | 182 .func_info = (struct bpf_func_info *)0xffff889ff795d240,
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1583 __aligned_u64 func_info; /* func info */ 6655 __aligned_u64 func_info; 1579 __aligned_u64 func_info; /* func info */ global() member 6650 __aligned_u64 func_info; global() member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1583 __aligned_u64 func_info; /* func info */ 6655 __aligned_u64 func_info; 1579 __aligned_u64 func_info; /* func info */ global() member 6650 __aligned_u64 func_info; global() member
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 504 void *func_info; member 795 zfree(&prog->func_info); in bpf_program__unload() 3300 ext_segs[0] = &obj->btf_ext->func_info; in bpf_object__init_btf() 6545 if (main_prog != prog && !main_prog->func_info) in reloc_prog_func_and_line_info() 6548 err = adjust_prog_btf_ext_info(obj, prog, &obj->btf_ext->func_info, in reloc_prog_func_and_line_info() 6549 &main_prog->func_info, in reloc_prog_func_and_line_info() 6558 if (main_prog->func_info) { in reloc_prog_func_and_line_info() 7238 if (!obj->btf_ext || !prog->func_info) in bpf_program_fixup_func_info() 7262 func_rec = prog->func_info + prog->func_info_rec_size * i; in bpf_program_fixup_func_info() 7293 func_rec = prog->func_info + prog->func_info_rec_size * rec_idx; in bpf_program_fixup_func_info() [all …]
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 442 if (!env->prog->aux->func_info) in subprog_name() 445 info = &env->prog->aux->func_info[subprog]; in subprog_name() 3045 main_btf_id = aux->func_info[0].type_id; in bpf_find_exception_callback_insn_off() 3077 if (aux->func_info[i].type_id != id) in bpf_find_exception_callback_insn_off() 3079 ret = aux->func_info[i].insn_off; in bpf_find_exception_callback_insn_off() 10635 if (!prog->aux->func_info) in btf_check_subprog_call() 10638 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_call() 17164 if (!aux->func_info) { in check_ld_imm() 18502 urecord = make_bpfptr(attr->func_info, uattr.is_kernel); in check_btf_func_early() 18563 prog->aux->func_info = krecord; in check_btf_func_early() [all …]
|
| H A D | syscall.c | 2375 kvfree(aux->func_info); in __bpf_prog_put_rcu() 5189 user_finfo = u64_to_user_ptr(info.func_info); in bpf_prog_get_info_by_fd() 5191 if (copy_to_user(user_finfo, prog->aux->func_info, in bpf_prog_get_info_by_fd()
|
| H A D | core.c | 584 prog->aux->func_info[prog->aux->func_idx].type_id); in bpf_prog_ksym_set_name()
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_hw_v2.h | 1312 } func_info; member
|
| /linux/include/linux/ |
| H A D | bpf.h | 1713 struct bpf_func_info *func_info; member
|