Searched refs:func_info_cnt (Results 1 – 15 of 15) sorted by relevance
| /linux/tools/testing/selftests/bpf/verifier/ |
| H A D | bpf_loop_inline.c | 64 .func_info_cnt = 2, 98 .func_info_cnt = 2, 140 .func_info_cnt = 3, 179 .func_info_cnt = 3, 249 .func_info_cnt = 3, 262 .func_info_cnt = 2,
|
| /linux/kernel/bpf/ |
| H A D | check_btf.c | 45 nfuncs = attr->func_info_cnt; in prepare_btf_func() 125 prog->aux->func_info_cnt = nfuncs; in prepare_btf_func() 147 nfuncs = attr->func_info_cnt; in check_btf_func() 417 if (!attr->func_info_cnt && !attr->line_info_cnt) { in bpf_prepare_btf_info() 444 if (!attr->func_info_cnt && !attr->line_info_cnt) { in bpf_check_btf_info()
|
| H A D | fixups.c | 407 move = aux->func_info_cnt - j; in adjust_subprog_starts_after_remove() 416 aux->func_info_cnt -= j - i; in adjust_subprog_starts_after_remove() 1148 func[i]->aux->func_info_cnt = prog->aux->func_info_cnt; in jit_subprogs()
|
| H A D | core.c | 587 if (prog->aux->func_info_cnt && prog->aux->func_idx < prog->aux->func_info_cnt) { in bpf_prog_ksym_set_name()
|
| H A D | syscall.c | 5313 info.nr_func_info = prog->aux->func_info_cnt; in bpf_prog_get_info_by_fd()
|
| H A D | verifier.c | 2414 if (!aux->func_info_cnt) in bpf_find_exception_callback_insn_off() 2447 for (i = 0; i < aux->func_info_cnt; i++) { in bpf_find_exception_callback_insn_off() 19930 for (i = 0; i < aux->func_info_cnt; i++) in bpf_check_attach_target()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf.c | 5765 __u32 func_info_cnt; member 5802 .func_info_cnt = 2, 5833 .func_info_cnt = 2, 5865 .func_info_cnt = 1, 5897 .func_info_cnt = 2, 5916 .func_info_cnt = 0, 5942 .func_info_cnt = 0, 5971 .func_info_cnt = 0, 5998 .func_info_cnt = 0, 6024 .func_info_cnt = 0, [all …]
|
| H A D | core_reloc_raw.c | 98 attr.func_info_cnt = sizeof(funcs) / sizeof(*funcs); in test_bad_local_id()
|
| /linux/tools/lib/bpf/ |
| H A D | gen_loader.c | 993 for (i = 0; i < load_attr->func_info_cnt; i++) in info_blob_bswap() 1008 int func_info_tot_sz = load_attr->func_info_cnt * in bpf_gen__prog_load() 1044 attr.func_info_cnt = tgt_endian(load_attr->func_info_cnt); in bpf_gen__prog_load() 1047 func_info, load_attr->func_info_cnt, in bpf_gen__prog_load()
|
| H A D | features.c | 499 opts.func_info_cnt = ARRAY_SIZE(func_infos); in probe_kern_arg_ctx_tag()
|
| H A D | libbpf.c | 512 __u32 func_info_cnt; member 6662 &main_prog->func_info_cnt, in reloc_prog_func_and_line_info() 7370 orig_ids = calloc(prog->func_info_cnt, sizeof(*orig_ids)); in bpf_program_fixup_func_info() 7373 for (i = 0; i < prog->func_info_cnt; i++) { in bpf_program_fixup_func_info() 7403 for (rec_idx = 0; rec_idx < prog->func_info_cnt; rec_idx++) { in bpf_program_fixup_func_info() 8014 load_attr.func_info_cnt = prog->func_info_cnt; in bpf_object_load_prog() 9977 return prog->func_info_cnt; in bpf_program__func_info_cnt() 10034 info_cnt = OPTS_GET(opts, func_info_cnt, 0); in bpf_program__clone() 10042 attr.func_info_cnt = info ? info_cnt : prog->func_info_cnt; in bpf_program__clone()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_verifier.c | 162 int func_info_cnt; member 1595 if (test->func_info_cnt != 0) { in do_test_single() 1597 opts.func_info_cnt = test->func_info_cnt; in do_test_single()
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1628 __u32 func_info_cnt; /* number of bpf_func_info records */ member
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 1628 __u32 func_info_cnt; /* number of bpf_func_info records */ member
|
| /linux/include/linux/ |
| H A D | bpf.h | 1843 u32 func_info_cnt; member
|