Searched refs:bpf_throw (Results 1 - 6 of 6) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dexceptions_ext.c15 bpf_throw(0);
34 bpf_throw(32);
42 bpf_throw(64);
55 bpf_throw(0);
68 bpf_throw(0);
H A Dexceptions_fail.c57 bpf_throw(0);
66 bpf_throw(0);
75 bpf_throw(0);
84 bpf_throw(0);
91 bpf_throw(0);
113 bpf_throw(0);
122 bpf_throw(0);
138 bpf_throw(0);
145 bpf_throw(0);
159 bpf_throw(
[all...]
H A Dexceptions.c23 bpf_throw(32);
36 bpf_throw(16);
48 bpf_throw(64);
77 bpf_throw(0);
84 bpf_throw(5);
91 bpf_throw(16);
154 bpf_throw(25);
166 bpf_throw(0);
178 bpf_throw(0);
197 bpf_throw(
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_experimental.h196 extern void bpf_throw(u64 cookie) __ksym;
233 (void)bpf_throw; \
234 asm volatile ("if %[lhs] " op " %[rhs] goto +2; r1 = %[value]; call bpf_throw" \
396 #define bpf_assert(cond) if (!(cond)) bpf_throw(0);
405 #define bpf_assert_with(cond, value) if (!(cond)) bpf_throw(value);
/linux-master/kernel/bpf/
H A Dhelpers.c2529 __bpf_kfunc void bpf_throw(u64 cookie) function
2540 * deeper stack depths than ctx.sp as we do not return from bpf_throw,
2578 BTF_ID_FLAGS(func, bpf_throw)
H A Dverifier.c1424 * necessary in case of exceptional exits using bpf_throw.
2994 * or unconditional jump back or bpf_throw call
5929 "bpf_throw kfunc (insn %d) cannot be called from callback subprog %d\n",
9921 * bpf_throw, this will be done by copy_verifier_state for extra frames. */
11010 BTF_ID(func, bpf_throw)
11038 BTF_ID(func, bpf_throw)
12225 * to bpf_throw becomes the return value of the program.

Completed in 309 milliseconds