Searched refs:func_info_cnt (Results 1 - 14 of 14) sorted by relevance

/linux-master/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-master/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c5639 __u32 func_info_cnt; member in struct:prog_info_raw_test
5676 .func_info_cnt = 2,
5707 .func_info_cnt = 2,
5713 .descr = "func_type (Incorrect func_info_cnt)",
5739 .func_info_cnt = 1,
5771 .func_info_cnt = 2,
5790 .func_info_cnt = 0,
5816 .func_info_cnt = 0,
5845 .func_info_cnt = 0,
5872 .func_info_cnt
[all...]
/linux-master/tools/lib/bpf/
H A Dgen_loader.c960 attr.func_info_cnt = load_attr->func_info_cnt;
962 attr.func_info_cnt * attr.func_info_rec_size);
H A Dbpf.c305 attr.func_info_cnt = OPTS_GET(opts, func_info_cnt, 0);
331 if (!finfo && attr.func_info_cnt &&
335 attr.func_info_cnt,
H A Dbpf.h91 __u32 func_info_cnt; member in struct:bpf_prog_load_opts
H A Dfeatures.c474 opts.func_info_cnt = ARRAY_SIZE(func_infos);
H A Dlibbpf.c465 __u32 func_info_cnt; member in struct:bpf_program
6130 &main_prog->func_info_cnt,
6812 orig_ids = calloc(prog->func_info_cnt, sizeof(*orig_ids));
6815 for (i = 0; i < prog->func_info_cnt; i++) {
6845 for (rec_idx = 0; rec_idx < prog->func_info_cnt; rec_idx++) {
7355 load_attr.func_info_cnt = prog->func_info_cnt;
/linux-master/tools/testing/selftests/bpf/
H A Dtest_verifier.c166 int func_info_cnt; member in struct:bpf_test
1604 if (test->func_info_cnt != 0) {
1606 opts.func_info_cnt = test->func_info_cnt;
/linux-master/kernel/bpf/
H A Dcore.c604 if (prog->aux->func_info_cnt && prog->aux->func_idx < prog->aux->func_info_cnt) {
H A Dverifier.c2506 /* Non-zero func_info_cnt implies valid btf */
2507 if (!aux->func_info_cnt)
2540 for (i = 0; i < aux->func_info_cnt; i++) {
15914 nfuncs = attr->func_info_cnt;
15994 prog->aux->func_info_cnt = nfuncs;
16016 nfuncs = attr->func_info_cnt;
16297 if (!attr->func_info_cnt && !attr->line_info_cnt) {
16324 if (!attr->func_info_cnt && !attr->line_info_cnt) {
18574 move = aux->func_info_cnt - j;
18579 aux->func_info_cnt
[all...]
H A Dsyscall.c4751 info.nr_func_info = prog->aux->func_info_cnt;
/linux-master/include/uapi/linux/
H A Dbpf.h1544 __u32 func_info_cnt; /* number of bpf_func_info records */ member in struct:bpf_attr::__anon2593
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1544 __u32 func_info_cnt; /* number of bpf_func_info records */ member in struct:bpf_attr::__anon3134
/linux-master/include/linux/
H A Dbpf.h1512 u32 func_info_cnt; member in struct:bpf_prog_aux

Completed in 474 milliseconds