Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
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/
A Dcore.c150 sizeof(*prog->aux->jited_linfo), in bpf_prog_alloc_jited_linfo()
152 if (!prog->aux->jited_linfo) in bpf_prog_alloc_jited_linfo()
160 if (prog->aux->jited_linfo && in bpf_prog_jit_attempt_done()
161 (!prog->jited || !prog->aux->jited_linfo[0])) { in bpf_prog_jit_attempt_done()
162 kvfree(prog->aux->jited_linfo); in bpf_prog_jit_attempt_done()
163 prog->aux->jited_linfo = NULL; in bpf_prog_jit_attempt_done()
199 void **jited_linfo; in bpf_prog_fill_jited_linfo() local
201 if (!prog->aux->jited_linfo) in bpf_prog_fill_jited_linfo()
210 jited_linfo = &prog->aux->jited_linfo[linfo_idx]; in bpf_prog_fill_jited_linfo()
211 jited_linfo[0] = prog->bpf_func; in bpf_prog_fill_jited_linfo()
[all …]
A Dsyscall.c1782 kvfree(prog->aux->jited_linfo); in __bpf_prog_put_noref()
3845 if (prog->aux->jited_linfo) in bpf_prog_get_info_by_fd()
3857 if (put_user((__u64)(long)prog->aux->jited_linfo[i], in bpf_prog_get_info_by_fd()
A Dverifier.c12677 func[i]->aux->jited_linfo = prog->aux->jited_linfo; in jit_subprogs()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dbtf.c6309 __u64 *jited_linfo = NULL, *jited_ksyms = NULL; in test_get_linfo() local
6321 jited_rec_size = sizeof(*jited_linfo); in test_get_linfo()
6383 jited_linfo = calloc(jited_cnt, jited_rec_size); in test_get_linfo()
6389 jited_linfo, jited_ksyms, jited_func_lens)) { in test_get_linfo()
6396 info.jited_line_info = ptr_to_u64(jited_linfo); in test_get_linfo()
6469 if (CHECK(jited_linfo[0] != jited_ksyms[0], in test_get_linfo()
6481 jited_linfo[i] == jited_ksyms[ksyms_found]) { in test_get_linfo()
6488 if (CHECK(jited_linfo[i] <= jited_linfo[i - 1], in test_get_linfo()
6490 i, (long)jited_linfo[i], in test_get_linfo()
6491 i - 1, (long)(jited_linfo[i - 1]))) { in test_get_linfo()
[all …]
/linux/Documentation/bpf/
A Ddrgn.rst185 .jited_linfo = (void **)0xffff8893fad48600,
/linux/include/linux/
A Dbpf.h922 void **jited_linfo; member

Completed in 50 milliseconds