Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/lib/bpf/
Dbpf_prog_linfo.c27 const __u64 *jited_linfo; in dissect_jited_func() local
38 jited_linfo = raw_jited_linfo; in dissect_jited_func()
39 if (ksym_func[0] != *jited_linfo) in dissect_jited_func()
50 last_jited_linfo = *jited_linfo; in dissect_jited_func()
51 jited_linfo = raw_jited_linfo; in dissect_jited_func()
53 if (ksym_func[f] == *jited_linfo) { in dissect_jited_func()
70 } else if (*jited_linfo <= last_jited_linfo) { in dissect_jited_func()
186 const __u64 *jited_linfo; in bpf_prog_linfo__lfind_addr_func() local
199 jited_linfo = raw_jited_linfo; in bpf_prog_linfo__lfind_addr_func()
200 if (addr < *jited_linfo) in bpf_prog_linfo__lfind_addr_func()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Dcore.c144 prog->aux->jited_linfo = kcalloc(prog->aux->nr_linfo, in bpf_prog_alloc_jited_linfo()
145 sizeof(*prog->aux->jited_linfo), in bpf_prog_alloc_jited_linfo()
147 if (!prog->aux->jited_linfo) in bpf_prog_alloc_jited_linfo()
155 kfree(prog->aux->jited_linfo); in bpf_prog_free_jited_linfo()
156 prog->aux->jited_linfo = NULL; in bpf_prog_free_jited_linfo()
161 if (prog->aux->jited_linfo && !prog->aux->jited_linfo[0]) in bpf_prog_free_unused_jited_linfo()
194 void **jited_linfo; in bpf_prog_fill_jited_linfo() local
196 if (!prog->aux->jited_linfo) in bpf_prog_fill_jited_linfo()
205 jited_linfo = &prog->aux->jited_linfo[linfo_idx]; in bpf_prog_fill_jited_linfo()
206 jited_linfo[0] = prog->bpf_func; in bpf_prog_fill_jited_linfo()
[all …]
Dsyscall.c3641 if (prog->aux->jited_linfo) in bpf_prog_get_info_by_fd()
3653 if (put_user((__u64)(long)prog->aux->jited_linfo[i], in bpf_prog_get_info_by_fd()
Dverifier.c11264 func[i]->aux->jited_linfo = prog->aux->jited_linfo; in jit_subprogs()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dbtf.c5875 __u64 *jited_linfo = NULL, *jited_ksyms = NULL; in test_get_linfo() local
5887 jited_rec_size = sizeof(*jited_linfo); in test_get_linfo()
5949 jited_linfo = calloc(jited_cnt, jited_rec_size); in test_get_linfo()
5953 if (CHECK(!jited_linfo || !jited_ksyms || !jited_func_lens, in test_get_linfo()
5955 jited_linfo, jited_ksyms, jited_func_lens)) { in test_get_linfo()
5962 info.jited_line_info = ptr_to_u64(jited_linfo); in test_get_linfo()
6035 if (CHECK(jited_linfo[0] != jited_ksyms[0], in test_get_linfo()
6037 (long)(jited_linfo[0]), (long)(jited_ksyms[0]))) { in test_get_linfo()
6047 jited_linfo[i] == jited_ksyms[ksyms_found]) { in test_get_linfo()
6054 if (CHECK(jited_linfo[i] <= jited_linfo[i - 1], in test_get_linfo()
[all …]
/kernel/linux/linux-5.10/Documentation/bpf/
Ddrgn.rst185 .jited_linfo = (void **)0xffff8893fad48600,
/kernel/linux/linux-5.10/include/linux/
Dbpf.h902 void **jited_linfo; member