Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dexceptions.c253 bpf_assert_with(cookie != 0, cookie + 100); in assert_nz_gfunc_with()
261 bpf_assert_with(bpf_cmp_unlikely(cookie, ==, 0), cookie + 100); in assert_zero_gfunc_with()
269 bpf_assert_with(bpf_cmp_unlikely(cookie, <, 0), cookie + 100); in assert_neg_gfunc_with()
277 bpf_assert_with(bpf_cmp_unlikely(cookie, >, 0), cookie + 100); in assert_pos_gfunc_with()
285 bpf_assert_with(bpf_cmp_unlikely(cookie, <=, -1), cookie + 100); in assert_negeq_gfunc_with()
293 bpf_assert_with(bpf_cmp_unlikely(cookie, >=, 1), cookie + 100); in assert_poseq_gfunc_with()
Dexceptions_assert.c131 bpf_assert_with(!ctx, 64); in check_assert_with_return()
/linux-6.12.1/tools/testing/selftests/bpf/
Dbpf_experimental.h521 #define bpf_assert_with(cond, value) if (!(cond)) bpf_throw(value); macro