Home
last modified time | relevance | path

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

/linux-4.19.296/lib/
Dtest_static_keys.c43 struct test_key { struct
46 bool (*test_key)(void); argument
63 static void invert_keys(struct test_key *keys, int size) in invert_keys()
76 static int verify_keys(struct test_key *keys, int size, bool invert) in verify_keys()
86 ret = keys[i].test_key(); in verify_keys()
122 struct test_key static_key_tests[] = { in test_key_func()
127 .test_key = &old_true_key_static_key_true, in test_key_func()
132 .test_key = &old_false_key_static_key_false, in test_key_func()
138 .test_key = &true_key_static_branch_likely, in test_key_func()
143 .test_key = &true_key_static_branch_unlikely, in test_key_func()
[all …]