Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/verifier/
Dbpf_loop_inline.c63 .func_info_cnt = 2,
96 .func_info_cnt = 2,
137 .func_info_cnt = 3,
175 .func_info_cnt = 3,
244 .func_info_cnt = 3,
256 .func_info_cnt = 2,
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbtf.c5610 __u32 func_info_cnt; member
5647 .func_info_cnt = 2,
5678 .func_info_cnt = 2,
5710 .func_info_cnt = 1,
5742 .func_info_cnt = 2,
5761 .func_info_cnt = 0,
5787 .func_info_cnt = 0,
5816 .func_info_cnt = 0,
5843 .func_info_cnt = 0,
5869 .func_info_cnt = 0,
[all …]
/linux-6.6.21/tools/lib/bpf/
Dbpf.c298 attr.func_info_cnt = OPTS_GET(opts, func_info_cnt, 0); in bpf_prog_load()
324 if (!finfo && attr.func_info_cnt && in bpf_prog_load()
328 attr.func_info_cnt, in bpf_prog_load()
Dbpf.h87 __u32 func_info_cnt; member
Dgen_loader.c960 attr.func_info_cnt = load_attr->func_info_cnt; in bpf_gen__prog_load()
962 attr.func_info_cnt * attr.func_info_rec_size); in bpf_gen__prog_load()
Dlibbpf.c450 __u32 func_info_cnt; member
6141 &main_prog->func_info_cnt, in reloc_prog_func_and_line_info()
6921 load_attr.func_info_cnt = prog->func_info_cnt; in bpf_object_load_prog()
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_verifier.c164 int func_info_cnt; member
1638 if (test->func_info_cnt != 0) { in do_test_single()
1640 opts.func_info_cnt = test->func_info_cnt; in do_test_single()
/linux-6.6.21/Documentation/bpf/
Ddrgn.rst186 .func_info_cnt = (u32)1,
Dbtf.rst641 __u32 func_info_cnt; /* number of bpf_func_info records */
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h1435 __u32 func_info_cnt; /* number of bpf_func_info records */ member
/linux-6.6.21/include/uapi/linux/
Dbpf.h1435 __u32 func_info_cnt; /* number of bpf_func_info records */ member
/linux-6.6.21/kernel/bpf/
Dverifier.c15434 nfuncs = attr->func_info_cnt; in check_btf_func()
15539 prog->aux->func_info_cnt = nfuncs; in check_btf_func()
15768 if (!attr->func_info_cnt && !attr->line_info_cnt) { in check_btf_info()
17902 move = aux->func_info_cnt - j; in adjust_subprog_starts_after_remove()
17907 aux->func_info_cnt -= j - i; in adjust_subprog_starts_after_remove()
18508 func[i]->aux->func_info_cnt = prog->aux->func_info_cnt; in jit_subprogs()
19832 for (i = 0; i < aux->func_info_cnt; i++) in bpf_check_attach_target()
Dcore.c596 if (prog->aux->func_info_cnt) { in bpf_prog_ksym_set_name()
Dsyscall.c4522 info.nr_func_info = prog->aux->func_info_cnt; in bpf_prog_get_info_by_fd()
/linux-6.6.21/include/linux/
Dbpf.h1463 u32 func_info_cnt; member