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.c57 bpf_throw(0); in __exception_cb()
66 bpf_throw(0); in __exception_cb()
75 bpf_throw(0); in __exception_cb()
84 bpf_throw(0); in __exception_cb()
91 bpf_throw(0); in timer_cb()
113 bpf_throw(0); in subprog_lock()
122 bpf_throw(0); in reject_with_lock()
138 bpf_throw(0); in reject_with_rcu_read_lock()
145 bpf_throw(0); in throwing_subprog()
159 bpf_throw(0); in rbless()
[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()
154 bpf_throw(25); in __exception_cb()
166 bpf_throw(0); in throwing_subprog()
178 bpf_throw(0); in throwing_global_subprog()
197 bpf_throw(1); in exception_throw_subprog()
H A Dverifier_private_stack.c232 bpf_throw(0); in private_stack_exception_main_prog()
238 bpf_throw(0); in subprog_exception()
/linux/tools/testing/selftests/bpf/
H A Dbpf_experimental.h196 extern void bpf_throw(u64 cookie) __ksym;
259 (void)bpf_throw; \
515 #define bpf_assert(cond) if (!(cond)) bpf_throw(0);
524 #define bpf_assert_with(cond, value) if (!(cond)) bpf_throw(value);
/linux/kernel/bpf/
H A Dhelpers.c3073 __bpf_kfunc void bpf_throw(u64 cookie) in bpf_throw() function
4428 BTF_ID_FLAGS(func, bpf_throw)
H A Dverifier.c12421 BTF_ID(func, bpf_throw) in BTF_ID()