Home
last modified time | relevance | path

Searched refs:nr_func_info (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c4155 if (CHECK(info.nr_func_info != 3, in do_test_file()
4157 info.nr_func_info)) { in do_test_file()
4168 func_info = malloc(info.nr_func_info * rec_size); in do_test_file()
4176 info.nr_func_info = 3; in do_test_file()
4187 if (CHECK(info.nr_func_info != 3, in do_test_file()
4189 info.nr_func_info)) { in do_test_file()
5796 __u32 nr_func_info; in test_get_finfo() local
5806 nr_func_info = test->func_info_cnt - test->dead_func_cnt; in test_get_finfo()
5807 if (CHECK(info.nr_func_info != nr_func_info, in test_get_finfo()
5809 info.nr_func_info)) { in test_get_finfo()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dbpf-event.c216 if (info->btf_id && info->nr_func_info && info->func_info_rec_size) { in perf_event__synthesize_one_bpf_prog()
218 if (sub_prog_cnt != info->nr_func_info) { in perf_event__synthesize_one_bpf_prog()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dsyscall.c3394 if ((info->nr_func_info || info->func_info_rec_size) && in set_info_rec_size()
3475 info.nr_func_info = 0; in bpf_prog_get_info_by_fd()
3618 ulen = info.nr_func_info; in bpf_prog_get_info_by_fd()
3619 info.nr_func_info = prog->aux->func_info_cnt; in bpf_prog_get_info_by_fd()
3620 if (info.nr_func_info && ulen) { in bpf_prog_get_info_by_fd()
3624 ulen = min_t(u32, info.nr_func_info, ulen); in bpf_prog_get_info_by_fd()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dbtf_dumper.c67 if (!info->btf_id || !info->nr_func_info || in dump_prog_id_as_func_ptr()
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h4388 __u32 nr_func_info; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbpf.h4388 __u32 nr_func_info; member
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dlibbpf.c10446 offsetof(struct bpf_prog_info, nr_func_info),