Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dtimer.c6 static int timer(struct timer *timer_skel) in timer() argument
11 err = timer__attach(timer_skel); in timer()
18 prog_fd = bpf_program__fd(timer_skel->progs.test1); in timer()
22 timer__detach(timer_skel); in timer()
33 ASSERT_EQ(timer_skel->bss->err, 0, "err"); in timer()
36 ASSERT_EQ(timer_skel->bss->ok, 1 | 2 | 4, "ok"); in timer()
44 struct timer *timer_skel = NULL; in serial_test_timer() local
47 timer_skel = timer__open_and_load(); in serial_test_timer()
48 if (!ASSERT_OK_PTR(timer_skel, "timer_skel_load")) in serial_test_timer()
51 err = timer(timer_skel); in serial_test_timer()
[all …]
A Dtimer_mim.c13 err = timer_mim__attach(timer_skel); in timer_mim()
21 timer_mim__detach(timer_skel); in timer_mim()
24 cnt1 = READ_ONCE(timer_skel->bss->cnt); in timer_mim()
26 cnt2 = READ_ONCE(timer_skel->bss->cnt); in timer_mim()
33 ASSERT_EQ(timer_skel->bss->err, 0, "err"); in timer_mim()
42 cnt1 = READ_ONCE(timer_skel->bss->cnt); in timer_mim()
45 cnt2 = READ_ONCE(timer_skel->bss->cnt); in timer_mim()
58 struct timer_mim *timer_skel = NULL; in serial_test_timer_mim() local
67 timer_skel = timer_mim__open_and_load(); in serial_test_timer_mim()
71 err = timer_mim(timer_skel); in serial_test_timer_mim()
[all …]

Completed in 3 milliseconds