Home
last modified time | relevance | path

Searched refs:bpf_ksym_exists (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtask_kfunc_success.c42 if (!bpf_ksym_exists(bpf_task_acquire)) { in test_acquire_release()
46 if (!bpf_ksym_exists(bpf_testmod_test_mod_kfunc)) { in test_acquire_release()
50 if (bpf_ksym_exists(invalid_kfunc)) { in test_acquire_release()
71 if (bpf_ksym_exists(bpf_task_acquire___one)) { in BPF_PROG()
73 } else if (bpf_ksym_exists(bpf_task_acquire___two)) { in BPF_PROG()
81 } else if (bpf_ksym_exists(bpf_task_acquire___three)) { in BPF_PROG()
101 if (bpf_ksym_exists(bpf_task_acquire___two)) in BPF_PROG()
103 else if (bpf_ksym_exists(bpf_task_acquire___three)) in BPF_PROG()
Dtest_ksyms_weak.c43 if (rq && bpf_ksym_exists(&runqueues)) in pass_handler()
56 if (!bpf_ksym_exists(bpf_task_acquire)) in pass_handler()
60 if (!bpf_ksym_exists(bpf_testmod_test_mod_kfunc)) in pass_handler()
64 if (bpf_ksym_exists(invalid_kfunc)) in pass_handler()
/linux-6.6.21/tools/lib/bpf/
Dbpf_helpers.h185 #define bpf_ksym_exists(sym) ({ \ macro