Lines Matching refs:version
26 if (policy1->version != policy2->version) in fscrypt_policies_equal()
79 switch (policy_u->version) { in fscrypt_supported_policy()
151 switch (policy_u->version) { in fscrypt_new_context_from_policy()
156 ctx->version = FSCRYPT_CONTEXT_V1; in fscrypt_new_context_from_policy()
172 ctx->version = FSCRYPT_CONTEXT_V2; in fscrypt_new_context_from_policy()
208 switch (ctx_u->version) { in fscrypt_policy_from_context()
213 policy->version = FSCRYPT_POLICY_V1; in fscrypt_policy_from_context()
228 policy->version = FSCRYPT_POLICY_V2; in fscrypt_policy_from_context()
280 switch (policy->version) { in set_encryption_policy()
317 u8 version; in fscrypt_ioctl_set_policy() local
321 if (get_user(policy.version, (const u8 __user *)arg)) in fscrypt_ioctl_set_policy()
339 version = policy.version; in fscrypt_ioctl_set_policy()
342 policy.version = version; in fscrypt_ioctl_set_policy()
387 if (policy.version != FSCRYPT_POLICY_V1) in fscrypt_ioctl_get_policy()