Lines Matching defs:test_key
35 struct test_key {
38 bool (*test_key)(void);
55 static void invert_keys(struct test_key *keys, int size)
68 static int verify_keys(struct test_key *keys, int size, bool invert)
78 ret = keys[i].test_key();
114 struct test_key static_key_tests[] = {
119 .test_key = &old_true_key_static_key_true,
124 .test_key = &old_false_key_static_key_false,
130 .test_key = &true_key_static_branch_likely,
135 .test_key = &true_key_static_branch_unlikely,
140 .test_key = &false_key_static_branch_likely,
145 .test_key = &false_key_static_branch_unlikely,
151 .test_key = &base_old_true_key_static_key_true,
156 .test_key = &base_inv_old_true_key_static_key_true,
161 .test_key = &base_old_false_key_static_key_false,
166 .test_key = &base_inv_old_false_key_static_key_false,
172 .test_key = &base_true_key_static_branch_likely,
177 .test_key = &base_true_key_static_branch_unlikely,
182 .test_key = &base_inv_true_key_static_branch_likely,
187 .test_key = &base_inv_true_key_static_branch_unlikely,
192 .test_key = &base_false_key_static_branch_likely,
197 .test_key = &base_false_key_static_branch_unlikely,
202 .test_key = &base_inv_false_key_static_branch_likely,
207 .test_key = &base_inv_false_key_static_branch_unlikely,