Searched refs:bpf_assert_with (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | exceptions.c | 253 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()
|
D | exceptions_assert.c | 131 bpf_assert_with(!ctx, 64); in check_assert_with_return()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | bpf_experimental.h | 521 #define bpf_assert_with(cond, value) if (!(cond)) bpf_throw(value); macro
|