Home
last modified time | relevance | path

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

/linux/tools/sched_ext/include/scx/
H A Dcompat.bpf.h20 (bpf_ksym_exists(scx_bpf_task_cgroup) ? \
25 (bpf_ksym_exists(scx_bpf_dispatch_from_dsq_set_slice) ? \
28 (bpf_ksym_exists(scx_bpf_dispatch_from_dsq_set_vtime) ? \
31 (bpf_ksym_exists(scx_bpf_dispatch_from_dsq) ? \
34 (bpf_ksym_exists(scx_bpf_dispatch_vtime_from_dsq) ? \
/linux/tools/testing/selftests/bpf/progs/
H A Dtask_kfunc_success.c43 if (!bpf_ksym_exists(bpf_task_acquire)) { in test_acquire_release()
47 if (!bpf_ksym_exists(bpf_testmod_test_mod_kfunc)) { in test_acquire_release()
51 if (bpf_ksym_exists(invalid_kfunc)) { in test_acquire_release()
72 if (bpf_ksym_exists(bpf_task_acquire___one)) { in BPF_PROG()
74 } else if (bpf_ksym_exists(bpf_task_acquire___two)) { in BPF_PROG()
82 } else if (bpf_ksym_exists(bpf_task_acquire___three)) { in BPF_PROG()
102 if (bpf_ksym_exists(bpf_task_acquire___two)) in BPF_PROG()
104 else if (bpf_ksym_exists(bpf_task_acquire___three)) in BPF_PROG()
H A 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/tools/lib/bpf/
H A Dbpf_helpers.h190 #define bpf_ksym_exists(sym) ({ \ macro
196 #define bpf_ksym_exists(sym) ({ \ macro
202 #define bpf_ksym_exists(sym) !!sym macro