Home
last modified time | relevance | path

Searched refs:bpf_assert (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dexceptions.c205 bpf_assert(cookie != 0); in assert_nz_gfunc()
213 bpf_assert(bpf_cmp_unlikely(cookie, ==, 0)); in assert_zero_gfunc()
221 bpf_assert(bpf_cmp_unlikely(cookie, <, 0)); in assert_neg_gfunc()
229 bpf_assert(bpf_cmp_unlikely(cookie, >, 0)); in assert_pos_gfunc()
237 bpf_assert(bpf_cmp_unlikely(cookie, <=, -1)); in assert_negeq_gfunc()
245 bpf_assert(bpf_cmp_unlikely(cookie, >=, 1)); in assert_poseq_gfunc()
Dexceptions_assert.c17 bpf_assert(bpf_cmp_unlikely(num, op, value)); \
123 bpf_assert(data + 64 <= data_end); in check_assert_generic()
/linux-6.12.1/tools/testing/selftests/bpf/
Dbpf_experimental.h512 #define bpf_assert(cond) if (!(cond)) bpf_throw(0); macro