Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dexceptions_fail.c66 bpf_throw(0); in __exception_cb()
75 bpf_throw(0); in __exception_cb()
84 bpf_throw(0); in __exception_cb()
93 bpf_throw(0); in __exception_cb()
102 bpf_throw(0); in __exception_cb()
109 bpf_throw(0); in timer_cb()
131 bpf_throw(0); in subprog_lock()
140 bpf_throw(0); in reject_with_lock()
156 bpf_throw(0); in reject_with_rcu_read_lock()
163 bpf_throw(0); in throwing_subprog()
[all …]
H A Dexceptions_ext.c15 bpf_throw(0); in throwing_fentry()
34 bpf_throw(32); in __exception_cb()
42 bpf_throw(64); in __exception_cb()
55 bpf_throw(0); in throwing_fexit()
68 bpf_throw(0); in throwing_fmod_ret()
H A Dexceptions.c23 bpf_throw(32); in static_func()
36 bpf_throw(16); in global2static()
48 bpf_throw(64); in exception_throw_always_1()
77 bpf_throw(0); in exception_throw_default()
84 bpf_throw(5); in exception_throw_default_value()
91 bpf_throw(16); in exception_tail_call_target()
115 bpf_throw(11); in exception_ext_global()
168 bpf_throw(25); in throwing_subprog()
180 bpf_throw(0); in throwing_global_subprog()
192 bpf_throw( in exception_throw_subprog()
[all...]
H A Dverifier_private_stack.c239 bpf_throw(0); in private_stack_exception_main_prog()
245 bpf_throw(0); in subprog_exception()
/linux/tools/testing/selftests/bpf/
H A Dbpf_experimental.h49 extern void bpf_throw(u64 cookie) __ksym;
112 (void)bpf_throw; \
285 #define bpf_assert(cond) if (!(cond)) bpf_throw(0);
294 #define bpf_assert_with(cond, value) if (!(cond)) bpf_throw(value);
/linux/kernel/bpf/
H A Dhelpers.c3388 __bpf_kfunc void bpf_throw(u64 cookie) in bpf_throw() function
4854 BTF_ID_FLAGS(func, bpf_throw)
H A Dverifier.c11702 BTF_ID(func, bpf_throw) in BTF_ID()