Home
last modified time | relevance | path

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

/linux/tools/sched_ext/include/scx/
H A Dcompat.bpf.h22 (bpf_ksym_exists(scx_bpf_task_cgroup___new) ? \
45 (bpf_ksym_exists(scx_bpf_dsq_move_to_local___new) ? \
50 (bpf_ksym_exists(scx_bpf_dsq_move_set_slice___new) ? \
52 (bpf_ksym_exists(scx_bpf_dispatch_from_dsq_set_slice___old) ? \
57 (bpf_ksym_exists(scx_bpf_dsq_move_set_vtime___new) ? \
59 (bpf_ksym_exists(scx_bpf_dispatch_from_dsq_set_vtime___old) ? \
64 (bpf_ksym_exists(scx_bpf_dsq_move___new) ? \
66 (bpf_ksym_exists(scx_bpf_dispatch_from_dsq___old) ? \
71 (bpf_ksym_exists(scx_bpf_dsq_move_vtime___new) ? \
73 (bpf_ksym_exists(scx_bpf_dispatch_vtime_from_dsq___old) ? \
[all …]
/linux/tools/testing/selftests/bpf/progs/
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()
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()
/linux/tools/lib/bpf/
H A Dbpf_helpers.h199 #define bpf_ksym_exists(sym) ({ \ macro
205 #define bpf_ksym_exists(sym) ({ \ macro
211 #define bpf_ksym_exists(sym) !!sym macro
/linux/tools/testing/selftests/sched_ext/
H A Dpeek_dsq.bpf.c182 debug_ksym_exists = bpf_ksym_exists(scx_bpf_dsq_peek) ? 1 : 0; in BPF_STRUCT_OPS_SLEEPABLE()