Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dfscrypt.h302 struct fscrypt_dummy_policy *dummy_policy);
308 fscrypt_is_dummy_policy_set(const struct fscrypt_dummy_policy *dummy_policy) in fscrypt_is_dummy_policy_set() argument
310 return dummy_policy->policy != NULL; in fscrypt_is_dummy_policy_set()
313 fscrypt_free_dummy_policy(struct fscrypt_dummy_policy *dummy_policy) in fscrypt_free_dummy_policy() argument
315 kfree(dummy_policy->policy); in fscrypt_free_dummy_policy()
316 dummy_policy->policy = NULL; in fscrypt_free_dummy_policy()
513 struct fscrypt_dummy_policy *dummy_policy) in fscrypt_parse_test_dummy_encryption() argument
532 fscrypt_is_dummy_policy_set(const struct fscrypt_dummy_policy *dummy_policy) in fscrypt_is_dummy_policy_set() argument
538 fscrypt_free_dummy_policy(struct fscrypt_dummy_policy *dummy_policy) in fscrypt_free_dummy_policy() argument
/Linux-v6.6/fs/crypto/
Dpolicy.c777 struct fscrypt_dummy_policy *dummy_policy) in fscrypt_parse_test_dummy_encryption() argument
809 if (dummy_policy->policy) { in fscrypt_parse_test_dummy_encryption()
810 if (fscrypt_policies_equal(policy, dummy_policy->policy)) in fscrypt_parse_test_dummy_encryption()
816 dummy_policy->policy = policy; in fscrypt_parse_test_dummy_encryption()
Dkeysetup.c456 const union fscrypt_policy *dummy_policy = in setup_file_encryption_key() local
465 if (dummy_policy && in setup_file_encryption_key()
466 fscrypt_policies_equal(dummy_policy, &ci->ci_policy)) { in setup_file_encryption_key()