Home
last modified time | relevance | path

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

/linux-6.3-rc2/lib/
A Dtest_static_keys.c35 struct test_key { struct
38 bool (*test_key)(void); member
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()
140 .test_key = &false_key_static_branch_likely, in test_key_func()
145 .test_key = &false_key_static_branch_unlikely, in test_key_func()
[all …]
/linux-6.3-rc2/kernel/trace/
A Dtracing_map.c505 static inline bool keys_match(void *key, void *test_key, unsigned key_size) in keys_match() argument
509 if (memcmp(key, test_key, key_size)) in keys_match()
518 u32 idx, key_hash, test_key; in __tracing_map_insert() local
531 test_key = entry->key; in __tracing_map_insert()
533 if (test_key && test_key == key_hash) { in __tracing_map_insert()
562 if (!test_key) { in __tracing_map_insert()
/linux-6.3-rc2/fs/crypto/
A Dkeyring.c746 static u8 test_key[FSCRYPT_MAX_KEY_SIZE]; in fscrypt_get_test_dummy_secret() local
748 get_random_once(test_key, FSCRYPT_MAX_KEY_SIZE); in fscrypt_get_test_dummy_secret()
752 memcpy(secret->raw, test_key, FSCRYPT_MAX_KEY_SIZE); in fscrypt_get_test_dummy_secret()

Completed in 9 milliseconds