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

/linux-master/lib/
H A Dtest_static_keys.c35 struct test_key { struct
38 bool (*test_key)(void); member in struct:test_key
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
[all...]
/linux-master/tools/testing/selftests/net/tcp_ao/
H A Dkey-management.c408 struct test_key { struct
427 struct test_key *keys;
454 struct test_key *key = &collection.keys[index];
513 static void test_key_error(const char *msg, struct test_key *key)
593 struct test_key *key = &collection.keys[i];
639 struct test_key *key = &collection.keys[i];
700 struct test_key *key = &collection.keys[i];
970 struct test_key *key;
/linux-master/kernel/trace/
H A Dtracing_map.c505 static inline bool keys_match(void *key, void *test_key, unsigned key_size) argument
509 if (memcmp(key, test_key, key_size))
518 u32 idx, key_hash, test_key; local
531 test_key = entry->key;
533 if (test_key && test_key == key_hash) {
562 if (!test_key) {
/linux-master/fs/crypto/
H A Dkeyring.c772 static u8 test_key[FSCRYPT_MAX_KEY_SIZE]; local
774 get_random_once(test_key, FSCRYPT_MAX_KEY_SIZE);
778 memcpy(secret->raw, test_key, FSCRYPT_MAX_KEY_SIZE);

Completed in 433 milliseconds