Searched refs:bpf_assert_with (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | exceptions.c | 297 bpf_assert_with(cookie != 0, cookie + 100); in assert_nz_gfunc_with() 305 bpf_assert_with(bpf_cmp_unlikely(cookie, ==, 0), cookie + 100); in assert_zero_gfunc_with() 313 bpf_assert_with(bpf_cmp_unlikely(cookie, <, 0), cookie + 100); in assert_neg_gfunc_with() 321 bpf_assert_with(bpf_cmp_unlikely(cookie, >, 0), cookie + 100); in assert_pos_gfunc_with() 329 bpf_assert_with(bpf_cmp_unlikely(cookie, <=, -1), cookie + 100); in assert_negeq_gfunc_with() 337 bpf_assert_with(bpf_cmp_unlikely(cookie, >=, 1), cookie + 100); in assert_poseq_gfunc_with()
|
| H A D | exceptions_assert.c | 131 bpf_assert_with(!ctx, 64); in check_assert_with_return()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpf_experimental.h | 294 #define bpf_assert_with(cond, value) if (!(cond)) bpf_throw(value); macro
|