Lines Matching refs:fscrypt_policy
27 bool fscrypt_policies_equal(const union fscrypt_policy *policy1, in fscrypt_policies_equal()
28 const union fscrypt_policy *policy2) in fscrypt_policies_equal()
36 int fscrypt_policy_to_key_spec(const union fscrypt_policy *policy, in fscrypt_policy_to_key_spec()
56 const union fscrypt_policy *fscrypt_get_dummy_policy(struct super_block *sb) in fscrypt_get_dummy_policy()
302 bool fscrypt_supported_policy(const union fscrypt_policy *policy_u, in fscrypt_supported_policy()
326 const union fscrypt_policy *policy_u, in fscrypt_new_context()
384 int fscrypt_policy_from_context(union fscrypt_policy *policy_u, in fscrypt_policy_from_context()
433 static int fscrypt_get_policy(struct inode *inode, union fscrypt_policy *policy) in fscrypt_get_policy()
457 const union fscrypt_policy *policy) in set_encryption_policy()
505 union fscrypt_policy policy; in fscrypt_ioctl_set_policy()
506 union fscrypt_policy existing_policy; in fscrypt_ioctl_set_policy()
571 union fscrypt_policy policy; in fscrypt_ioctl_get_policy()
591 union fscrypt_policy *policy = (union fscrypt_policy *)&arg.policy; in fscrypt_ioctl_get_policy_ex()
659 union fscrypt_policy parent_policy, child_policy; in fscrypt_has_permitted_context()
720 const union fscrypt_policy *fscrypt_policy_to_inherit(struct inode *dir) in fscrypt_policy_to_inherit()
807 union fscrypt_policy *policy; in fscrypt_parse_test_dummy_encryption()
882 const union fscrypt_policy *policy = fscrypt_get_dummy_policy(sb); in fscrypt_show_test_dummy_encryption()