Home
last modified time | relevance | path

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

/lib/
Dtest_static_keys.c35 struct test_key { struct
38 bool (*test_key)(void); argument
55 static void invert_keys(struct test_key *keys, int size) in invert_keys()
68 static int verify_keys(struct test_key *keys, int size, bool invert) in verify_keys()
78 ret = keys[i].test_key(); in verify_keys()
114 struct test_key static_key_tests[] = { in test_key_func()
119 .test_key = &old_true_key_static_key_true, in test_key_func()
124 .test_key = &old_false_key_static_key_false, in test_key_func()
130 .test_key = &true_key_static_branch_likely, in test_key_func()
135 .test_key = &true_key_static_branch_unlikely, in test_key_func()
[all …]