Home
last modified time | relevance | path

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

/Linux-v6.6/fs/crypto/
Dpolicy.c300 static int fscrypt_new_context(union fscrypt_context *ctx_u, in fscrypt_new_context() argument
304 memset(ctx_u, 0, sizeof(*ctx_u)); in fscrypt_new_context()
309 struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_new_context()
325 struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_new_context()
359 const union fscrypt_context *ctx_u, in fscrypt_policy_from_context() argument
364 if (!fscrypt_context_is_valid(ctx_u, ctx_size)) in fscrypt_policy_from_context()
367 switch (ctx_u->version) { in fscrypt_policy_from_context()
369 const struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_policy_from_context()
384 const struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_policy_from_context()
Dfscrypt_private.h661 const union fscrypt_context *ctx_u,