Home
last modified time | relevance | path

Searched refs:ctx_u (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/fs/crypto/
Dpolicy.c107 static int fscrypt_new_context_from_policy(union fscrypt_context *ctx_u, in fscrypt_new_context_from_policy() argument
110 memset(ctx_u, 0, sizeof(*ctx_u)); in fscrypt_new_context_from_policy()
115 struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_new_context_from_policy()
131 struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_new_context_from_policy()
161 const union fscrypt_context *ctx_u, in fscrypt_policy_from_context() argument
166 if (ctx_size <= 0 || ctx_size != fscrypt_context_size(ctx_u)) in fscrypt_policy_from_context()
169 switch (ctx_u->version) { in fscrypt_policy_from_context()
171 const struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_policy_from_context()
186 const struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_policy_from_context()
Dfscrypt_private.h479 const union fscrypt_context *ctx_u,