Lines Matching refs:key
37 struct static_key *key; member
41 #define test_key_func(key, branch) \ argument
42 static bool key ## _ ## branch(void) \
44 return branch(&key); \
47 static void invert_key(struct static_key *key) in invert_key() argument
49 if (static_key_enabled(key)) in invert_key()
50 static_key_disable(key); in invert_key()
52 static_key_enable(key); in invert_key()
61 if (previous != keys[i].key) { in invert_keys()
62 invert_key(keys[i].key); in invert_keys()
63 previous = keys[i].key; in invert_keys()
74 ret = static_key_enabled(keys[i].key); in verify_keys()
79 if (static_key_enabled(keys[i].key)) { in verify_keys()
118 .key = &old_true_key, in test_key_func()
123 .key = &old_false_key, in test_key_func()
129 .key = &true_key.key, in test_key_func()
134 .key = &true_key.key, in test_key_func()
139 .key = &false_key.key, in test_key_func()
144 .key = &false_key.key, in test_key_func()
150 .key = &base_old_true_key, in test_key_func()
155 .key = &base_inv_old_true_key, in test_key_func()
160 .key = &base_old_false_key, in test_key_func()
165 .key = &base_inv_old_false_key, in test_key_func()
171 .key = &base_true_key.key, in test_key_func()
176 .key = &base_true_key.key, in test_key_func()
181 .key = &base_inv_true_key.key, in test_key_func()
186 .key = &base_inv_true_key.key, in test_key_func()
191 .key = &base_false_key.key, in test_key_func()
196 .key = &base_false_key.key, in test_key_func()
201 .key = &base_inv_false_key.key, in test_key_func()
206 .key = &base_inv_false_key.key, in test_key_func()