Searched refs:dummy_policy (Results 1 – 3 of 3) sorted by relevance
302 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() argument310 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() argument315 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() argument532 fscrypt_is_dummy_policy_set(const struct fscrypt_dummy_policy *dummy_policy) in fscrypt_is_dummy_policy_set() argument538 fscrypt_free_dummy_policy(struct fscrypt_dummy_policy *dummy_policy) in fscrypt_free_dummy_policy() argument
777 struct fscrypt_dummy_policy *dummy_policy) in fscrypt_parse_test_dummy_encryption() argument809 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()
456 const union fscrypt_policy *dummy_policy = in setup_file_encryption_key() local465 if (dummy_policy && in setup_file_encryption_key()466 fscrypt_policies_equal(dummy_policy, &ci->ci_policy)) { in setup_file_encryption_key()