Searched refs:nested_callback_nr_loops (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_loop.c | 102 __u32 nr_loops = 100, nested_callback_nr_loops = 4; in check_nested_calls() local 111 skel->bss->nested_callback_nr_loops = nested_callback_nr_loops; in check_nested_calls() 115 ASSERT_EQ(skel->bss->nr_loops_returned, nr_loops * nested_callback_nr_loops in check_nested_calls() 116 * nested_callback_nr_loops, "nr_loops_returned"); in check_nested_calls() 117 ASSERT_EQ(skel->bss->g_output, (4 * 3) / 2 * nested_callback_nr_loops in check_nested_calls()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_loop.c | 22 u32 nested_callback_nr_loops; variable 54 nr_loops_returned += bpf_loop(nested_callback_nr_loops, callback, data, 0); in nested_callback2() 61 bpf_loop(nested_callback_nr_loops, nested_callback2, data, 0); in nested_callback1()
|