Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A 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()
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()
207 if (addr < *jited_linfo) in bpf_prog_linfo__lfind_addr_func()
[all …]
/linux/kernel/bpf/
H A Dcore.c172 prog->aux->jited_linfo = kvcalloc(prog->aux->nr_linfo, in bpf_prog_alloc_jited_linfo()
173 sizeof(*prog->aux->jited_linfo), in bpf_prog_alloc_jited_linfo()
175 if (!prog->aux->jited_linfo) in bpf_prog_alloc_jited_linfo()
183 if (prog->aux->jited_linfo && in bpf_prog_jit_attempt_done()
184 (!prog->jited || !prog->aux->jited_linfo[0])) { in bpf_prog_jit_attempt_done()
185 kvfree(prog->aux->jited_linfo); in bpf_prog_jit_attempt_done()
186 prog->aux->jited_linfo = NULL; in bpf_prog_jit_attempt_done()
222 void **jited_linfo; in bpf_prog_fill_jited_linfo() local
233 jited_linfo = &prog->aux->jited_linfo[linfo_idx]; in bpf_prog_fill_jited_linfo()
234 jited_linfo[0] = prog->bpf_func; in bpf_prog_fill_jited_linfo()
[all …]
H A Dsyscall.c2208 kvfree(prog->aux->jited_linfo); in __bpf_prog_put_noref()
4772 if (prog->aux->jited_linfo) in bpf_prog_get_info_by_fd()
4785 line_addr = (unsigned long)prog->aux->jited_linfo[i]; in bpf_prog_get_info_by_fd()
H A Dverifier.c20050 func[i]->aux->jited_linfo = prog->aux->jited_linfo; in jit_subprogs()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c6609 __u64 *jited_linfo = NULL, *jited_ksyms = NULL; in test_get_linfo() local
6621 jited_rec_size = sizeof(*jited_linfo); in test_get_linfo()
6683 jited_linfo = calloc(jited_cnt, jited_rec_size); in test_get_linfo()
6689 jited_linfo, jited_ksyms, jited_func_lens)) { in test_get_linfo()
6696 info.jited_line_info = ptr_to_u64(jited_linfo); in test_get_linfo()
6769 if (CHECK(jited_linfo[0] != jited_ksyms[0], in test_get_linfo()
6781 jited_linfo[i] == jited_ksyms[ksyms_found]) { in test_get_linfo()
6788 if (CHECK(jited_linfo[i] <= jited_linfo[i - 1], in test_get_linfo()
6790 i, (long)jited_linfo[i], in test_get_linfo()
6791 i - 1, (long)(jited_linfo[i - 1]))) { in test_get_linfo()
[all …]
/linux/Documentation/bpf/
H A Ddrgn.rst185 .jited_linfo = (void **)0xffff8893fad48600,
/linux/include/linux/
H A Dbpf.h1543 void **jited_linfo; member