Searched refs:nr_loops_returned (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | bpf_loop.c | 31 int nr_loops_returned; variable 54 nr_loops_returned += bpf_loop(nested_callback_nr_loops, callback, data, 0); in nested_callback2() 73 nr_loops_returned = bpf_loop(nr_loops, callback, &data, 0); in test_prog() 75 if (nr_loops_returned < 0) in test_prog() 76 err = nr_loops_returned; in test_prog() 89 nr_loops_returned = bpf_loop(nr_loops, empty_callback, NULL, 0); in prog_null_ctx() 115 nr_loops_returned = 0; in prog_nested_calls()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_loop.c | 21 ASSERT_EQ(skel->bss->nr_loops_returned, skel->bss->nr_loops, in check_nr_loops() 29 ASSERT_EQ(skel->bss->nr_loops_returned, skel->bss->nr_loops, in check_nr_loops() 57 ASSERT_EQ(skel->bss->nr_loops_returned, skel->data->stop_index + 1, in check_callback_fn_stop() 78 ASSERT_EQ(skel->bss->nr_loops_returned, skel->bss->nr_loops, in check_null_callback_ctx() 115 ASSERT_EQ(skel->bss->nr_loops_returned, nr_loops * nested_callback_nr_loops in check_nested_calls()
|