Searched refs:bpf_throw (Results 1 - 6 of 6) sorted by last modified time

/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" \
458 #define bpf_assert(cond) if (!(cond)) bpf_throw(0);
467 #define bpf_assert_with(cond, value) if (!(cond)) bpf_throw(value);
/linux-master/kernel/bpf/
H A Dverifier.c1429 * necessary in case of exceptional exits using bpf_throw.
3006 * or unconditional jump back or bpf_throw call
5944 "bpf_throw kfunc (insn %d) cannot be called from callback subprog %d\n",
9977 * bpf_throw, this will be done by copy_verifier_state for extra frames. */
11089 BTF_ID(func, bpf_throw)
11118 BTF_ID(func, bpf_throw)
12410 * to bpf_throw becomes the return value of the program.
H A Dhelpers.c2673 __bpf_kfunc void bpf_throw(u64 cookie) function
2684 * deeper stack depths than ctx.sp as we do not return from bpf_throw,
2777 BTF_ID_FLAGS(func, bpf_throw)
/linux-master/tools/testing/selftests/bpf/progs/
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...]
H A Dexceptions_ext.c15 bpf_throw(0);
34 bpf_throw(32);
42 bpf_throw(64);
55 bpf_throw(0);
68 bpf_throw(0);

Completed in 245 milliseconds