Home
last modified time | relevance | path

Searched refs:func_info_cnt (Results 1 – 13 of 13) sorted by relevance

/linux/tools/testing/selftests/bpf/verifier/
H A Dbpf_loop_inline.c64 .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/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c5725 __u32 func_info_cnt;
5762 .func_info_cnt = 2,
5793 .func_info_cnt = 2,
5799 .descr = "func_type (Incorrect func_info_cnt)",
5825 .func_info_cnt = 1,
5857 .func_info_cnt = 2,
5876 .func_info_cnt = 0,
5902 .func_info_cnt = 0,
5931 .func_info_cnt = 0,
5958 .func_info_cnt
5673 __u32 func_info_cnt; global() member
[all...]
H A Dcore_reloc_raw.c98 attr.func_info_cnt = sizeof(funcs) / sizeof(*funcs); in test_bad_local_id()
/linux/tools/lib/bpf/
H A Dgen_loader.c1055 for (i = 0; i < load_attr->func_info_cnt; i++) in bpf_gen__prog_load()
1070 int func_info_tot_sz = load_attr->func_info_cnt * in bpf_gen__prog_load()
1106 attr.func_info_cnt = tgt_endian(load_attr->func_info_cnt); in bpf_gen__prog_load()
1109 func_info, load_attr->func_info_cnt, in bpf_gen__prog_load()
H A Dfeatures.c499 opts.func_info_cnt = ARRAY_SIZE(func_infos); in probe_kern_arg_ctx_tag()
H A Dlibbpf.c512 __u32 func_info_cnt;
6618 &main_prog->func_info_cnt,
7326 orig_ids = calloc(prog->func_info_cnt, sizeof(*orig_ids)); in bpf_program_fixup_func_info()
7329 for (i = 0; i < prog->func_info_cnt; i++) { in bpf_program_fixup_func_info()
7359 for (rec_idx = 0; rec_idx < prog->func_info_cnt; rec_idx++) { in bpf_program_fixup_func_info()
7970 load_attr.func_info_cnt = prog->func_info_cnt; in find_prev_line()
9933 return prog->func_info_cnt;
9990 info_cnt = OPTS_GET(opts, func_info_cnt, 0); in libbpf_unregister_prog_handler()
9993 pr_warn("prog '%s': func_info, func_info_cnt, an in libbpf_unregister_prog_handler()
507 __u32 func_info_cnt; global() member
[all...]
/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c162 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/kernel/bpf/
H A Dfixups.c350 move = aux->func_info_cnt - j; in adjust_subprog_starts_after_remove()
355 aux->func_info_cnt -= j - i; in adjust_subprog_starts_after_remove()
1110 func[i]->aux->func_info_cnt = prog->aux->func_info_cnt; in jit_subprogs()
H A Dcore.c585 if (prog->aux->func_info_cnt && prog->aux->func_idx < prog->aux->func_info_cnt) { in bpf_prog_ksym_set_name()
H A Dverifier.c2383 /* Non-zero func_info_cnt implies valid btf */ in const_tnum_range_mismatch()
2384 if (!aux->func_info_cnt) in const_tnum_range_mismatch()
2417 for (i = 0; i < aux->func_info_cnt; i++) { in reg_bounds_sanity_check()
18908 for (i = 0; i < aux->func_info_cnt; i++)
H A Dsyscall.c5368 info.nr_func_info = prog->aux->func_info_cnt; in bpf_map_get_info_by_fd()
/linux/tools/include/uapi/linux/
H A Dbpf.h1628 __u32 func_info_cnt; /* number of bpf_func_info records */
1580 __u32 func_info_cnt; /* number of bpf_func_info records */ global() member
/linux/include/linux/
H A Dbpf.h1845 u32 func_info_cnt;
1756 u32 func_info_cnt; global() member