Home
last modified time | relevance | path

Searched refs:g_output (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dbpf_loop.c32 int g_output; variable
78 g_output = data.output; in test_prog()
118 g_output = data.output; in prog_nested_calls()
125 g_output = 0xF0; in callback_set_f0()
131 g_output = 0x0F; in callback_set_0f()
146 g_output = 0; in prog_non_constant_callback()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbpf_loop.c31 ASSERT_EQ(skel->bss->g_output, (500 * 499) / 2, "g_output"); in check_nr_loops()
59 ASSERT_EQ(skel->bss->g_output, (50 * 49) / 2, in check_callback_fn_stop()
117 ASSERT_EQ(skel->bss->g_output, (4 * 3) / 2 * nested_callback_nr_loops in check_nested_calls()
133 ASSERT_EQ(skel->bss->g_output, 0x0F, "g_output #1"); in check_non_constant_callback()
137 ASSERT_EQ(skel->bss->g_output, 0xF0, "g_output #2"); in check_non_constant_callback()