Home
last modified time | relevance | path

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

/linux-6.15/tools/sched_ext/include/scx/
H A Dcompat.bpf.h20 (bpf_ksym_exists(scx_bpf_task_cgroup) ? \
43 (bpf_ksym_exists(scx_bpf_dsq_insert) ? \
48 (bpf_ksym_exists(scx_bpf_dsq_insert_vtime) ? \
53 (bpf_ksym_exists(scx_bpf_dsq_move_to_local) ? \
58 (bpf_ksym_exists(scx_bpf_dsq_move_set_slice) ? \
72 (bpf_ksym_exists(scx_bpf_dsq_move) ? \
79 (bpf_ksym_exists(scx_bpf_dsq_move_vtime) ? \
181 (bpf_ksym_exists(scx_bpf_now) ? \
191 (bpf_ksym_exists(scx_bpf_events) ? \
201 (bpf_ksym_exists(scx_bpf_nr_node_ids) ? \
[all …]
/linux-6.15/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-6.15/tools/lib/bpf/
H A Dbpf_helpers.h191 #define bpf_ksym_exists(sym) ({ \ macro
197 #define bpf_ksym_exists(sym) ({ \ macro
203 #define bpf_ksym_exists(sym) !!sym macro