Home
last modified time | relevance | path

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

/fs/crypto/
Dpolicy.c146 static int fscrypt_new_context_from_policy(union fscrypt_context *ctx_u, in fscrypt_new_context_from_policy() argument
149 memset(ctx_u, 0, sizeof(*ctx_u)); in fscrypt_new_context_from_policy()
154 struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_new_context_from_policy()
170 struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_new_context_from_policy()
200 const union fscrypt_context *ctx_u, in fscrypt_policy_from_context() argument
205 if (ctx_size <= 0 || ctx_size != fscrypt_context_size(ctx_u)) in fscrypt_policy_from_context()
208 switch (ctx_u->version) { in fscrypt_policy_from_context()
210 const struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_policy_from_context()
225 const struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_policy_from_context()
Dfscrypt_private.h602 const union fscrypt_context *ctx_u,