Home
last modified time | relevance | path

Searched refs:fexit_skel (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dfexit_test.c6 static int fexit_test(struct fexit_test_lskel *fexit_skel) in fexit_test() argument
13 err = fexit_test_lskel__attach(fexit_skel); in fexit_test()
22 prog_fd = fexit_skel->progs.test1.prog_fd; in fexit_test()
27 result = (__u64 *)fexit_skel->bss; in fexit_test()
33 fexit_test_lskel__detach(fexit_skel); in fexit_test()
36 memset(fexit_skel->bss, 0, sizeof(*fexit_skel->bss)); in fexit_test()
42 struct fexit_test_lskel *fexit_skel = NULL; in test_fexit_test() local
45 fexit_skel = fexit_test_lskel__open_and_load(); in test_fexit_test()
49 err = fexit_test(fexit_skel); in test_fexit_test()
53 err = fexit_test(fexit_skel); in test_fexit_test()
[all …]
A Dfexit_sleep.c13 struct fexit_sleep_lskel *fexit_skel = skel; in do_sleep() local
17 fexit_skel->bss->pid = getpid(); in do_sleep()
28 struct fexit_sleep_lskel *fexit_skel = NULL; in test_fexit_sleep() local
33 fexit_skel = fexit_sleep_lskel__open_and_load(); in test_fexit_sleep()
37 err = fexit_sleep_lskel__attach(fexit_skel); in test_fexit_sleep()
47 fexit_cnt = READ_ONCE(fexit_skel->bss->fexit_cnt); in test_fexit_sleep()
61 close(fexit_skel->progs.nanosleep_fentry.prog_fd); in test_fexit_sleep()
62 close(fexit_skel->progs.nanosleep_fexit.prog_fd); in test_fexit_sleep()
63 fexit_sleep_lskel__detach(fexit_skel); in test_fexit_sleep()
76 fexit_cnt = READ_ONCE(fexit_skel->bss->fexit_cnt); in test_fexit_sleep()
[all …]
A Dfentry_fexit.c10 struct fexit_test_lskel *fexit_skel = NULL; in test_fentry_fexit() local
18 fexit_skel = fexit_test_lskel__open_and_load(); in test_fentry_fexit()
19 if (!ASSERT_OK_PTR(fexit_skel, "fexit_skel_load")) in test_fentry_fexit()
25 err = fexit_test_lskel__attach(fexit_skel); in test_fentry_fexit()
29 prog_fd = fexit_skel->progs.test1.prog_fd; in test_fentry_fexit()
35 fexit_res = (__u64 *)fexit_skel->bss; in test_fentry_fexit()
44 fexit_test_lskel__destroy(fexit_skel); in test_fentry_fexit()

Completed in 5 milliseconds